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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/CleanupReferenceTest.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: android_webview/javatests/src/org/chromium/android_webview/test/CleanupReferenceTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/CleanupReferenceTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/CleanupReferenceTest.java
index 85353b9e79dc8f897a5b38e45589fc0856bfc025..898eb5aa6c64c848ccdd8e28ceccf5d27c859bdf 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/CleanupReferenceTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/CleanupReferenceTest.java
@@ -5,7 +5,8 @@
package org.chromium.android_webview.test;
import android.support.test.filters.SmallTest;
-import android.test.InstrumentationTestCase;
+
+import junit.framework.TestCase;
import org.chromium.android_webview.CleanupReference;
import org.chromium.base.annotations.SuppressFBWarnings;
@@ -17,8 +18,7 @@ import java.util.concurrent.Callable;
import java.util.concurrent.atomic.AtomicInteger;
/** Test suite for {@link CleanupReference}. */
-public class CleanupReferenceTest extends InstrumentationTestCase {
-
+public class CleanupReferenceTest extends TestCase {
private static AtomicInteger sObjectCount = new AtomicInteger();
private static class ReferredObject {

Powered by Google App Engine
This is Rietveld 408576698