Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1203)

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/crypto/CipherFactoryTest.java

Issue 2728633003: (Android) Using TestCase instead of deprecated InstrumentationTestCase (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/android/javatests/src/org/chromium/content/browser/crypto/CipherFactoryTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/crypto/CipherFactoryTest.java b/content/public/android/javatests/src/org/chromium/content/browser/crypto/CipherFactoryTest.java
index e379e0d79f9c4896e241b65cf4c647504eef253b..98d643774169c49dc128bdb98ef6916bca9e868b 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/crypto/CipherFactoryTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/crypto/CipherFactoryTest.java
@@ -6,7 +6,8 @@ package org.chromium.content.browser.crypto;
import android.os.Bundle;
import android.support.test.filters.MediumTest;
-import android.test.InstrumentationTestCase;
+
+import junit.framework.TestCase;
import org.chromium.base.ThreadUtils;
import org.chromium.content.browser.crypto.CipherFactory.CipherDataObserver;
@@ -24,7 +25,7 @@ import javax.crypto.Cipher;
* Tests that confirm that the class is thread-safe would require putting potentially flaky hooks
* throughout the class to simulate artificial blockages.
*/
-public class CipherFactoryTest extends InstrumentationTestCase {
+public class CipherFactoryTest extends TestCase {
private static final byte[] INPUT_DATA = {1, 16, 84};
/** Generates non-random byte[] for testing. */

Powered by Google App Engine
This is Rietveld 408576698