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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/AwFormDatabaseTest.java

Issue 2817923003: aw: Add allow wait for form database (Closed)
Patch Set: Created 3 years, 8 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 | « android_webview/browser/aw_form_database_service.cc ('k') | android_webview/test/BUILD.gn » ('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/AwFormDatabaseTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwFormDatabaseTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwFormDatabaseTest.java
new file mode 100644
index 0000000000000000000000000000000000000000..6a86f2fb14d25cb240c7caa0a2b4e3f2791cc495
--- /dev/null
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwFormDatabaseTest.java
@@ -0,0 +1,23 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.android_webview.test;
+
+import android.support.test.filters.SmallTest;
+
+import org.chromium.android_webview.AwFormDatabase;
+
+/** AwFormDatabaseTest. */
+public class AwFormDatabaseTest extends AwTestBase {
+ @SmallTest
+ public void testSmoke() throws Throwable {
+ runTestOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ AwFormDatabase.clearFormData();
+ assertFalse(AwFormDatabase.hasFormData());
+ }
+ });
+ }
+}
« no previous file with comments | « android_webview/browser/aw_form_database_service.cc ('k') | android_webview/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698