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

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

Issue 2363113003: Lint suppressions needed for Android SDK roll. (Closed)
Patch Set: Suppress alert box presubmit. 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
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 08b6f161067a7bed05cbfcf5ea64a344061ff181..27ef95a910cd53a0a2d9f8050e261de109e0a041 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
@@ -4,6 +4,7 @@
package org.chromium.chrome.browser.omnibox;
+import android.annotation.SuppressLint;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
@@ -498,6 +499,8 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
setAutocomplete(urlBar, "g", "oogle.com");
AutocompleteState state = getAutocompleteState(urlBar, new Runnable() {
@Override
+ // TODO(crbug.com/635567): Fix this properly.
+ @SuppressLint("SetTextI18n")
public void run() {
urlBar.beginBatchEdit();
urlBar.setText("go");
@@ -513,6 +516,8 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
setAutocomplete(urlBar, "g", "oogle.com");
state = getAutocompleteState(urlBar, new Runnable() {
@Override
+ // TODO(crbug.com/635567): Fix this properly.
+ @SuppressLint("SetTextI18n")
public void run() {
urlBar.beginBatchEdit();
urlBar.setText("go");
@@ -526,6 +531,8 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
setAutocomplete(urlBar, "g", "oogle.com");
state = getAutocompleteState(urlBar, new Runnable() {
@Override
+ // TODO(crbug.com/635567): Fix this properly.
+ @SuppressLint("SetTextI18n")
public void run() {
urlBar.beginBatchEdit();
urlBar.setText("ga");
@@ -539,6 +546,8 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
setAutocomplete(urlBar, "g", "oogle.com");
state = getAutocompleteState(urlBar, new Runnable() {
@Override
+ // TODO(crbug.com/635567): Fix this properly.
+ @SuppressLint("SetTextI18n")
public void run() {
urlBar.beginBatchEdit();
urlBar.setText("googl");

Powered by Google App Engine
This is Rietveld 408576698