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

Unified Diff: remoting/host/register_support_host_request_unittest.cc

Issue 11364031: remoting: Update calls froms RunAllPending() to RunUntilIdle(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | « remoting/host/host_key_pair_unittest.cc ('k') | remoting/jingle_glue/iq_sender_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/register_support_host_request_unittest.cc
diff --git a/remoting/host/register_support_host_request_unittest.cc b/remoting/host/register_support_host_request_unittest.cc
index 4f091b8d9ece2e42ac469c1826d109be16751654..0eb1c5f61405a20674082481ff3bf67ff21cf29c 100644
--- a/remoting/host/register_support_host_request_unittest.cc
+++ b/remoting/host/register_support_host_request_unittest.cc
@@ -90,7 +90,7 @@ TEST_F(RegisterSupportHostRequestTest, Send) {
.WillOnce(DoAll(SaveArg<0>(&sent_iq), Return(true)));
request->OnSignalStrategyStateChange(SignalStrategy::CONNECTED);
- message_loop_.RunAllPending();
+ message_loop_.RunUntilIdle();
// Verify format of the query.
scoped_ptr<XmlElement> stanza(sent_iq);
@@ -155,7 +155,7 @@ TEST_F(RegisterSupportHostRequestTest, Send) {
}
EXPECT_EQ(1, consumed);
- message_loop_.RunAllPending();
+ message_loop_.RunUntilIdle();
}
} // namespace remoting
« no previous file with comments | « remoting/host/host_key_pair_unittest.cc ('k') | remoting/jingle_glue/iq_sender_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698