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

Side by Side Diff: android_webview/javatests/src/org/chromium/android_webview/test/AwContentsStaticsTest.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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.test.suitebuilder.annotation.SmallTest; 7 import android.support.test.filters.SmallTest;
8 8
9 import org.chromium.android_webview.AwContentsStatics; 9 import org.chromium.android_webview.AwContentsStatics;
10 import org.chromium.base.test.util.CallbackHelper; 10 import org.chromium.base.test.util.CallbackHelper;
11 import org.chromium.base.test.util.Feature; 11 import org.chromium.base.test.util.Feature;
12 12
13 /** 13 /**
14 * AwContentsStatics tests. 14 * AwContentsStatics tests.
15 */ 15 */
16 public class AwContentsStaticsTest extends AwTestBase { 16 public class AwContentsStaticsTest extends AwTestBase {
17 17
(...skipping 15 matching lines...) Expand all
33 public void run() { 33 public void run() {
34 // Make sure calling clearClientCertPreferences with null callba ck does not 34 // Make sure calling clearClientCertPreferences with null callba ck does not
35 // cause a crash. 35 // cause a crash.
36 AwContentsStatics.clearClientCertPreferences(null); 36 AwContentsStatics.clearClientCertPreferences(null);
37 AwContentsStatics.clearClientCertPreferences(callbackHelper); 37 AwContentsStatics.clearClientCertPreferences(callbackHelper);
38 } 38 }
39 }); 39 });
40 callbackHelper.waitForCallback(currentCallCount); 40 callbackHelper.waitForCallback(currentCallCount);
41 } 41 }
42 } 42 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698