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

Side by Side Diff: chrome/android/javatests/src/org/chromium/chrome/test/util/ChromeSigninUtilsTest.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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.chrome.test.util; 5 package org.chromium.chrome.test.util;
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.EnormousTest; 10 import org.chromium.base.test.util.EnormousTest;
11 import org.chromium.base.test.util.FlakyTest; 11 import org.chromium.base.test.util.FlakyTest;
12 import org.chromium.base.test.util.Restriction; 12 import org.chromium.base.test.util.Restriction;
13 import org.chromium.sync.signin.ChromeSigninController; 13 import org.chromium.components.sync.signin.ChromeSigninController;
14 14
15 /** 15 /**
16 * Tests for {@link ChromeSigninUtils}. 16 * Tests for {@link ChromeSigninUtils}.
17 */ 17 */
18 public class ChromeSigninUtilsTest extends InstrumentationTestCase { 18 public class ChromeSigninUtilsTest extends InstrumentationTestCase {
19 private static final String FAKE_ACCOUNT_USERNAME = "test@google.com"; 19 private static final String FAKE_ACCOUNT_USERNAME = "test@google.com";
20 private static final String FAKE_ACCOUNT_PASSWORD = "$3cr3t"; 20 private static final String FAKE_ACCOUNT_PASSWORD = "$3cr3t";
21 private static final String GOOGLE_ACCOUNT_USERNAME = "chromiumforandroid01@ gmail.com"; 21 private static final String GOOGLE_ACCOUNT_USERNAME = "chromiumforandroid01@ gmail.com";
22 private static final String GOOGLE_ACCOUNT_PASSWORD = "chromeforandroid"; 22 private static final String GOOGLE_ACCOUNT_PASSWORD = "chromeforandroid";
23 private static final String GOOGLE_ACCOUNT_TYPE = "mail"; 23 private static final String GOOGLE_ACCOUNT_TYPE = "mail";
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 } 140 }
141 141
142 @Override 142 @Override
143 protected void tearDown() throws Exception { 143 protected void tearDown() throws Exception {
144 mSigninController.setSignedInAccountName(null); 144 mSigninController.setSignedInAccountName(null);
145 mSigninUtil.removeAllFakeAccountsFromOs(); 145 mSigninUtil.removeAllFakeAccountsFromOs();
146 mSigninUtil.removeAllGoogleAccountsFromOs(); 146 mSigninUtil.removeAllGoogleAccountsFromOs();
147 super.tearDown(); 147 super.tearDown();
148 } 148 }
149 } 149 }
OLDNEW
« no previous file with comments | « chrome/android/javatests/src/org/chromium/chrome/browser/util/FeatureUtilitiesTest.java ('k') | chrome/android/junit/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698