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

Unified Diff: chrome/android/junit/src/org/chromium/chrome/browser/notifications/ChannelsUpdaterTest.java

Issue 2814603003: [Android O] Split out browser notification channels (Closed)
Patch Set: Fix up ChannelsUpdaterTest expectations Created 3 years, 8 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
« no previous file with comments | « chrome/android/junit/src/org/chromium/chrome/browser/notifications/ChannelsInitializerTest.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/junit/src/org/chromium/chrome/browser/notifications/ChannelsUpdaterTest.java
diff --git a/chrome/android/junit/src/org/chromium/chrome/browser/notifications/ChannelsUpdaterTest.java b/chrome/android/junit/src/org/chromium/chrome/browser/notifications/ChannelsUpdaterTest.java
index fbc3ac725ec5b589c3d8fd6d0e0d643cc83e70d2..e3ef2f47922d7717fadb108e6f2f663476044c11 100644
--- a/chrome/android/junit/src/org/chromium/chrome/browser/notifications/ChannelsUpdaterTest.java
+++ b/chrome/android/junit/src/org/chromium/chrome/browser/notifications/ChannelsUpdaterTest.java
@@ -85,7 +85,10 @@ public class ChannelsUpdaterTest {
assertThat(mMockNotificationManager.getChannels().size(), is(greaterThan(0)));
assertThat(mMockNotificationManager.getNotificationChannelIds(),
containsInAnyOrder(ChannelsInitializer.CHANNEL_ID_BROWSER,
- ChannelsInitializer.CHANNEL_ID_SITES));
+ ChannelsInitializer.CHANNEL_ID_DOWNLOADS,
+ ChannelsInitializer.CHANNEL_ID_INCOGNITO,
+ ChannelsInitializer.CHANNEL_ID_SITES,
+ ChannelsInitializer.CHANNEL_ID_MEDIA));
assertThat(mMockSharedPreferences.getInt(ChannelsUpdater.CHANNELS_VERSION_KEY, -1), is(21));
}
@@ -108,6 +111,9 @@ public class ChannelsUpdaterTest {
assertThat(mMockNotificationManager.getNotificationChannelIds(),
containsInAnyOrder(ChannelsInitializer.CHANNEL_ID_BROWSER,
- ChannelsInitializer.CHANNEL_ID_SITES));
+ ChannelsInitializer.CHANNEL_ID_DOWNLOADS,
+ ChannelsInitializer.CHANNEL_ID_INCOGNITO,
+ ChannelsInitializer.CHANNEL_ID_SITES,
+ ChannelsInitializer.CHANNEL_ID_MEDIA));
}
}
« no previous file with comments | « chrome/android/junit/src/org/chromium/chrome/browser/notifications/ChannelsInitializerTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698