Commit bc5c61c3 authored by sergeyu@chromium.org's avatar sergeyu@chromium.org

Fixed GMock warning about unexpected call in remoting_unittests.

BUG=None
TEST=unittests

Review URL: http://codereview.chromium.org/3181034

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57212 0039d316-1c4b-4281-b951-d872f2087c98
parent 32f36eaa
...@@ -138,6 +138,10 @@ TEST(JingleChannelTest, Close) { ...@@ -138,6 +138,10 @@ TEST(JingleChannelTest, Close) {
channel->thread_ = &thread; channel->thread_ = &thread;
channel->stream_.reset(stream); channel->stream_.reset(stream);
channel->state_ = JingleChannel::OPEN; channel->state_ = JingleChannel::OPEN;
EXPECT_CALL(callback, OnStateChange(channel.get(), JingleChannel::CLOSED))
.Times(1);
thread.Start(); thread.Start();
channel->Close(); channel->Close();
thread.Stop(); thread.Stop();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment