| Index: components/sync/android/javatests/src/org/chromium/components/sync/notifier/InvalidationPreferencesTest.java
|
| diff --git a/sync/android/javatests/src/org/chromium/sync/notifier/InvalidationPreferencesTest.java b/components/sync/android/javatests/src/org/chromium/components/sync/notifier/InvalidationPreferencesTest.java
|
| similarity index 90%
|
| rename from sync/android/javatests/src/org/chromium/sync/notifier/InvalidationPreferencesTest.java
|
| rename to components/sync/android/javatests/src/org/chromium/components/sync/notifier/InvalidationPreferencesTest.java
|
| index c88ba72f975359df2fc5a87886c547490a25e229..1bd1ecc89e4e59c6964556dc29e39a8264f5105b 100644
|
| --- a/sync/android/javatests/src/org/chromium/sync/notifier/InvalidationPreferencesTest.java
|
| +++ b/components/sync/android/javatests/src/org/chromium/components/sync/notifier/InvalidationPreferencesTest.java
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -package org.chromium.sync.notifier;
|
| +package org.chromium.components.sync.notifier;
|
|
|
| import android.accounts.Account;
|
| import android.test.InstrumentationTestCase;
|
| @@ -48,11 +48,11 @@ public class InvalidationPreferencesTest extends InstrumentationTestCase {
|
| // Write mix of valid and invalid types to disk to test that preferences are not
|
| // interpreting the data. Invalid types should never be written to disk in practice.
|
| Set<String> syncTypes = CollectionUtil.newHashSet("BOOKMARK", "INVALID");
|
| - Set<ObjectId> objectIds = CollectionUtil.newHashSet(
|
| - ObjectId.newInstance(1, "obj1".getBytes()),
|
| - ObjectId.newInstance(2, "obj2".getBytes()));
|
| + Set<ObjectId> objectIds =
|
| + CollectionUtil.newHashSet(ObjectId.newInstance(1, "obj1".getBytes()),
|
| + ObjectId.newInstance(2, "obj2".getBytes()));
|
| Account account = new Account("test@example.com", "bogus");
|
| - byte[] internalClientState = new byte[]{100, 101, 102};
|
| + byte[] internalClientState = new byte[] {100, 101, 102};
|
| invPreferences.setSyncTypes(editContext, syncTypes);
|
| invPreferences.setObjectIds(editContext, objectIds);
|
| invPreferences.setAccount(editContext, account);
|
|
|