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

Unified Diff: chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc

Issue 393343002: Rename "managed (mode|user)" to "supervised user" (part 7) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more alphabetize (and rebase again) Created 6 years, 5 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/chromeos/profiles/profile_list_chromeos_unittest.cc
diff --git a/chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc b/chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc
index 37f6900b183678fce5b1706e32abf92b00e6d4a1..8022a2cad2fcd7a383e6aa35f17c1f3ebcb4e93c 100644
--- a/chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc
+++ b/chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc
@@ -165,19 +165,19 @@ TEST_F(ProfileListChromeOSTest, ShowLoggedInUsers) {
EXPECT_EQ(name3, item3.name);
}
-TEST_F(ProfileListChromeOSTest, DontShowManagedUsers) {
+TEST_F(ProfileListChromeOSTest, DontShowSupervisedUsers) {
base::string16 name1(ASCIIToUTF16("p1"));
- base::string16 managed_name(ASCIIToUTF16("p2@example.com"));
+ base::string16 supervised_name(ASCIIToUTF16("p2@example.com"));
AddProfile(name1, true);
// Add a managed user profile.
ProfileInfoCache* cache = manager()->profile_info_cache();
manager()->profile_info_cache()->AddProfileToCache(
- cache->GetUserDataDir().AppendASCII("p2"), managed_name,
+ cache->GetUserDataDir().AppendASCII("p2"), supervised_name,
base::string16(), 0, "TEST_ID");
- GetFakeUserManager()->AddUser(base::UTF16ToASCII(managed_name));
+ GetFakeUserManager()->AddUser(base::UTF16ToASCII(supervised_name));
AvatarMenu* menu = GetAvatarMenu();
ASSERT_EQ(1U, menu->GetNumberOfItems());

Powered by Google App Engine
This is Rietveld 408576698