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

Unified Diff: chrome/browser/extensions/extension_management_api_browsertest.cc

Issue 3462011: Manual merge of 60334 - Add a launchApp method to extension management API.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/517/src/
Patch Set: Created 10 years, 3 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/browser/extensions/extension_management_api_browsertest.cc
===================================================================
--- chrome/browser/extensions/extension_management_api_browsertest.cc (revision 60491)
+++ chrome/browser/extensions/extension_management_api_browsertest.cc (working copy)
@@ -28,3 +28,16 @@
test_data_dir_.AppendASCII("api_test/management/enabled_extension")));
ASSERT_TRUE(listener2.WaitUntilSatisfied());
}
+
+IN_PROC_BROWSER_TEST_F(ExtensionManagementApiBrowserTest, LaunchApp) {
+ ExtensionTestMessageListener listener1("app_launched");
+ ExtensionTestMessageListener listener2("got_expected_error");
+ ASSERT_TRUE(LoadExtension(
+ test_data_dir_.AppendASCII("management/simple_extension")));
+ ASSERT_TRUE(LoadExtension(
+ test_data_dir_.AppendASCII("management/packaged_app")));
+ ASSERT_TRUE(LoadExtension(
+ test_data_dir_.AppendASCII("management/launch_app")));
+ ASSERT_TRUE(listener1.WaitUntilSatisfied());
+ ASSERT_TRUE(listener2.WaitUntilSatisfied());
+}
« no previous file with comments | « chrome/browser/extensions/extension_management_api.cc ('k') | chrome/common/extensions/api/extension_api.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698