Index: android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java |
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java |
index 3edf1d355e2c02bf3f70c4cba7b729c34262e04a..c1c5249805de343f769903a53bc3175861c00dd8 100644 |
--- a/android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java |
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java |
@@ -11,6 +11,7 @@ |
import org.chromium.android_webview.AwContents; |
import org.chromium.base.ThreadUtils; |
+import org.chromium.base.annotations.SuppressFBWarnings; |
import org.chromium.base.test.util.Feature; |
import org.chromium.base.test.util.UrlUtils; |
@@ -120,6 +121,7 @@ |
@SmallTest |
@Feature({"AndroidWebView"}) |
+ @SuppressFBWarnings("DMI_HARDCODED_ABSOLUTE_FILENAME") |
public void testExplicitBadPath() throws Throwable { |
final String path = new File("/foo/bar/baz.mht").getAbsolutePath(); |
deleteFile(path); |
@@ -132,6 +134,7 @@ |
@SmallTest |
@Feature({"AndroidWebView"}) |
+ @SuppressFBWarnings("DMI_HARDCODED_ABSOLUTE_FILENAME") |
public void testAutoBadPath() throws Throwable { |
final String path = new File("/foo/bar/").getAbsolutePath(); |
deleteFile(path); |