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

Side by Side Diff: apps/app_shim/app_shim_quit_interactive_uitest_mac.mm

Issue 23003004: Move apps tests from c/b/extensions to c/b/apps and refine DEPS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Correct ordering in typi Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « apps/app_restore_service_browsertest.cc ('k') | apps/load_and_launch_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Tests behavior when quitting apps with app shims. 5 // Tests behavior when quitting apps with app shims.
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 #include "apps/app_shim/app_shim_host_manager_mac.h" 9 #include "apps/app_shim/app_shim_host_manager_mac.h"
10 #include "apps/app_shim/extension_app_shim_handler_mac.h" 10 #include "apps/app_shim/extension_app_shim_handler_mac.h"
11 #include "apps/switches.h" 11 #include "apps/switches.h"
12 #include "chrome/browser/apps/app_browsertest_util.h"
12 #include "chrome/browser/browser_process.h" 13 #include "chrome/browser/browser_process.h"
13 #include "chrome/browser/browser_shutdown.h" 14 #include "chrome/browser/browser_shutdown.h"
14 #include "chrome/browser/extensions/extension_service.h" 15 #include "chrome/browser/extensions/extension_service.h"
15 #include "chrome/browser/extensions/extension_test_message_listener.h" 16 #include "chrome/browser/extensions/extension_test_message_listener.h"
16 #include "chrome/browser/extensions/platform_app_browsertest_util.h"
17 #include "chrome/browser/profiles/profile.h" 17 #include "chrome/browser/profiles/profile.h"
18 #include "chrome/common/chrome_switches.h" 18 #include "chrome/common/chrome_switches.h"
19 #include "chrome/test/base/interactive_test_utils.h" 19 #include "chrome/test/base/interactive_test_utils.h"
20 #include "content/public/test/test_utils.h" 20 #include "content/public/test/test_utils.h"
21 #include "ui/base/test/cocoa_test_event_utils.h" 21 #include "ui/base/test/cocoa_test_event_utils.h"
22 22
23 using extensions::PlatformAppBrowserTest; 23 using extensions::PlatformAppBrowserTest;
24 24
25 namespace apps { 25 namespace apps {
26 26
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 atStart:NO]; 116 atStart:NO];
117 117
118 // This will time out if the event above does not terminate Chrome. 118 // This will time out if the event above does not terminate Chrome.
119 content::RunMessageLoop(); 119 content::RunMessageLoop();
120 120
121 EXPECT_FALSE(handler_->FindHost(profile(), extension_id_)); 121 EXPECT_FALSE(handler_->FindHost(profile(), extension_id_));
122 EXPECT_TRUE(browser_shutdown::IsTryingToQuit()); 122 EXPECT_TRUE(browser_shutdown::IsTryingToQuit());
123 } 123 }
124 124
125 } // namespace apps 125 } // namespace apps
OLDNEW
« no previous file with comments | « apps/app_restore_service_browsertest.cc ('k') | apps/load_and_launch_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698