Index: voice_engine/test/auto_test/fixtures/before_initialization_fixture.cc |
diff --git a/voice_engine/test/auto_test/fixtures/before_initialization_fixture.cc b/voice_engine/test/auto_test/fixtures/before_initialization_fixture.cc |
deleted file mode 100644 |
index b647e88a86b2d653bf4ffeb5807bc82a29923954..0000000000000000000000000000000000000000 |
--- a/voice_engine/test/auto_test/fixtures/before_initialization_fixture.cc |
+++ /dev/null |
@@ -1,38 +0,0 @@ |
-/* |
- * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
- * |
- * Use of this source code is governed by a BSD-style license |
- * that can be found in the LICENSE file in the root of the source |
- * tree. An additional intellectual property rights grant can be found |
- * in the file PATENTS. All contributing project authors may |
- * be found in the AUTHORS file in the root of the source tree. |
- */ |
- |
-#include "voice_engine/test/auto_test/fixtures/before_initialization_fixture.h" |
- |
-#include "system_wrappers/include/sleep.h" |
- |
-BeforeInitializationFixture::BeforeInitializationFixture() |
- : voice_engine_(webrtc::VoiceEngine::Create()) { |
- EXPECT_TRUE(voice_engine_ != NULL); |
- |
- voe_base_ = webrtc::VoEBase::GetInterface(voice_engine_); |
- voe_codec_ = webrtc::VoECodec::GetInterface(voice_engine_); |
- voe_rtp_rtcp_ = webrtc::VoERTP_RTCP::GetInterface(voice_engine_); |
- voe_network_ = webrtc::VoENetwork::GetInterface(voice_engine_); |
- voe_file_ = webrtc::VoEFile::GetInterface(voice_engine_); |
-} |
- |
-BeforeInitializationFixture::~BeforeInitializationFixture() { |
- voe_base_->Release(); |
- voe_codec_->Release(); |
- voe_rtp_rtcp_->Release(); |
- voe_network_->Release(); |
- voe_file_->Release(); |
- |
- EXPECT_TRUE(webrtc::VoiceEngine::Delete(voice_engine_)); |
-} |
- |
-void BeforeInitializationFixture::Sleep(long milliseconds) { |
- webrtc::SleepMs(milliseconds); |
-} |