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

Side by Side Diff: chrome/browser/ui/cocoa/profiles/user_manager_mac_unittest.mm

Issue 229163004: [Mac] Move profile related UI from cocoa/browser to cocoa/profiles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: oops forgot a comment Created 6 years, 8 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
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 #include "chrome/browser/ui/cocoa/user_manager_mac.h" 5 #include "chrome/browser/ui/cocoa/profiles/user_manager_mac.h"
6 6
7 #include "base/run_loop.h" 7 #include "base/run_loop.h"
8 #include "chrome/browser/profiles/profile_window.h" 8 #include "chrome/browser/profiles/profile_window.h"
9 #include "chrome/test/base/browser_with_test_window_test.h" 9 #include "chrome/test/base/browser_with_test_window_test.h"
10 #include "chrome/test/base/testing_browser_process.h" 10 #include "chrome/test/base/testing_browser_process.h"
11 #include "chrome/test/base/testing_profile_manager.h" 11 #include "chrome/test/base/testing_profile_manager.h"
12 12
13 class UserManagerMacTest : public BrowserWithTestWindowTest { 13 class UserManagerMacTest : public BrowserWithTestWindowTest {
14 public: 14 public:
15 UserManagerMacTest() 15 UserManagerMacTest()
(...skipping 22 matching lines...) Expand all
38 }; 38 };
39 39
40 TEST_F(UserManagerMacTest, ShowUserManager) { 40 TEST_F(UserManagerMacTest, ShowUserManager) {
41 EXPECT_FALSE(UserManagerMac::IsShowing()); 41 EXPECT_FALSE(UserManagerMac::IsShowing());
42 UserManagerMac::Show(base::FilePath(), profiles::USER_MANAGER_NO_TUTORIAL); 42 UserManagerMac::Show(base::FilePath(), profiles::USER_MANAGER_NO_TUTORIAL);
43 EXPECT_TRUE(UserManagerMac::IsShowing()); 43 EXPECT_TRUE(UserManagerMac::IsShowing());
44 44
45 UserManagerMac::Hide(); 45 UserManagerMac::Hide();
46 EXPECT_FALSE(UserManagerMac::IsShowing()); 46 EXPECT_FALSE(UserManagerMac::IsShowing());
47 } 47 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/profiles/user_manager_mac.mm ('k') | chrome/browser/ui/cocoa/user_manager_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698