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

Side by Side Diff: components/sync/android/javatests/src/org/chromium/components/sync/notifier/InvalidationClientNameProviderTest.java

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.sync.notifier; 5 package org.chromium.components.sync.notifier;
6 6
7 import android.test.InstrumentationTestCase; 7 import android.test.InstrumentationTestCase;
8 import android.test.suitebuilder.annotation.SmallTest; 8 import android.test.suitebuilder.annotation.SmallTest;
9 9
10 import org.chromium.base.test.util.Feature; 10 import org.chromium.base.test.util.Feature;
11 11
12 import java.util.Arrays; 12 import java.util.Arrays;
13 13
14 /** Tests for the {@link InvalidationClientNameProvider} */ 14 /** Tests for the {@link InvalidationClientNameProvider} */
15 public class InvalidationClientNameProviderTest extends InstrumentationTestCase { 15 public class InvalidationClientNameProviderTest extends InstrumentationTestCase {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 private static void registerHardCodedGenerator(InvalidationClientNameProvide r provider) { 58 private static void registerHardCodedGenerator(InvalidationClientNameProvide r provider) {
59 provider.setPreferredClientNameGenerator(new InvalidationClientNameGener ator() { 59 provider.setPreferredClientNameGenerator(new InvalidationClientNameGener ator() {
60 @Override 60 @Override
61 public byte[] generateInvalidatorClientName() { 61 public byte[] generateInvalidatorClientName() {
62 return "Testable ID".getBytes(); 62 return "Testable ID".getBytes();
63 } 63 }
64 }); 64 });
65 } 65 }
66 } 66 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698