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

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java

Issue 1856273002: Change all FlakyTest import to use org.chromium.base.test.util.FlakyTest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change @FlakyTest bug message Created 4 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
Index: content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java b/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java
index b62c8454026862b9fd77627474e181d1ae9845bb..6375e2c9735cfd5de78b23bf81a7356381c89483 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java
@@ -131,9 +131,8 @@ public class ContentViewCoreSelectionTest extends ContentShellTestBase {
/*
@SmallTest
@Feature({"TextInput"})
- https://crbug.com/592428
*/
- @FlakyTest
+ @FlakyTest(message = "https://crbug.com/592428")
public void testPastePopupNotShownOnLongPressingNonEmptyInput() throws Throwable {
copyStringToClipboard("SampleTextToCopy");
DOMUtils.longPressNode(this, mContentViewCore, "empty_input_text");
@@ -146,9 +145,8 @@ public class ContentViewCoreSelectionTest extends ContentShellTestBase {
/*
@SmallTest
@Feature({"TextInput"})
- https://crbug.com/592428
*/
- @FlakyTest
+ @FlakyTest(message = "https://crbug.com/592428")
public void testPastePopupClearedOnTappingEmptyInput() throws Throwable {
copyStringToClipboard("SampleTextToCopy");
DOMUtils.longPressNode(this, mContentViewCore, "empty_input_text");
@@ -160,9 +158,8 @@ public class ContentViewCoreSelectionTest extends ContentShellTestBase {
/*
@SmallTest
@Feature({"TextInput"})
- https://crbug.com/592428
*/
- @FlakyTest
+ @FlakyTest(message = "https://crbug.com/592428")
public void testPastePopupClearedOnTappingNonEmptyInput() throws Throwable {
copyStringToClipboard("SampleTextToCopy");
DOMUtils.longPressNode(this, mContentViewCore, "empty_input_text");
@@ -174,9 +171,8 @@ public class ContentViewCoreSelectionTest extends ContentShellTestBase {
/*
@SmallTest
@Feature({"TextInput"})
- https://crbug.com/592428
*/
- @FlakyTest
+ @FlakyTest(message = "https://crbug.com/592428")
public void testPastePopupClearedOnTappingOutsideInput() throws Throwable {
copyStringToClipboard("SampleTextToCopy");
DOMUtils.longPressNode(this, mContentViewCore, "empty_input_text");
@@ -188,9 +184,8 @@ public class ContentViewCoreSelectionTest extends ContentShellTestBase {
/*
@SmallTest
@Feature({"TextInput"})
- https://crbug.com/592428
*/
- @FlakyTest
+ @FlakyTest(message = "https://crbug.com/592428")
public void testPastePopupClearedOnLongPressingOutsideInput() throws Throwable {
copyStringToClipboard("SampleTextToCopy");
DOMUtils.longPressNode(this, mContentViewCore, "empty_input_text");
@@ -202,9 +197,8 @@ public class ContentViewCoreSelectionTest extends ContentShellTestBase {
/*
@SmallTest
@Feature({"TextInput"})
- https://crbug.com/592428
*/
- @FlakyTest
+ @FlakyTest(message = "https://crbug.com/592428")
public void testPastePopupNotShownOnLongPressingDisabledInput() throws Throwable {
copyStringToClipboard("SampleTextToCopy");
DOMUtils.longPressNode(this, mContentViewCore, "empty_input_text");
@@ -218,9 +212,8 @@ public class ContentViewCoreSelectionTest extends ContentShellTestBase {
/*
@SmallTest
@Feature({"TextInput"})
- https://crbug.com/592428
*/
- @FlakyTest
+ @FlakyTest(message = "https://crbug.com/592428")
public void testPastePopupDismissedOnDestroy() throws Throwable {
copyStringToClipboard("SampleTextToCopy");
DOMUtils.longPressNode(this, mContentViewCore, "empty_input_text");
@@ -520,9 +513,8 @@ public class ContentViewCoreSelectionTest extends ContentShellTestBase {
/*
@SmallTest
@Feature({"TextInput"})
- https://crbug.com/592428
*/
- @FlakyTest
+ @FlakyTest(message = "https://crbug.com/592428")
public void testSelectActionBarPasswordPaste() throws Exception {
copyStringToClipboard("SamplePassword2");

Powered by Google App Engine
This is Rietveld 408576698