Index: chrome/browser/extensions/stubs_apitest.cc |
diff --git a/chrome/browser/extensions/stubs_apitest.cc b/chrome/browser/extensions/stubs_apitest.cc |
index 24c4d89fa0e30217d2af93161efb355e9922d7a9..03f920177c678465405b69fcdb186ba32554edf3 100644 |
--- a/chrome/browser/extensions/stubs_apitest.cc |
+++ b/chrome/browser/extensions/stubs_apitest.cc |
@@ -29,3 +29,12 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_Stubs) { |
ResultCatcher catcher; |
ASSERT_TRUE(catcher.GetNextResult()); |
} |
+ |
+// Tests that all API features that are available to a platform app actually |
+// can be used in an app. For example, this test will fail if a developer adds |
+// an API feature without providing a schema. http://crbug.com/369318 |
+IN_PROC_BROWSER_TEST_F(ExtensionApiTest, StubsApp) { |
+ ASSERT_TRUE(embedded_test_server()->InitializeAndWaitUntilReady()); |
+ |
+ ASSERT_TRUE(RunPlatformAppTest("stubs_app")) << message_; |
+} |