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

Unified Diff: chrome/browser/local_discovery/privet_notifications_unittest.cc

Issue 1103293004: Use ICU plural syntax in more place (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Peter's comments addressed Created 5 years, 7 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/browser/local_discovery/privet_notifications_unittest.cc
diff --git a/chrome/browser/local_discovery/privet_notifications_unittest.cc b/chrome/browser/local_discovery/privet_notifications_unittest.cc
index c96a52b5784760477f80956983c00f8af17fbf2c..b4c437007380d9ab18fc6ac46927ae220e7ee611 100644
--- a/chrome/browser/local_discovery/privet_notifications_unittest.cc
+++ b/chrome/browser/local_discovery/privet_notifications_unittest.cc
@@ -33,7 +33,7 @@ const char kInfoResponseNoUptime[] = "{}";
class MockPrivetNotificationsListenerDeleagate
: public PrivetNotificationsListener::Delegate {
public:
- MOCK_METHOD2(PrivetNotify, void(bool multiple, bool added));
+ MOCK_METHOD2(PrivetNotify, void(int devices_active, bool added));
MOCK_METHOD0(PrivetRemoveNotification, void());
};
@@ -123,7 +123,7 @@ class PrivetNotificationsListenerTest : public ::testing::Test {
TEST_F(PrivetNotificationsListenerTest, DisappearReappearTest) {
EXPECT_CALL(mock_delegate_, PrivetNotify(
- false,
+ 1,
true));
notification_listener_->DeviceChanged(
@@ -153,7 +153,7 @@ TEST_F(PrivetNotificationsListenerTest, DisappearReappearTest) {
TEST_F(PrivetNotificationsListenerTest, RegisterTest) {
EXPECT_CALL(mock_delegate_, PrivetNotify(
- false,
+ 1,
true));
notification_listener_->DeviceChanged(

Powered by Google App Engine
This is Rietveld 408576698