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

Unified Diff: ash/system/user/tray_user_unittest.cc

Issue 15718003: Add SessionStateObserver with ActiveUserChanged() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge & add SessionStateDelegateChromeos Created 7 years, 6 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
« no previous file with comments | « ash/system/user/tray_user.cc ('k') | ash/test/test_session_state_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/user/tray_user_unittest.cc
diff --git a/ash/system/user/tray_user_unittest.cc b/ash/system/user/tray_user_unittest.cc
index b2f8a43ee2ab3a4ee4107497b16bc19f5dace1b9..7d7b066f438f732bae04385a9bb718ce9163ff2f 100644
--- a/ash/system/user/tray_user_unittest.cc
+++ b/ash/system/user/tray_user_unittest.cc
@@ -140,7 +140,7 @@ TEST_F(TrayUserTest, SingleUserModeDoesNotAllowAddingUser) {
ash::internal::TrayUser::HIDDEN,
tray_user(i)->GetStateForTest());
- tray()->CloseSystemBubbleForTest();
+ tray()->CloseSystemBubble();
}
// Make sure that in multi user mode the user panel can be activated and there
@@ -207,7 +207,7 @@ TEST_F(TrayUserTest, MutiUserModeDoesNotAllowToAddUser) {
tray_user(0)->GetStateForTest());
// Close and check that everything is deleted.
- tray()->CloseSystemBubbleForTest();
+ tray()->CloseSystemBubble();
EXPECT_FALSE(tray()->IsAnyBubbleVisible());
for (int i = 0; i < delegate()->GetMaximumNumberOfLoggedInUsers(); i++)
EXPECT_EQ(ash::internal::TrayUser::HIDDEN,
@@ -226,7 +226,7 @@ TEST_F(TrayUserTest, MutiUserModeButtonClicks) {
ClickUserItem(&generator, 1);
EXPECT_EQ(delegate()->get_activated_user(), delegate()->GetUserEmail(1));
- tray()->CloseSystemBubbleForTest();
+ tray()->CloseSystemBubble();
}
} // namespace internal
« no previous file with comments | « ash/system/user/tray_user.cc ('k') | ash/test/test_session_state_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698