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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/ntp/snippets/ArticleSnippetsTest.java

Issue 2663313002: 📰 Merge the has_fetch_more and has_reload actions (Closed)
Patch Set: fix tests pt 2 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/snippets/ArticleSnippetsTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/snippets/ArticleSnippetsTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/snippets/ArticleSnippetsTest.java
index 035184630c2d44ceea6e93089442e9607c8d3e75..61acebd511f61f936b1f9b3c60abce37cac2257e 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/snippets/ArticleSnippetsTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/snippets/ArticleSnippetsTest.java
@@ -156,7 +156,7 @@ private void setupTestData() {
mSnippetsSource.setInfoForCategory(
fullCategory, new SuggestionsCategoryInfo(fullCategory, "Section Title",
- ContentSuggestionsCardLayout.FULL_CARD, false, false, false,
+ ContentSuggestionsCardLayout.FULL_CARD, false, false,
true, "No suggestions"));
mSnippetsSource.setStatusForCategory(fullCategory, CategoryStatus.AVAILABLE);
mSnippetsSource.setSuggestionsForCategory(
@@ -165,7 +165,7 @@ private void setupTestData() {
mSnippetsSource.setInfoForCategory(
minimalCategory, new SuggestionsCategoryInfo(minimalCategory, "Section Title",
ContentSuggestionsCardLayout.MINIMAL_CARD, false, false,
- false, true, "No suggestions"));
+ true, "No suggestions"));
mSnippetsSource.setStatusForCategory(minimalCategory, CategoryStatus.AVAILABLE);
mSnippetsSource.setSuggestionsForCategory(
minimalCategory, Arrays.asList(minimalSnippet, minimalSnippet2));

Powered by Google App Engine
This is Rietveld 408576698