| Index: ui/app_list/cocoa/apps_search_box_controller_unittest.mm
|
| diff --git a/ui/app_list/cocoa/apps_search_box_controller_unittest.mm b/ui/app_list/cocoa/apps_search_box_controller_unittest.mm
|
| index d702549e7a18da99e7b8a813e607d36f72fe0739..eb3898219b2e65b6ad15968b16aa3d59a4091c9c 100644
|
| --- a/ui/app_list/cocoa/apps_search_box_controller_unittest.mm
|
| +++ b/ui/app_list/cocoa/apps_search_box_controller_unittest.mm
|
| @@ -52,6 +52,14 @@
|
| return 3;
|
| }
|
|
|
| +- (NSString*)currentUserName {
|
| + return @"";
|
| +}
|
| +
|
| +- (NSString*)currentUserEmail {
|
| + return @"";
|
| +}
|
| +
|
| @end
|
|
|
| namespace app_list {
|
| @@ -168,9 +176,9 @@ class AppsSearchBoxCustomMenuItemTest : public ui::CocoaTest {
|
| }
|
|
|
| virtual void SetUp() OVERRIDE {
|
| - scoped_ptr<AppListViewDelegate> delegate(new AppListTestViewDelegate);
|
| current_user_menu_item_.reset([[[CurrentUserMenuItemView alloc]
|
| - initWithDelegate:delegate.get()] retain]);
|
| + initWithCurrentUser:@"testUser"
|
| + userEmail:@"testUser@chromium.org"] retain]);
|
| ui::CocoaTest::SetUp();
|
| [[test_window() contentView] addSubview:current_user_menu_item_];
|
| }
|
|
|