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

Unified Diff: ui/app_list/views/search_result_page_view_unittest.cc

Issue 775893005: [AppList] Add a Suggestions Provider to applist. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test fix Created 6 years 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 | « ui/app_list/search_result.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/search_result_page_view_unittest.cc
diff --git a/ui/app_list/views/search_result_page_view_unittest.cc b/ui/app_list/views/search_result_page_view_unittest.cc
index 33cdaed8d5d8387ecfc61fbf5e4e0b9e98a21c6c..428f9f31356b9c950ee4ee7a42e7943188ca2ad3 100644
--- a/ui/app_list/views/search_result_page_view_unittest.cc
+++ b/ui/app_list/views/search_result_page_view_unittest.cc
@@ -83,8 +83,10 @@ TEST_F(SearchResultPageViewTest, Basic) {
std::map<SearchResult::DisplayType, int> result_types;
const int kListResults = 2;
const int kTileResults = 1;
+ const int kNoneResults = 3;
result_types[SearchResult::DISPLAY_LIST] = kListResults;
result_types[SearchResult::DISPLAY_TILE] = kTileResults;
+ result_types[SearchResult::DISPLAY_NONE] = kNoneResults;
SetUpSearchResults(result_types);
EXPECT_EQ(0, GetSelectedIndex());
« no previous file with comments | « ui/app_list/search_result.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698