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

Unified Diff: chrome/common/extensions/extension_manifests_unittest.cc

Issue 9452008: Allow platform apps to specify a maximum size for the shell container. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing file Created 8 years, 10 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/common/extensions/extension_manifests_unittest.cc
diff --git a/chrome/common/extensions/extension_manifests_unittest.cc b/chrome/common/extensions/extension_manifests_unittest.cc
index bf6cc87587bebfdd25c152e3bcf76ea81bb694b3..e1d108ff9f4292943638ce96bdda108a74781732 100644
--- a/chrome/common/extensions/extension_manifests_unittest.cc
+++ b/chrome/common/extensions/extension_manifests_unittest.cc
@@ -458,6 +458,10 @@ TEST_F(ExtensionManifestTest, AppLaunchContainer) {
ExtensionErrorUtils::FormatErrorMessage(
errors::kInvalidLaunchValue,
keys::kLaunchWidth));
+ LoadAndExpectError("launch_container_invalid_size_constraints.json",
+ ExtensionErrorUtils::FormatErrorMessage(
+ errors::kInvalidLaunchValue,
+ keys::kLaunchMaxWidth));
}
TEST_F(ExtensionManifestTest, PlatformAppLaunchContainer) {

Powered by Google App Engine
This is Rietveld 408576698