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

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

Issue 2583933003: Replace deprecated Android java test annotations (Closed)
Patch Set: Rebase again 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 android.os.StrictMode; 7 import android.os.StrictMode;
8 import android.test.suitebuilder.annotation.LargeTest; 8 import android.support.test.filters.LargeTest;
9 9
10 import org.chromium.android_webview.AwBrowserProcess; 10 import org.chromium.android_webview.AwBrowserProcess;
11 import org.chromium.base.test.util.Feature; 11 import org.chromium.base.test.util.Feature;
12 12
13 /** 13 /**
14 * Tests ensuring that starting up WebView does not cause any diskRead StrictMod e violations. 14 * Tests ensuring that starting up WebView does not cause any diskRead StrictMod e violations.
15 */ 15 */
16 public class AwStrictModeTest extends AwTestBase { 16 public class AwStrictModeTest extends AwTestBase {
17 private TestAwContentsClient mContentsClient; 17 private TestAwContentsClient mContentsClient;
18 private AwTestContainerView mAwTestContainerView; 18 private AwTestContainerView mAwTestContainerView;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 getInstrumentation().runOnMainSync(new Runnable() { 102 getInstrumentation().runOnMainSync(new Runnable() {
103 @Override 103 @Override
104 public void run() { 104 public void run() {
105 createAwBrowserContext(); 105 createAwBrowserContext();
106 AwBrowserProcess.start(); 106 AwBrowserProcess.start();
107 mAwTestContainerView = createAwTestContainerView(mContentsClient ); 107 mAwTestContainerView = createAwTestContainerView(mContentsClient );
108 } 108 }
109 }); 109 });
110 } 110 }
111 } 111 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698