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

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

Issue 1190103002: Make lint fail builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix exported crash for ChromeShellTest Created 5 years, 6 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/UrlSchemeTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/UrlSchemeTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/UrlSchemeTest.java
index e45977e39efd62822264aa1b9c03b385a8514eea..55577fcb5458d0d76169ce81c3772c33ae412397 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/UrlSchemeTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/UrlSchemeTest.java
@@ -8,6 +8,7 @@
package org.chromium.chrome.browser;
+import android.annotation.SuppressLint;
import android.content.Context;
import android.net.Uri;
import android.test.suitebuilder.annotation.MediumTest;
@@ -94,6 +95,7 @@ public class UrlSchemeTest extends ChromeActivityTestCaseBase<ChromeActivity> {
*/
@MediumTest
@Feature({"Navigation"})
+ @SuppressLint("SdCardPath")
public void testContentUrlFromFile() throws InterruptedException, IOException {
final String target = "content_from_file";
final String fileName = "/sdcard/" + target + ".html";
@@ -113,6 +115,7 @@ public class UrlSchemeTest extends ChromeActivityTestCaseBase<ChromeActivity> {
*/
@MediumTest
@Feature({"Navigation"})
+ @SuppressLint("SdCardPath")
public void testFileUrlNavigation() throws InterruptedException, IOException {
final String target = "/sdcard/url_navigation_test.html";

Powered by Google App Engine
This is Rietveld 408576698