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

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: 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
« no previous file with comments | « components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestTest.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a0b5e0b5a016381a8f3de73a780dba3944d0a688 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
@@ -8,12 +8,12 @@ import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
import android.content.Intent;
-import android.test.FlakyTest;
import android.test.suitebuilder.annotation.SmallTest;
import android.text.TextUtils;
import org.chromium.base.ThreadUtils;
import org.chromium.base.test.util.Feature;
+import org.chromium.base.test.util.FlakyTest;
import org.chromium.base.test.util.UrlUtils;
import org.chromium.content.browser.input.ChromiumBaseInputConnection;
import org.chromium.content.browser.input.ImeTestUtils;
@@ -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");
« no previous file with comments | « components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698