| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |