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

Unified Diff: chrome/common/extensions/manifest_tests/extension_manifests_isolatedapp_unittest.cc

Issue 801603002: Add support for command line switches to Features, and as proof that it works, (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test fixes Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/manifest_tests/extension_manifests_isolatedapp_unittest.cc
diff --git a/chrome/common/extensions/manifest_tests/extension_manifests_isolatedapp_unittest.cc b/chrome/common/extensions/manifest_tests/extension_manifests_isolatedapp_unittest.cc
index ead28c4796c9de348d49ebb5e332b4c602ea3b57..654235bd7799f7904b5f0489719efd176c3107bf 100644
--- a/chrome/common/extensions/manifest_tests/extension_manifests_isolatedapp_unittest.cc
+++ b/chrome/common/extensions/manifest_tests/extension_manifests_isolatedapp_unittest.cc
@@ -19,9 +19,10 @@ class IsolatedAppsManifestTest : public ChromeManifestTest {
};
TEST_F(IsolatedAppsManifestTest, IsolatedApps) {
- // Requires --enable-experimental-extension-apis
- LoadAndExpectError("isolated_app_valid.json",
- errors::kExperimentalFlagRequired);
+ LoadAndExpectWarning(
+ "isolated_app_valid.json",
+ "'experimental' requires the 'experimental-extension-apis' "
+ "command line switch to be enabled.");
CommandLine::ForCurrentProcess()->AppendSwitch(
extensions::switches::kEnableExperimentalExtensionApis);

Powered by Google App Engine
This is Rietveld 408576698