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

Unified Diff: chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SectionListTest.java

Issue 2650213004: [Android NTP] Notify about correct number of removed suggestions when clearing all but first N noti… (Closed)
Patch Set: sync 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/junit/src/org/chromium/chrome/browser/ntp/cards/SectionListTest.java
diff --git a/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SectionListTest.java b/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SectionListTest.java
index 4d27499603fe6c6cdcd0de431fd25a1e6aa9a5bf..e8d0cad765933dd7834acdcd663da5a61fff99cf 100644
--- a/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SectionListTest.java
+++ b/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SectionListTest.java
@@ -225,11 +225,11 @@ public class SectionListTest {
bindViewHolders(sectionList);
assertThat(sectionList.getSectionForTesting(KnownCategories.ARTICLES)
- .getActionItem()
+ .getActionItemForTesting()
.getPerSectionRank(),
equalTo(0));
assertThat(sectionList.getSectionForTesting(KnownCategories.DOWNLOADS)
- .getActionItem()
+ .getActionItemForTesting()
.getPerSectionRank(),
equalTo(3));
}

Powered by Google App Engine
This is Rietveld 408576698