diff options
-rw-r--r-- | android_webview/javatests/src/org/chromium/android_webview/test/ContentViewMiscTest.java | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/ContentViewMiscTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/ContentViewMiscTest.java index 5db8501..41a5661 100644 --- a/android_webview/javatests/src/org/chromium/android_webview/test/ContentViewMiscTest.java +++ b/android_webview/javatests/src/org/chromium/android_webview/test/ContentViewMiscTest.java @@ -47,41 +47,6 @@ public class ContentViewMiscTest extends AndroidWebViewTestBase { mContentViewCore = testContainerView.getContentViewCore(); } - /* - * @SmallTest - * @Feature({"Android-WebView"}) - * BUG 162967 - */ - @FlakyTest - public void testFlingScroll() throws Throwable { - final String testPage = UrlUtils.encodeHtmlDataUri( - "<html><head><style>body { width: 5000px; height: 5000px; }</head>" + - "<body></body></html>"); - - // Test flinging in the y axis - loadUrlSync(mAwContents , mContentsClient.getOnPageFinishedHelper(), testPage); - assertEquals(0, mContentViewCore.getNativeScrollYForTest()); - ThreadUtils.runOnUiThread(new Runnable() { - @Override - public void run() { - mContentViewCore.flingScroll(0, 2000); - } - }); - Thread.sleep(1000); - assertNotSame(0, mContentViewCore.getNativeScrollYForTest()); - - // Test flinging in the x axis - assertEquals(0, mContentViewCore.getNativeScrollXForTest()); - ThreadUtils.runOnUiThread(new Runnable() { - @Override - public void run() { - mContentViewCore.flingScroll(2000, 0); - } - }); - Thread.sleep(1000); - assertNotSame(0, mContentViewCore.getNativeScrollXForTest()); - } - @SmallTest @Feature({"AndroidWebView"}) public void testFindAddress() { |