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

Unified Diff: remoting/protocol/jingle_session_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/protocol/connection_to_client_unittest.cc ('k') | remoting/protocol/message_reader_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/jingle_session_unittest.cc
diff --git a/remoting/protocol/jingle_session_unittest.cc b/remoting/protocol/jingle_session_unittest.cc
index 809dd65130ca31e6f9bd49b7bda4be4b32c80762..433356b762a1ea1a22a4ff228a8b0e6e4b1ae95b 100644
--- a/remoting/protocol/jingle_session_unittest.cc
+++ b/remoting/protocol/jingle_session_unittest.cc
@@ -117,7 +117,7 @@ class JingleSessionTest : public testing::Test {
virtual void TearDown() {
CloseSessions();
CloseSessionManager();
- message_loop_->RunAllPending();
+ message_loop_->RunUntilIdle();
}
void CloseSessions() {
@@ -224,7 +224,7 @@ class JingleSessionTest : public testing::Test {
CandidateSessionConfig::CreateDefault());
client_session_->SetEventHandler(&client_session_event_handler_);
- message_loop_->RunAllPending();
+ message_loop_->RunUntilIdle();
}
void CreateChannel() {
@@ -307,7 +307,7 @@ TEST_F(JingleSessionTest, RejectConnection) {
kHostJid, authenticator.Pass(), CandidateSessionConfig::CreateDefault());
client_session_->SetEventHandler(&client_session_event_handler_);
- message_loop_->RunAllPending();
+ message_loop_->RunUntilIdle();
}
// Verify that we can connect two endpoints with single-step authentication.
« no previous file with comments | « remoting/protocol/connection_to_client_unittest.cc ('k') | remoting/protocol/message_reader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698