diff options
Diffstat (limited to 'jingle/notifier')
-rw-r--r-- | jingle/notifier/communicator/xmpp_connection_generator_unittest.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/jingle/notifier/communicator/xmpp_connection_generator_unittest.cc b/jingle/notifier/communicator/xmpp_connection_generator_unittest.cc index daa421f..04da3df 100644 --- a/jingle/notifier/communicator/xmpp_connection_generator_unittest.cc +++ b/jingle/notifier/communicator/xmpp_connection_generator_unittest.cc @@ -65,6 +65,8 @@ TEST_F(XmppConnectionGeneratorTest, DnsFailure) { } TEST_F(XmppConnectionGeneratorTest, DnsFailureSynchronous) { + MessageLoop message_loop; + EXPECT_CALL(delegate_, OnNewSettings(_)).Times(0); EXPECT_CALL(delegate_, OnExhaustedSettings(_, _)).Times(1); @@ -90,6 +92,8 @@ TEST_F(XmppConnectionGeneratorTest, ConnectionFailure) { } TEST_F(XmppConnectionGeneratorTest, ConnectionFailureSynchronous) { + MessageLoop message_loop; + EXPECT_CALL(delegate_, OnNewSettings(_)). Times(5). WillRepeatedly( |