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

Unified Diff: remoting/protocol/jingle_session_unittest.cc

Issue 10815023: [Chromoting] Fix unit test warnings introduced in r146455. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months 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 | « no previous file | no next file » | 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 95a1de50a6e0b23a7a9f945bcc776ad60965e7b9..cab23af9c2ff2828e1c74a40209526aa1459dedf 100644
--- a/remoting/protocol/jingle_session_unittest.cc
+++ b/remoting/protocol/jingle_session_unittest.cc
@@ -196,6 +196,9 @@ class JingleSessionTest : public testing::Test {
.Times(AtMost(1));
}
}
+ EXPECT_CALL(host_session_event_handler_,
+ OnSessionRouteChange(kChannelName, _))
+ .Times(AtMost(1));
Sergey Ulanov 2012/07/23 21:44:26 It might be flaky with AtMost(1). It should be AtL
simonmorris 2012/07/23 22:00:06 That makes the Connect* tests fail. I've removed t
{
InSequence dummy;
@@ -217,6 +220,9 @@ class JingleSessionTest : public testing::Test {
.Times(AtMost(1));
}
}
+ EXPECT_CALL(client_session_event_handler_,
+ OnSessionRouteChange(kChannelName, _))
+ .Times(AtMost(1));
scoped_ptr<Authenticator> authenticator(new FakeAuthenticator(
FakeAuthenticator::CLIENT, auth_round_trips, auth_action, true));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698