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

Side by Side Diff: ui/app_list/cocoa/apps_search_results_controller_unittest.mm

Issue 17390010: Use a direct include of strings headers, delete some strings forwarding headers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: one less deleted file 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/app_list/cocoa/app_list_view_controller.mm ('k') | ui/views/examples/multiline_example.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #import "ui/app_list/cocoa/apps_search_results_controller.h" 5 #import "ui/app_list/cocoa/apps_search_results_controller.h"
6 6
7 #include "base/memory/scoped_nsobject.h" 7 #include "base/memory/scoped_nsobject.h"
8 #include "base/stringprintf.h" 8 #include "base/strings/stringprintf.h"
9 #include "base/strings/sys_string_conversions.h" 9 #include "base/strings/sys_string_conversions.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #import "testing/gtest_mac.h" 11 #import "testing/gtest_mac.h"
12 #include "ui/app_list/search_result.h" 12 #include "ui/app_list/search_result.h"
13 #include "ui/app_list/test/app_list_test_model.h" 13 #include "ui/app_list/test/app_list_test_model.h"
14 #import "ui/base/test/ui_cocoa_test_helper.h" 14 #import "ui/base/test/ui_cocoa_test_helper.h"
15 #include "ui/gfx/image/image_skia_util_mac.h" 15 #include "ui/gfx/image/image_skia_util_mac.h"
16 16
17 @interface TestAppsSearchResultsDelegate : NSObject<AppsSearchResultsDelegate> { 17 @interface TestAppsSearchResultsDelegate : NSObject<AppsSearchResultsDelegate> {
18 @private 18 @private
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 // Test activating items. 219 // Test activating items.
220 EXPECT_TRUE(SimulateKeyAction(@selector(insertNewline:))); 220 EXPECT_TRUE(SimulateKeyAction(@selector(insertNewline:)));
221 EXPECT_EQ(ModelResultAt(0), [delegate_ lastOpenedResult]); 221 EXPECT_EQ(ModelResultAt(0), [delegate_ lastOpenedResult]);
222 EXPECT_TRUE(SimulateKeyAction(@selector(moveDown:))); 222 EXPECT_TRUE(SimulateKeyAction(@selector(moveDown:)));
223 EXPECT_TRUE(SimulateKeyAction(@selector(insertNewline:))); 223 EXPECT_TRUE(SimulateKeyAction(@selector(insertNewline:)));
224 EXPECT_EQ(ModelResultAt(1), [delegate_ lastOpenedResult]); 224 EXPECT_EQ(ModelResultAt(1), [delegate_ lastOpenedResult]);
225 } 225 }
226 226
227 } // namespace test 227 } // namespace test
228 } // namespace app_list 228 } // namespace app_list
OLDNEW
« no previous file with comments | « ui/app_list/cocoa/app_list_view_controller.mm ('k') | ui/views/examples/multiline_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698