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

Unified Diff: chrome/test/data/extensions/api_test/management/test/basics.js

Issue 10750010: Add an installType property to the management API (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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/management/test/basics.js
diff --git a/chrome/test/data/extensions/api_test/management/test/basics.js b/chrome/test/data/extensions/api_test/management/test/basics.js
index 087e1958347caf7187f4edcedc42dc339c52b9db..9930a77fc734ee95c7c0672ae384143a6127220c 100644
--- a/chrome/test/data/extensions/api_test/management/test/basics.js
+++ b/chrome/test/data/extensions/api_test/management/test/basics.js
@@ -49,18 +49,20 @@ var tests = [
checkItemInList(items, "Extension Management API Test", true, false);
checkItemInList(items, "description", true, false,
- { "description": "a short description" });
+ { "description": "a short description" });
checkItemInList(items, "enabled_app", true, true,
- { "appLaunchUrl": "http://www.google.com/",
- "offlineEnabled": true,
- "updateUrl": "http://example.com/update.xml" });
+ { "appLaunchUrl": "http://www.google.com/",
+ "offlineEnabled": true,
+ "updateUrl": "http://example.com/update.xml" });
checkItemInList(items, "disabled_app", false, true,
- { "disabledReason": "unknown" });
+ { "disabledReason": "unknown" });
checkItemInList(items, "enabled_extension", true, false,
- { "homepageUrl": "http://example.com/" });
+ { "homepageUrl": "http://example.com/" });
checkItemInList(items, "disabled_extension", false, false,
- { "optionsUrl": "chrome-extension://<ID>/pages/options.html",
- "disabledReason": "unknown" });
+ { "optionsUrl": "chrome-extension://<ID>/pages/options.html",
+ "disabledReason": "unknown" });
+ checkItemInList(items, "description", true, false,
+ { "installType": "development" });
// Check that we got the icons correctly
var extension = getItemNamed(items, "enabled_extension");
« chrome/common/extensions/api/management.json ('K') | « chrome/common/extensions/api/management.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698