| 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 f9e028268ef4eb961164ed764af98b7a50eaba0f..8908910e78ee3a2b2999351958e10b1b93c93b7a 100644
|
| --- a/jingle/notifier/listener/non_blocking_push_client_unittest.cc
|
| +++ b/jingle/notifier/listener/non_blocking_push_client_unittest.cc
|
| @@ -112,6 +112,14 @@ TEST_F(NonBlockingPushClientTest, SendNotification) {
|
| fake_push_client_->sent_notifications()[0].Equals(notification));
|
| }
|
|
|
| +// Make sure SendPing() gets delegated properly.
|
| +TEST_F(NonBlockingPushClientTest, SendPing) {
|
| + push_client_->SendPing();
|
| + EXPECT_EQ(0, fake_push_client_->sent_pings());
|
| + message_loop_.RunAllPending();
|
| + ASSERT_EQ(1, fake_push_client_->sent_pings());
|
| +}
|
| +
|
| // Make sure notification state changes get propagated back to the
|
| // parent.
|
| TEST_F(NonBlockingPushClientTest, NotificationStateChange) {
|
|
|