Searched defs:mock_user_manager_ (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/login/
H A Dexisting_user_controller_auto_login_unittest.cc50 mock_user_manager_(new MockUserManager()),
51 scoped_user_manager_(mock_user_manager_) {
66 EXPECT_CALL(*mock_user_manager_, Shutdown()).Times(AnyNumber());
67 EXPECT_CALL(*mock_user_manager_, FindUser(_))
69 EXPECT_CALL(*mock_user_manager_, FindUser(auto_login_user_id_))
71 mock_user_manager_->CreatePublicAccountUser(auto_login_user_id_)));
159 MockUserManager* mock_user_manager_; member in class:chromeos::ExistingUserControllerAutoLoginTest
H A Dexisting_user_controller_browsertest.cc87 : mock_login_display_(NULL), mock_user_manager_(NULL) {}
134 mock_user_manager_ = new MockUserManager;
136 new ScopedUserManagerEnabler(mock_user_manager_));
137 EXPECT_CALL(*mock_user_manager_, IsKnownUser(kUsername))
140 EXPECT_CALL(*mock_user_manager_, IsKnownUser(kNewUsername))
143 EXPECT_CALL(*mock_user_manager_, IsUserLoggedIn())
146 EXPECT_CALL(*mock_user_manager_, IsLoggedInAsGuest())
149 EXPECT_CALL(*mock_user_manager_, IsLoggedInAsDemoUser())
152 EXPECT_CALL(*mock_user_manager_, IsLoggedInAsPublicAccount())
155 EXPECT_CALL(*mock_user_manager_, IsSessionStarte
220 MockUserManager* mock_user_manager_; // Not owned. member in class:chromeos::ExistingUserControllerTest
[all...]
H A Dkiosk_browsertest.cc240 mock_user_manager_.reset(new MockUserManager);
500 MockUserManager* mock_user_manager() { return mock_user_manager_.get(); }
511 scoped_ptr<MockUserManager> mock_user_manager_; member in class:chromeos::KioskTest
/external/chromium_org/chrome/browser/chromeos/attestation/
H A Dplatform_verification_flow_unittest.cc60 mock_user_manager_.SetActiveUser(kTestEmail);
93 return mock_user_manager_.GetActiveUser();
129 MockUserManager mock_user_manager_; member in class:chromeos::attestation::__anon2958::FakeDelegate
/external/chromium_org/chrome/browser/chromeos/display/
H A Ddisplay_preferences_unittest.cc44 : mock_user_manager_(new MockUserManager),
45 user_manager_enabler_(mock_user_manager_) {
51 EXPECT_CALL(*mock_user_manager_, IsUserLoggedIn())
53 EXPECT_CALL(*mock_user_manager_, Shutdown());
67 EXPECT_CALL(*mock_user_manager_, IsUserLoggedIn())
69 EXPECT_CALL(*mock_user_manager_, IsLoggedInAsRegularUser())
74 EXPECT_CALL(*mock_user_manager_, IsUserLoggedIn())
76 EXPECT_CALL(*mock_user_manager_, IsLoggedInAsRegularUser())
78 EXPECT_CALL(*mock_user_manager_, IsLoggedInAsLocallyManagedUser())
156 MockUserManager* mock_user_manager_; // No member in class:chromeos::__anon2978::DisplayPreferencesTest
[all...]
/external/chromium_org/chrome/browser/chromeos/events/
H A Devent_rewriter_unittest.cc196 mock_user_manager_(new chromeos::MockUserManager),
197 user_manager_enabler_(mock_user_manager_),
203 EXPECT_CALL(*mock_user_manager_, IsLoggedInAsGuest())
231 chromeos::MockUserManager* mock_user_manager_; // Not owned. member in class:chromeos::EventRewriterTest
1616 : mock_user_manager_(new chromeos::MockUserManager),
1617 user_manager_enabler_(mock_user_manager_) {}
1643 chromeos::MockUserManager* mock_user_manager_; // Not owned. member in class:chromeos::EventRewriterAshTest
/external/chromium_org/chrome/browser/apps/
H A Dapp_browsertest.cc1180 mock_user_manager_(NULL) {}
1199 mock_user_manager_ = new chromeos::MockUserManager;
1201 new chromeos::ScopedUserManagerEnabler(mock_user_manager_));
1203 EXPECT_CALL(*mock_user_manager_, IsUserLoggedIn())
1205 EXPECT_CALL(*mock_user_manager_, IsLoggedInAsKioskApp())
1224 chromeos::MockUserManager* mock_user_manager_; member in class:extensions::RestartDeviceTest
/external/chromium_org/chrome/browser/chromeos/system/
H A Dautomatic_reboot_manager_unittest.cc186 MockUserManager* mock_user_manager_; // Not owned. member in class:chromeos::system::AutomaticRebootManagerBasicTest
337 mock_user_manager_(new MockUserManager),
338 user_manager_enabler_(mock_user_manager_) {
369 EXPECT_CALL(*mock_user_manager_, IsUserLoggedIn())
371 EXPECT_CALL(*mock_user_manager_, IsLoggedInAsKioskApp())

Completed in 347 milliseconds