| Index: chrome/test/data/extensions/api_test/autotest_private/test.js
|
| diff --git a/chrome/test/data/extensions/api_test/autotest_private/test.js b/chrome/test/data/extensions/api_test/autotest_private/test.js
|
| index 30e470f531f3b44945a1f53fd2376ba4b03d2466..c44fd3863c94dad8a77b15478551c9021e30ec4a 100644
|
| --- a/chrome/test/data/extensions/api_test/autotest_private/test.js
|
| +++ b/chrome/test/data/extensions/api_test/autotest_private/test.js
|
| @@ -108,5 +108,21 @@ chrome.test.runTests([
|
| function getVisibleNotifications() {
|
| chrome.autotestPrivate.getVisibleNotifications(function(){});
|
| chrome.test.succeed();
|
| + },
|
| + function getPlayStoreState() {
|
| + chrome.autotestPrivate.getPlayStoreState(function(state) {
|
| + // By default ARC is not available. All fields must be set to false.
|
| + chrome.test.assertFalse(state.enabled);
|
| + chrome.test.assertFalse(state.managed);
|
| + chrome.test.assertFalse(state.allowed);
|
| + chrome.test.succeed();
|
| + });
|
| + },
|
| + function setPlayStoreEnabled() {
|
| + chrome.autotestPrivate.setPlayStoreEnabled(false, function() {
|
| + // By default ARC is not available.
|
| + chrome.test.assertTrue(chrome.runtime.lastError != undefined);
|
| + chrome.test.succeed();
|
| + });
|
| }
|
| ]);
|
|
|