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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/AwLayoutSizerTest.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
« no previous file with comments | « no previous file | android_webview/javatests/src/org/chromium/android_webview/test/AwScrollOffsetManagerTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/javatests/src/org/chromium/android_webview/test/AwLayoutSizerTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwLayoutSizerTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwLayoutSizerTest.java
index 463433a07d430b416806cc4e5f383042cf9a31d0..af4e08378b3e6c551eed2044ddb8cd65fd91ad2b 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwLayoutSizerTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwLayoutSizerTest.java
@@ -5,17 +5,18 @@
package org.chromium.android_webview.test;
import android.support.test.filters.SmallTest;
-import android.test.InstrumentationTestCase;
import android.view.View;
import android.view.View.MeasureSpec;
+import junit.framework.TestCase;
+
import org.chromium.android_webview.AwLayoutSizer;
import org.chromium.base.test.util.Feature;
/**
* Unittests for the AwLayoutSizer class.
*/
-public class AwLayoutSizerTest extends InstrumentationTestCase {
+public class AwLayoutSizerTest extends TestCase {
static class LayoutSizerDelegate implements AwLayoutSizer.Delegate {
public int requestLayoutCallCount;
public boolean setMeasuredDimensionCalled;
« no previous file with comments | « no previous file | android_webview/javatests/src/org/chromium/android_webview/test/AwScrollOffsetManagerTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698