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

Unified Diff: remoting/jingle_glue/jingle_channel_unittest.cc

Issue 3181034: Fixed GMock warning about unexpected call in remoting_unittests. (Closed)
Patch Set: Created 10 years, 4 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/jingle_glue/jingle_channel_unittest.cc
diff --git a/remoting/jingle_glue/jingle_channel_unittest.cc b/remoting/jingle_glue/jingle_channel_unittest.cc
index 140f6daba7f863c2eaaba9d7a3b58da8e955a4cf..94bb137ca1649de217d46fec97c6e4ca03f24dfd 100644
--- a/remoting/jingle_glue/jingle_channel_unittest.cc
+++ b/remoting/jingle_glue/jingle_channel_unittest.cc
@@ -138,6 +138,10 @@ TEST(JingleChannelTest, Close) {
channel->thread_ = &thread;
channel->stream_.reset(stream);
channel->state_ = JingleChannel::OPEN;
+
+ EXPECT_CALL(callback, OnStateChange(channel.get(), JingleChannel::CLOSED))
+ .Times(1);
+
thread.Start();
channel->Close();
thread.Stop();
« 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