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

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

Issue 2463133002: 📰 Make the MORE button more configurable (Closed)
Patch Set: rebase 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 1d25e4a046004b70ec59d379e87f0888b6735420..18c6bd0a8e04e95d2e658e5ce66df872d00a79e6 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
@@ -147,7 +147,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