Fix for FileTest failure in vie_auto_test
Review URL: https://webrtc-codereview.appspot.com/570004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2177 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
1ea25b4c3d
commit
c2f8832a32
@ -464,9 +464,8 @@ void ViEAutoTest::ViEFileStandardTest()
|
||||
EXPECT_EQ(0, ptrViEBase->DisconnectAudioChannel(videoChannel));
|
||||
EXPECT_EQ(0, ptrViEBase->SetVoiceEngine(NULL));
|
||||
EXPECT_EQ(0, ptrVEBase->DeleteChannel(audioChannel));
|
||||
// VoE reference counting is per-object, so we use EXPECT_NE
|
||||
EXPECT_NE(0, ptrVEBase->Release());
|
||||
EXPECT_NE(0, ptrVECodec->Release());
|
||||
EXPECT_EQ(0, ptrVEBase->Release());
|
||||
EXPECT_EQ(0, ptrVECodec->Release());
|
||||
EXPECT_TRUE(webrtc::VoiceEngine::Delete(ptrVEEngine));
|
||||
|
||||
EXPECT_EQ(0, ptrViEBase->StopReceive(videoChannel));
|
||||
|
Loading…
x
Reference in New Issue
Block a user