Commit ad301d75 authored by bauerb's avatar bauerb Committed by Commit bot

Require Google Play Services in ChromeBackupIntegrationTest.

BUG=653809

Review-Url: https://codereview.chromium.org/2406453002
Cr-Commit-Position: refs/heads/master@{#423848}
parent 2a19cf18
...@@ -16,11 +16,13 @@ import org.chromium.base.StreamUtil; ...@@ -16,11 +16,13 @@ import org.chromium.base.StreamUtil;
import org.chromium.base.ThreadUtils; import org.chromium.base.ThreadUtils;
import org.chromium.base.test.util.CommandLineFlags; import org.chromium.base.test.util.CommandLineFlags;
import org.chromium.base.test.util.MinAndroidSdkLevel; import org.chromium.base.test.util.MinAndroidSdkLevel;
import org.chromium.base.test.util.Restriction;
import org.chromium.chrome.browser.firstrun.FirstRunSignInProcessor; import org.chromium.chrome.browser.firstrun.FirstRunSignInProcessor;
import org.chromium.chrome.browser.firstrun.FirstRunStatus; import org.chromium.chrome.browser.firstrun.FirstRunStatus;
import org.chromium.chrome.browser.init.ChromeBrowserInitializer; import org.chromium.chrome.browser.init.ChromeBrowserInitializer;
import org.chromium.chrome.browser.signin.AccountIdProvider; import org.chromium.chrome.browser.signin.AccountIdProvider;
import org.chromium.chrome.test.ChromeTabbedActivityTestBase; import org.chromium.chrome.test.ChromeTabbedActivityTestBase;
import org.chromium.chrome.test.util.ChromeRestriction;
import org.chromium.components.signin.AccountManagerHelper; import org.chromium.components.signin.AccountManagerHelper;
import org.chromium.components.signin.ChromeSigninController; import org.chromium.components.signin.ChromeSigninController;
import org.chromium.components.signin.test.util.MockAccountManager; import org.chromium.components.signin.test.util.MockAccountManager;
...@@ -103,6 +105,7 @@ public class ChromeBackupIntegrationTest extends ChromeTabbedActivityTestBase { ...@@ -103,6 +105,7 @@ public class ChromeBackupIntegrationTest extends ChromeTabbedActivityTestBase {
@SmallTest @SmallTest
@MinAndroidSdkLevel(Build.VERSION_CODES.LOLLIPOP) @MinAndroidSdkLevel(Build.VERSION_CODES.LOLLIPOP)
@Restriction(ChromeRestriction.RESTRICTION_TYPE_GOOGLE_PLAY_SERVICES)
public void testSimpleRestore() throws InterruptedException, IOException { public void testSimpleRestore() throws InterruptedException, IOException {
// Fake having previously gone through FRE and signed in. // Fake having previously gone through FRE and signed in.
...@@ -146,6 +149,7 @@ public class ChromeBackupIntegrationTest extends ChromeTabbedActivityTestBase { ...@@ -146,6 +149,7 @@ public class ChromeBackupIntegrationTest extends ChromeTabbedActivityTestBase {
@SmallTest @SmallTest
@MinAndroidSdkLevel(Build.VERSION_CODES.LOLLIPOP) @MinAndroidSdkLevel(Build.VERSION_CODES.LOLLIPOP)
@Restriction(ChromeRestriction.RESTRICTION_TYPE_GOOGLE_PLAY_SERVICES)
public void testRestoreAccountMissing() throws InterruptedException, IOException { public void testRestoreAccountMissing() throws InterruptedException, IOException {
// Fake having previously gone through FRE and signed in. // Fake having previously gone through FRE and signed in.
SharedPreferences prefs = ContextUtils.getAppSharedPreferences(); SharedPreferences prefs = ContextUtils.getAppSharedPreferences();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment