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

Side by Side Diff: chrome/android/javatests/src/org/chromium/chrome/test/util/ChromeSigninUtilsTest.java

Issue 2583933003: Replace deprecated Android java test annotations (Closed)
Patch Set: Created 4 years 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.support.test.filters.SmallTest;
7 import android.test.InstrumentationTestCase; 8 import android.test.InstrumentationTestCase;
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.components.signin.ChromeSigninController; 13 import org.chromium.components.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 {
(...skipping 121 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

Powered by Google App Engine
This is Rietveld 408576698