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

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

Issue 2463133002: 📰 Make the MORE button more configurable (Closed)
Patch Set: Created 4 years, 1 month 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 2688b518a116145681defc770dbfc367d41e0155..e9b28b81aadbd12d5d964440c930b18279fd4ccf 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
@@ -176,7 +176,12 @@ TEST_F(RecentTabSuggestionsProviderTest, ShouldSortByMostRecentlyVisited) {
TEST_F(RecentTabSuggestionsProviderTest, ShouldDeliverCorrectCategoryInfo) {
EXPECT_FALSE(
- provider()->GetCategoryInfo(recent_tabs_category()).has_more_button());
+ provider()->GetCategoryInfo(recent_tabs_category()).has_more_action());
+ EXPECT_FALSE(
+ provider()->GetCategoryInfo(recent_tabs_category()).has_reload_action());
+ EXPECT_FALSE(provider()
+ ->GetCategoryInfo(recent_tabs_category())
+ .has_view_all_action());
}
TEST_F(RecentTabSuggestionsProviderTest, ShouldDismiss) {

Powered by Google App Engine
This is Rietveld 408576698