Update srtp error value in channel unittests.

TBR=ronghuawu@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4557 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
mallinath@webrtc.org 2013-08-16 00:31:17 +00:00
parent 822fbd8b68
commit 4d3e8b8c1b

View File

@ -1794,7 +1794,7 @@ class ChannelTest : public testing::Test, public sigslot::has_slots<> {
transport_channel->SignalReadPacket( transport_channel->SignalReadPacket(
transport_channel, reinterpret_cast<const char*>(kBadPacket), transport_channel, reinterpret_cast<const char*>(kBadPacket),
sizeof(kBadPacket), 0); sizeof(kBadPacket), 0);
EXPECT_EQ_WAIT(T::MediaChannel::ERROR_PLAY_SRTP_AUTH_FAILED, error_, 500); EXPECT_EQ_WAIT(T::MediaChannel::ERROR_PLAY_SRTP_ERROR, error_, 500);
} }
void TestOnReadyToSend() { void TestOnReadyToSend() {