diff options
author | dtrainor@chromium.org <dtrainor@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-06 18:24:12 +0000 |
---|---|---|
committer | dtrainor@chromium.org <dtrainor@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-06 18:24:12 +0000 |
commit | 46ab4c15cfc1251d8077f2da5e3a600ce6a38764 (patch) | |
tree | ae8dd63225349f4555400467f7143840cd7d605e /chrome/android | |
parent | 36ec5d84d1736362b431e582497da88516a220b2 (diff) | |
download | chromium_src-46ab4c15cfc1251d8077f2da5e3a600ce6a38764.zip chromium_src-46ab4c15cfc1251d8077f2da5e3a600ce6a38764.tar.gz chromium_src-46ab4c15cfc1251d8077f2da5e3a600ce6a38764.tar.bz2 |
Turn on context menu tests
The test harness flakiness was fixed with 115473002 and 114563002. Turning these back on
BUG=326769
NOTRY=true
Review URL: https://codereview.chromium.org/106053009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243124 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/android')
-rw-r--r-- | chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/ContextMenuTest.java | 37 |
1 files changed, 9 insertions, 28 deletions
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/ContextMenuTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/ContextMenuTest.java index 628c19a..fc3e8e7 100644 --- a/chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/ContextMenuTest.java +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/ContextMenuTest.java @@ -8,7 +8,6 @@ import android.content.ClipData; import android.content.ClipboardManager; import android.content.Context; import android.os.Build; -import android.test.FlakyTest; import android.test.suitebuilder.annotation.LargeTest; import android.view.ContextMenu; @@ -41,9 +40,7 @@ public class ContextMenuTest extends ChromiumTestShellTestBase { assertWaitForPageScaleFactorMatch(0.5f); } - // http://crbug.com/326769 - @FlakyTest - // @LargeTest + @LargeTest @Feature({"Browser", "Main"}) public void testCopyLinkURL() throws InterruptedException, TimeoutException { TabBase tab = getActivity().getActiveTab(); @@ -54,9 +51,7 @@ public class ContextMenuTest extends ChromiumTestShellTestBase { assertStringContains("test_link.html", getClipboardText()); } - // http://crbug.com/326769 - @FlakyTest - // @LargeTest + @LargeTest @Feature({"Browser"}) public void testCopyImageLinkCopiesLinkURL() throws InterruptedException, TimeoutException { TabBase tab = getActivity().getActiveTab(); @@ -67,9 +62,7 @@ public class ContextMenuTest extends ChromiumTestShellTestBase { assertStringContains("test_link.html", getClipboardText()); } - // http://crbug.com/326769 - @FlakyTest - // @LargeTest + @LargeTest @Feature({"Browser"}) public void testCopyLinkTextSimple() throws InterruptedException, TimeoutException { TabBase tab = getActivity().getActiveTab(); @@ -81,9 +74,7 @@ public class ContextMenuTest extends ChromiumTestShellTestBase { getClipboardText()); } - // http://crbug.com/326769 - @FlakyTest - // @LargeTest + @LargeTest @Feature({"Browser"}) public void testCopyLinkTextComplex() throws InterruptedException, TimeoutException { TabBase tab = getActivity().getActiveTab(); @@ -95,9 +86,7 @@ public class ContextMenuTest extends ChromiumTestShellTestBase { "This is pretty extreme \n(newline). ", getClipboardText()); } - // http://crbug.com/326769 - @FlakyTest - // @LargeTest + @LargeTest @Feature({"Browser"}) public void testCopyImageToClipboard() throws InterruptedException, TimeoutException { if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN) return; @@ -113,9 +102,7 @@ public class ContextMenuTest extends ChromiumTestShellTestBase { assertEquals("Clipboard text is not correct", expectedUrl, getClipboardText()); } - // http://crbug.com/326769 - @FlakyTest - // @LargeTest + @LargeTest @Feature({"Browser"}) public void testLongPressOnImage() throws InterruptedException, TimeoutException { final TabBase tab = getActivity().getActiveTab(); @@ -145,9 +132,7 @@ public class ContextMenuTest extends ChromiumTestShellTestBase { assertEquals("Failed to navigate to the image", expectedUrl, actualUrl.get()); } - // http://crbug.com/326769 - @FlakyTest - // @LargeTest + @LargeTest @Feature({"Browser"}) public void testLongPressOnImageLink() throws InterruptedException, TimeoutException { final TabBase tab = getActivity().getActiveTab(); @@ -174,9 +159,7 @@ public class ContextMenuTest extends ChromiumTestShellTestBase { assertTrue("Navigated to the wrong page.", actualTitle.get().startsWith("test_image.png")); } - // http://crbug.com/326769 - @FlakyTest - // @LargeTest + @LargeTest @Feature({"Browser"}) public void testDismissContextMenuOnBack() throws InterruptedException, TimeoutException { TabBase tab = getActivity().getActiveTab(); @@ -196,9 +179,7 @@ public class ContextMenuTest extends ChromiumTestShellTestBase { })); } - // http://crbug.com/326769 - @FlakyTest - // @LargeTest + @LargeTest @Feature({"Browser"}) public void testDismissContextMenuOnClick() throws InterruptedException, TimeoutException { TabBase tab = getActivity().getActiveTab(); |