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

Unified Diff: components/ntp_snippets/offline_pages/recent_tab_suggestions_provider_unittest.cc

Issue 2751093003: Unifies the additional actions for Categories (Closed)
Patch Set: Fix compilation on Android (hopefully) Created 3 years, 9 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: components/ntp_snippets/offline_pages/recent_tab_suggestions_provider_unittest.cc
diff --git a/components/ntp_snippets/offline_pages/recent_tab_suggestions_provider_unittest.cc b/components/ntp_snippets/offline_pages/recent_tab_suggestions_provider_unittest.cc
index 0fecc96e67b0164ffcededa90513d7ee04d4e19e..0801f7ae6ce295141267283a972551f0b4427144 100644
--- a/components/ntp_snippets/offline_pages/recent_tab_suggestions_provider_unittest.cc
+++ b/components/ntp_snippets/offline_pages/recent_tab_suggestions_provider_unittest.cc
@@ -222,11 +222,9 @@ TEST_F(RecentTabSuggestionsProviderTest, ShouldSortByCreationTime) {
}
TEST_F(RecentTabSuggestionsProviderTest, ShouldDeliverCorrectCategoryInfo) {
- EXPECT_FALSE(
- provider()->GetCategoryInfo(recent_tabs_category()).has_fetch_action());
- EXPECT_FALSE(provider()
- ->GetCategoryInfo(recent_tabs_category())
- .has_view_all_action());
+ EXPECT_EQ(
+ ContentSuggestionsAdditionalAction::NONE,
+ provider()->GetCategoryInfo(recent_tabs_category()).additional_action());
}
// TODO(vitaliii): Break this test into multiple tests. Currently if it fails,

Powered by Google App Engine
This is Rietveld 408576698