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

Side by Side Diff: android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java

Issue 2583933003: Replace deprecated Android java test annotations (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.android_webview.test; 5 package org.chromium.android_webview.test;
6 6
7 import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; 7 import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout;
8 8
9 import android.content.Context; 9 import android.content.Context;
10 import android.graphics.Point; 10 import android.graphics.Point;
11 import android.net.http.SslError; 11 import android.net.http.SslError;
12 import android.os.Build; 12 import android.os.Build;
13 import android.os.SystemClock; 13 import android.os.SystemClock;
14 import android.test.suitebuilder.annotation.LargeTest; 14 import android.support.test.filters.LargeTest;
15 import android.test.suitebuilder.annotation.MediumTest; 15 import android.support.test.filters.MediumTest;
16 import android.test.suitebuilder.annotation.SmallTest; 16 import android.support.test.filters.SmallTest;
17 import android.view.WindowManager; 17 import android.view.WindowManager;
18 import android.webkit.JavascriptInterface; 18 import android.webkit.JavascriptInterface;
19 import android.webkit.ValueCallback; 19 import android.webkit.ValueCallback;
20 import android.webkit.WebSettings; 20 import android.webkit.WebSettings;
21 import android.webkit.WebSettings.LayoutAlgorithm; 21 import android.webkit.WebSettings.LayoutAlgorithm;
22 22
23 import org.apache.http.Header; 23 import org.apache.http.Header;
24 import org.apache.http.HttpRequest; 24 import org.apache.http.HttpRequest;
25 25
26 import org.chromium.android_webview.AwContents; 26 import org.chromium.android_webview.AwContents;
(...skipping 3066 matching lines...) Expand 10 before | Expand all | Expand 10 after
3093 final AwContents awContents = webView.getAwContents(); 3093 final AwContents awContents = webView.getAwContents();
3094 runTestOnUiThread(new Runnable() { 3094 runTestOnUiThread(new Runnable() {
3095 @Override 3095 @Override
3096 public void run() { 3096 public void run() {
3097 awContents.getContentViewCore().sendDoubleTapForTest( 3097 awContents.getContentViewCore().sendDoubleTapForTest(
3098 SystemClock.uptimeMillis(), x, y); 3098 SystemClock.uptimeMillis(), x, y);
3099 } 3099 }
3100 }); 3100 });
3101 } 3101 }
3102 } 3102 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698