| Index: chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/UrlBarTest.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/UrlBarTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/UrlBarTest.java
|
| index ddd38c18a7c0242d7ed8c5e456fdb6659df902af..66d07ec6556e9a900540983695083224e5c1459b 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/UrlBarTest.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/UrlBarTest.java
|
| @@ -16,6 +16,7 @@ import android.view.inputmethod.BaseInputConnection;
|
|
|
| import org.chromium.base.ThreadUtils;
|
| import org.chromium.base.test.util.Feature;
|
| +import org.chromium.base.test.util.RetryOnFailure;
|
| import org.chromium.chrome.R;
|
| import org.chromium.chrome.browser.ChromeActivity;
|
| import org.chromium.chrome.browser.profiles.Profile;
|
| @@ -150,6 +151,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
|
|
| @SmallTest
|
| @Feature({"Omnibox"})
|
| + @RetryOnFailure
|
| public void testRefocusing() throws InterruptedException {
|
| startMainActivityOnBlankPage();
|
| UrlBar urlBar = getUrlBar();
|
| @@ -159,6 +161,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
|
|
| @SmallTest
|
| @Feature({"Omnibox"})
|
| + @RetryOnFailure
|
| public void testAutocompleteUpdatedOnSetText() throws InterruptedException {
|
| startMainActivityOnBlankPage();
|
| stubLocationBarAutocomplete();
|
| @@ -241,6 +244,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
|
|
| @SmallTest
|
| @Feature({"Omnibox"})
|
| + @RetryOnFailure
|
| public void testAutocompleteUpdatedOnSelection()
|
| throws InterruptedException, TimeoutException {
|
| startMainActivityOnBlankPage();
|
| @@ -350,6 +354,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
| */
|
| @SmallTest
|
| @Feature({"Omnibox"})
|
| + @RetryOnFailure
|
| public void testSuggestionsUpdatedWhenDeletingInlineAutocomplete()
|
| throws InterruptedException, TimeoutException {
|
| startMainActivityOnBlankPage();
|
| @@ -392,6 +397,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
|
|
| @SmallTest
|
| @Feature({"Omnibox"})
|
| + @RetryOnFailure
|
| public void testSelectionChangesIgnoredInBatchMode() throws InterruptedException {
|
| startMainActivityOnBlankPage();
|
| stubLocationBarAutocomplete();
|
| @@ -429,6 +435,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
|
|
| @SmallTest
|
| @Feature({"Omnibox"})
|
| + @RetryOnFailure
|
| public void testBatchModeChangesTriggerCorrectSuggestions() throws InterruptedException {
|
| startMainActivityOnBlankPage();
|
|
|
| @@ -543,6 +550,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
|
|
| @SmallTest
|
| @Feature("Omnibox")
|
| + @RetryOnFailure
|
| public void testAutocompleteSpanClearedOnNonMatchingCommitText() throws InterruptedException {
|
| startMainActivityOnBlankPage();
|
|
|
| @@ -575,6 +583,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
|
|
| @SmallTest
|
| @Feature({"Omnibox"})
|
| + @RetryOnFailure
|
| public void testAutocompleteUpdatedOnDefocus() throws InterruptedException {
|
| startMainActivityOnBlankPage();
|
| stubLocationBarAutocomplete();
|
| @@ -591,6 +600,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
|
|
| @SmallTest
|
| @Feature({"Omnibox"})
|
| + @RetryOnFailure
|
| public void testAutocompleteClearedOnComposition()
|
| throws InterruptedException, ExecutionException {
|
| startMainActivityOnBlankPage();
|
| @@ -620,6 +630,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
|
|
| @SmallTest
|
| @Feature("Omnibox")
|
| + @RetryOnFailure
|
| public void testDelayedCompositionCorrectedWithAutocomplete()
|
| throws InterruptedException, ExecutionException {
|
| startMainActivityOnBlankPage();
|
| @@ -734,6 +745,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
| */
|
| @SmallTest
|
| @Feature({"Omnibox"})
|
| + @RetryOnFailure
|
| public void testFocusingOnStartup() throws InterruptedException {
|
| Intent intent = new Intent(Intent.ACTION_MAIN);
|
| intent.addCategory(Intent.CATEGORY_LAUNCHER);
|
| @@ -748,6 +760,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
|
|
| @SmallTest
|
| @Feature({"Omnibox"})
|
| + @RetryOnFailure
|
| public void testCopyHuge() throws InterruptedException {
|
| startMainActivityWithURL(HUGE_URL);
|
| OmniboxTestUtils.toggleUrlBarFocus(getUrlBar(), true);
|
|
|