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

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

Issue 2165023003: [Extensions] Use compiled feature files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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
« no previous file with comments | « chrome/common/extensions/chrome_extensions_client.cc ('k') | extensions/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc
diff --git a/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc b/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc
index 328f4dfaacc9687a098ab6157cc144e5a7daa18f..a3cdc4ef77c529c9d65e107d85ad3835e49c10e8 100644
--- a/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc
+++ b/chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc
@@ -49,21 +49,22 @@ TEST_F(PlatformAppsManifestTest, PlatformApps) {
RunTestcases(error_testcases, arraysize(error_testcases), EXPECT_TYPE_ERROR);
Testcase warning_testcases[] = {
- Testcase(
- "init_invalid_platform_app_1.json",
- "'app.launch' is only allowed for hosted apps and legacy packaged "
- "apps, but this is a packaged app."),
- Testcase(
- "init_invalid_platform_app_4.json",
- "'background' is only allowed for extensions, hosted apps, and legacy "
- "packaged apps, but this is a packaged app."),
- Testcase(
- "init_invalid_platform_app_5.json",
- "'background' is only allowed for extensions, hosted apps, and legacy "
- "packaged apps, but this is a packaged app."),
- Testcase("incognito_invalid_platform_app.json",
- "'incognito' is only allowed for extensions and legacy packaged apps, "
- "but this is a packaged app."),
+ Testcase(
+ "init_invalid_platform_app_1.json",
+ "'app.launch' is only allowed for legacy packaged apps and hosted "
+ "apps, but this is a packaged app."),
+ Testcase("init_invalid_platform_app_4.json",
+ "'background' is only allowed for extensions, legacy packaged "
+ "apps, and"
+ " hosted apps, but this is a packaged app."),
+ Testcase("init_invalid_platform_app_5.json",
+ "'background' is only allowed for extensions, legacy packaged "
+ "apps, and"
+ " hosted apps, but this is a packaged app."),
+ Testcase("incognito_invalid_platform_app.json",
+ "'incognito' is only allowed for extensions and legacy packaged "
+ "apps, "
+ "but this is a packaged app."),
};
RunTestcases(
warning_testcases, arraysize(warning_testcases), EXPECT_TYPE_WARNING);
« no previous file with comments | « chrome/common/extensions/chrome_extensions_client.cc ('k') | extensions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698