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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/history/HistoryAdapterTest.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: chrome/android/javatests/src/org/chromium/chrome/browser/history/HistoryAdapterTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/history/HistoryAdapterTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/history/HistoryAdapterTest.java
index 0040d6b5f864695009ff27caf0164f974f4569fc..a0a0290c38c59b712147eb73818c1c2a0eabf601 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/history/HistoryAdapterTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/history/HistoryAdapterTest.java
@@ -9,7 +9,8 @@ import static org.chromium.chrome.browser.widget.DateDividedAdapter.TYPE_HEADER;
import static org.chromium.chrome.browser.widget.DateDividedAdapter.TYPE_NORMAL;
import android.support.test.filters.SmallTest;
-import android.test.InstrumentationTestCase;
+
+import junit.framework.TestCase;
import org.chromium.base.ContextUtils;
import org.chromium.base.ThreadUtils;
@@ -22,7 +23,7 @@ import java.util.concurrent.TimeUnit;
/**
* Tests for the {@link HistoryAdapter}.
*/
-public class HistoryAdapterTest extends InstrumentationTestCase {
+public class HistoryAdapterTest extends TestCase {
private StubbedHistoryProvider mHistoryProvider;
private HistoryAdapter mAdapter;

Powered by Google App Engine
This is Rietveld 408576698