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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/ntp/cards/NewTabPageRecyclerViewTest.java

Issue 2663313002: 📰 Merge the has_fetch_more and has_reload actions (Closed)
Patch Set: rebase Created 3 years, 11 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: chrome/android/javatests/src/org/chromium/chrome/browser/ntp/cards/NewTabPageRecyclerViewTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/cards/NewTabPageRecyclerViewTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/cards/NewTabPageRecyclerViewTest.java
index 0c3c0d0d49b4bdf335a89534a2d5d547aac268bc..c66f2ed0106be3bb72d325fea8a834b43d81374b 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/cards/NewTabPageRecyclerViewTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/cards/NewTabPageRecyclerViewTest.java
@@ -65,9 +65,8 @@ protected void setUp() throws Exception {
mSource = new FakeSuggestionsSource();
mSource.setInfoForCategory(KnownCategories.ARTICLES,
new SuggestionsCategoryInfo(KnownCategories.ARTICLES, "Articles test title",
- ContentSuggestionsCardLayout.FULL_CARD, /*hasMoreAction=*/true,
- /*hasReloadAction=*/true, /*hasViewAllAction=*/false, /*showIfEmpty=*/true,
- "noSuggestionsMessage"));
+ ContentSuggestionsCardLayout.FULL_CARD, /*hasFetchAction=*/true,
+ /*hasViewAllAction=*/false, /*showIfEmpty=*/true, "noSuggestionsMessage"));
mSource.setStatusForCategory(KnownCategories.ARTICLES, CategoryStatus.INITIALIZING);
NewTabPage.setSuggestionsSourceForTests(mSource);

Powered by Google App Engine
This is Rietveld 408576698