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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/OmniboxTest.java

Issue 2437153002: Do not test suggestion orientation on JB (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable test rather than just skipping parts Created 4 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/OmniboxTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/OmniboxTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/OmniboxTest.java
index 3e31ec0f7642c6079afe5fa82d87dc499913cb00..04943dc26ca03c8ab9ed6aeaa45685646eeee24c 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/OmniboxTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/OmniboxTest.java
@@ -6,6 +6,7 @@ package org.chromium.chrome.browser.omnibox;
import static org.chromium.chrome.test.util.OmniboxTestUtils.buildSuggestionMap;
+import android.os.Build;
import android.os.Environment;
import android.os.SystemClock;
import android.support.v4.view.ViewCompat;
@@ -24,6 +25,7 @@ import org.chromium.base.ThreadUtils;
import org.chromium.base.test.util.EnormousTest;
import org.chromium.base.test.util.Feature;
import org.chromium.base.test.util.FlakyTest;
+import org.chromium.base.test.util.MinAndroidSdkLevel;
import org.chromium.base.test.util.RetryOnFailure;
import org.chromium.base.test.util.ScalableTimeout;
import org.chromium.chrome.R;
@@ -655,6 +657,7 @@ public class OmniboxTest extends ChromeActivityTestCaseBase<ChromeActivity> {
@MediumTest
@Feature({"Omnibox"})
@RetryOnFailure
+ @MinAndroidSdkLevel(Build.VERSION_CODES.JELLY_BEAN_MR1)
public void testSuggestionDirectionSwitching() throws InterruptedException {
final TextView urlBarView = (TextView) getActivity().findViewById(R.id.url_bar);
ThreadUtils.runOnUiThreadBlocking(new Runnable() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698