Fix crashing fake network pipe tests.

These tests are not included in bots, this will be fixed in a follow-up by pbos@webrtc.org.

R=pbos@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/13109004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6837 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
stefan@webrtc.org 2014-08-06 15:41:58 +00:00
parent 2a8df7c375
commit 1ccff349ee

View File

@ -41,6 +41,8 @@ class FakeNetworkPipeTest : public ::testing::Test {
virtual void SetUp() {
TickTime::UseFakeClock(12345);
receiver_.reset(new MockReceiver());
ON_CALL(*receiver_, DeliverPacket(_, _))
.WillByDefault(Return(PacketReceiver::DELIVERY_OK));
}
virtual void TearDown() {