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

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

Issue 1000793002: [Android] Incorporate findbugs into android builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address cjhopman's comment + rebase Created 5 years, 9 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/tabmodel/RestoreMigrateTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/RestoreMigrateTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/RestoreMigrateTest.java
index 55480332f4f30dd1dcf59ccdef5ed707394ae01c..aa39d791f88558a39c152d8d326a669ee23f818a 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/RestoreMigrateTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/RestoreMigrateTest.java
@@ -8,6 +8,7 @@ import android.test.InstrumentationTestCase;
import android.test.suitebuilder.annotation.SmallTest;
import org.chromium.base.ThreadUtils;
+import org.chromium.base.annotations.SuppressFBWarnings;
import org.chromium.chrome.browser.TabState;
import org.chromium.chrome.browser.util.StreamUtil;
import org.chromium.chrome.test.util.ApplicationData;
@@ -60,6 +61,7 @@ public class RestoreMigrateTest extends InstrumentationTestCase {
* @throws ExecutionException
*/
@SuppressWarnings("unused")
+ @SuppressFBWarnings("DLS_DEAD_LOCAL_STORE")
@SmallTest
public void testMigrateData() throws IOException, InterruptedException, ExecutionException {
ApplicationData.clearAppData(getInstrumentation().getTargetContext());
@@ -115,6 +117,7 @@ public class RestoreMigrateTest extends InstrumentationTestCase {
* @throws ExecutionException
*/
@SuppressWarnings("unused")
+ @SuppressFBWarnings("DLS_DEAD_LOCAL_STORE")
@SmallTest
public void testSkipMigrateData() throws IOException, InterruptedException, ExecutionException {
ApplicationData.clearAppData(getInstrumentation().getTargetContext());
@@ -172,6 +175,7 @@ public class RestoreMigrateTest extends InstrumentationTestCase {
* @throws ExecutionException
*/
@SuppressWarnings("unused")
+ @SuppressFBWarnings("DLS_DEAD_LOCAL_STORE")
@SmallTest
public void testMigrationLeavesOtherFilesAlone() throws IOException, InterruptedException,
ExecutionException {
@@ -261,4 +265,4 @@ public class RestoreMigrateTest extends InstrumentationTestCase {
assertEquals("Unexpected number of tabst o load", 3, storeIn1.getRestoredTabCount());
}
-}
+}

Powered by Google App Engine
This is Rietveld 408576698