| 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());
|
|
|
| }
|
| -}
|
| +}
|
|
|