| Index: sync/android/javatests/src/org/chromium/sync/notifier/InvalidationPreferencesTest.java
|
| diff --git a/sync/android/javatests/src/org/chromium/sync/notifier/InvalidationPreferencesTest.java b/sync/android/javatests/src/org/chromium/sync/notifier/InvalidationPreferencesTest.java
|
| index f8e841edbde0f3700b0e8cdb23339f3da9424c9c..4bcfd20f0844a8a25508da66ef323606d009bd22 100644
|
| --- a/sync/android/javatests/src/org/chromium/sync/notifier/InvalidationPreferencesTest.java
|
| +++ b/sync/android/javatests/src/org/chromium/sync/notifier/InvalidationPreferencesTest.java
|
| @@ -14,10 +14,8 @@ import com.google.ipc.invalidation.external.client.types.ObjectId;
|
| import org.chromium.base.CollectionUtil;
|
| import org.chromium.base.test.util.AdvancedMockContext;
|
| import org.chromium.base.test.util.Feature;
|
| -import org.chromium.sync.internal_api.pub.base.ModelType;
|
|
|
| import java.util.Arrays;
|
| -import java.util.HashSet;
|
| import java.util.Set;
|
|
|
| /**
|
| @@ -36,20 +34,6 @@ public class InvalidationPreferencesTest extends InstrumentationTestCase {
|
|
|
| @SmallTest
|
| @Feature({"Sync"})
|
| - public void testTranslateBasicSyncTypes() throws Exception {
|
| - /*
|
| - * Test plan: convert three strings to model types, one of which is invalid. Verify that
|
| - * the two valid strings are properly converted and that the invalid string is dropped.
|
| - */
|
| - HashSet<ModelType> expectedTypes = CollectionUtil.newHashSet(
|
| - ModelType.BOOKMARK, ModelType.SESSION);
|
| - Set<ModelType> actualTypes = ModelType.syncTypesToModelTypes(
|
| - CollectionUtil.newHashSet("BOOKMARK", "SESSION", "0!!!INVALID"));
|
| - assertEquals(expectedTypes, actualTypes);
|
| - }
|
| -
|
| - @SmallTest
|
| - @Feature({"Sync"})
|
| public void testReadMissingData() {
|
| /*
|
| * Test plan: read saved state from empty preferences. Verify that null is returned.
|
| @@ -97,4 +81,4 @@ public class InvalidationPreferencesTest extends InstrumentationTestCase {
|
| assertTrue(Arrays.equals(
|
| internalClientState, invPreferences.getInternalNotificationClientState()));
|
| }
|
| -}
|
| +}
|
|
|