Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(454)

Unified Diff: voice_engine/voice_engine_fixture.cc

Issue 3016543002: Remove VoENetwork (Closed)
Patch Set: rebase Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: voice_engine/voice_engine_fixture.cc
diff --git a/voice_engine/voice_engine_fixture.cc b/voice_engine/voice_engine_fixture.cc
deleted file mode 100644
index c167b40135ec7067b89b359e7c75c86065171fc8..0000000000000000000000000000000000000000
--- a/voice_engine/voice_engine_fixture.cc
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (c) 2015 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/voice_engine_fixture.h"
-#include "modules/audio_processing/include/mock_audio_processing.h"
-
-namespace webrtc {
-
-VoiceEngineFixture::VoiceEngineFixture()
- : voe_(VoiceEngine::Create()),
- base_(VoEBase::GetInterface(voe_)),
- network_(VoENetwork::GetInterface(voe_)) {
- EXPECT_NE(nullptr, base_);
- EXPECT_NE(nullptr, network_);
- apm_ = new rtc::RefCountedObject<test::MockAudioProcessing>();
-}
-
-VoiceEngineFixture::~VoiceEngineFixture() {
- EXPECT_EQ(2, network_->Release());
- EXPECT_EQ(0, base_->Terminate());
- EXPECT_EQ(1, base_->Release());
- EXPECT_TRUE(VoiceEngine::Delete(voe_));
-}
-
-} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698