commit | 69c73541a761faceb8696ae40b686984c6d2f681 | [log] [tgz] |
---|---|---|
author | Yoland Yan <yolandyan@google.com> | Mon Oct 03 09:43:41 2016 -0700 |
committer | Yoland Yan <yolandyan@google.com> | Wed Nov 16 22:31:31 2016 +0000 |
tree | 0009fc732eb493b089a8f681995b93ba9d9a99bc | |
parent | 9f7059f0f8d93b003cf195886b57b61cc185d421 [diff] |
Test: Fix testFindAll result listener not set issue Change-Id: Ic3691ffee33acf35dd4cae1c4fc046f9ab44959d (cherry picked from commit 45392e22193e43621697e0f0cc2e3fa69142c524)
diff --git a/tests/tests/webkit/src/android/webkit/cts/WebViewTest.java b/tests/tests/webkit/src/android/webkit/cts/WebViewTest.java index 1984698..c3fdb49 100755 --- a/tests/tests/webkit/src/android/webkit/cts/WebViewTest.java +++ b/tests/tests/webkit/src/android/webkit/cts/WebViewTest.java
@@ -1456,6 +1456,7 @@ + "</body></html>", "text/html", null); WaitForFindResultsListener l = new WaitForFindResultsListener(mOnUiThread, "find", 2, true); + mOnUiThread.setFindListener(l); mOnUiThread.findAll("find"); assertEquals(2, l.get(MIN_FIND_WAIT_MS, TimeUnit.MILLISECONDS).intValue()); }