| Index: jingle/notifier/listener/non_blocking_push_client_unittest.cc
|
| diff --git a/jingle/notifier/listener/non_blocking_push_client_unittest.cc b/jingle/notifier/listener/non_blocking_push_client_unittest.cc
|
| index c4152259a75f05af8fd8f6042faaa8ec813f8016..1d2f42e71126107c5b68c765153ebc137e210478 100644
|
| --- a/jingle/notifier/listener/non_blocking_push_client_unittest.cc
|
| +++ b/jingle/notifier/listener/non_blocking_push_client_unittest.cc
|
| @@ -115,13 +115,13 @@ TEST_F(NonBlockingPushClientTest, SendNotification) {
|
| // Make sure notification state changes get propagated back to the
|
| // parent.
|
| TEST_F(NonBlockingPushClientTest, NotificationStateChange) {
|
| - EXPECT_FALSE(fake_observer_.notifications_enabled());
|
| - fake_push_client_->SimulateNotificationStateChange(true);
|
| + EXPECT_EQ(NOTIFICATIONS_OFF, fake_observer_.push_client_state());
|
| + fake_push_client_->SimulatePushClientStateChange(NOTIFICATIONS_ON);
|
| message_loop_.RunAllPending();
|
| - EXPECT_TRUE(fake_observer_.notifications_enabled());
|
| - fake_push_client_->SimulateNotificationStateChange(false);
|
| + EXPECT_EQ(NOTIFICATIONS_ON, fake_observer_.push_client_state());
|
| + fake_push_client_->SimulatePushClientStateChange(NOTIFICATIONS_OFF);
|
| message_loop_.RunAllPending();
|
| - EXPECT_FALSE(fake_observer_.notifications_enabled());
|
| + EXPECT_EQ(NOTIFICATIONS_OFF, fake_observer_.push_client_state());
|
| }
|
|
|
| // Make sure incoming notifications get propagated back to the parent.
|
|
|