From 8ed482e6d783c15ae77d0e63caa3f6a15f2bb149 Mon Sep 17 00:00:00 2001 From: solenberg Date: Fri, 24 Mar 2017 03:31:01 -0700 Subject: [PATCH] Remove voe_base_misc_test.cc. Only one test case in it, testing an API which is deprecated. BUG=webrtc:4690 Review-Url: https://codereview.webrtc.org/2757213002 Cr-Commit-Position: refs/heads/master@{#17372} --- webrtc/voice_engine/BUILD.gn | 1 - .../auto_test/standard/voe_base_misc_test.cc | 25 ------------------- 2 files changed, 26 deletions(-) delete mode 100644 webrtc/voice_engine/test/auto_test/standard/voe_base_misc_test.cc diff --git a/webrtc/voice_engine/BUILD.gn b/webrtc/voice_engine/BUILD.gn index 5e1cbd453c..7c54c37f67 100644 --- a/webrtc/voice_engine/BUILD.gn +++ b/webrtc/voice_engine/BUILD.gn @@ -272,7 +272,6 @@ if (rtc_include_tests) { "test/auto_test/standard/rtp_rtcp_before_streaming_test.cc", "test/auto_test/standard/rtp_rtcp_extensions.cc", "test/auto_test/standard/rtp_rtcp_test.cc", - "test/auto_test/standard/voe_base_misc_test.cc", "test/auto_test/voe_conference_test.cc", "test/auto_test/voe_standard_test.cc", "test/auto_test/voe_standard_test.h", diff --git a/webrtc/voice_engine/test/auto_test/standard/voe_base_misc_test.cc b/webrtc/voice_engine/test/auto_test/standard/voe_base_misc_test.cc deleted file mode 100644 index 736ff08765..0000000000 --- a/webrtc/voice_engine/test/auto_test/standard/voe_base_misc_test.cc +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2011 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 "webrtc/voice_engine/test/auto_test/fixtures/before_initialization_fixture.h" - -#include - -class VoeBaseMiscTest : public BeforeInitializationFixture { -}; - -using namespace testing; - -TEST_F(VoeBaseMiscTest, GetVersionPrintsSomeUsefulInformation) { - char char_buffer[1024]; - memset(char_buffer, 0, sizeof(char_buffer)); - EXPECT_EQ(0, voe_base_->GetVersion(char_buffer)); - EXPECT_THAT(char_buffer, ContainsRegex("VoiceEngine")); -}