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

Unified Diff: chrome/test/data/extensions/api_test/autotest_private/test.js

Issue 2801173002: arc: Provide API to control Play Store state from autotests (Closed)
Patch Set: fix browser test Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
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..1b5eb697fab225ae04cb0b28cc5eb1fe001ffe0b 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,17 @@ chrome.test.runTests([
function getVisibleNotifications() {
chrome.autotestPrivate.getVisibleNotifications(function(){});
chrome.test.succeed();
+ },
+ function isPlayStoreEnabled() {
+ chrome.autotestPrivate.isPlayStoreEnabled;
+ chrome.test.succeed();
+ },
+ function isPlayStoreManaged() {
+ chrome.autotestPrivate.isPlayStoreManaged;
+ chrome.test.succeed();
+ },
+ function setPlayStoreEnabled() {
+ chrome.autotestPrivate.setPlayStoreEnabled(true);
+ chrome.test.succeed();
}
]);

Powered by Google App Engine
This is Rietveld 408576698