AW: write helper method for waitForNextQueueElement
No change to production logic. This changes some test timeouts for consistency (but increases them, so this should not be a problem). This moves waitForNextQueueElement() into a static AwActivityTestRule helper method. The motivation is just to reduce repeated code. This also fixes some references to TimeUnit (we should prefer imports, rather than fully qualifying the name). Bug: 1013467 Test: run_webview_instrumentation_test_apk -f PostMessageTest.* Test: run_webview_instrumentation_test_apk -f JsJavaInteractionTest.* Change-Id: Iee197d1fefb07d2764c3910c16073547b2509bad Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1855200Reviewed-by:Changwan Ryu <changwan@chromium.org> Commit-Queue: Nate Fischer <ntfschr@chromium.org> Cr-Commit-Position: refs/heads/master@{#704946}
Showing
Please register or sign in to comment