Remove CodecInst pt.1
Update audio_coding tests to not use CodecInst. Bug: webrtc:7626 Change-Id: I880fb8d72d7d0a915d274e67feb6106f023697c2 Reviewed-on: https://webrtc-review.googlesource.com/c/112594 Commit-Queue: Fredrik Solenberg <solenberg@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25879}
This commit is contained in:
committed by
Commit Bot
parent
450b548cad
commit
056f9738bf
@ -25,12 +25,8 @@
|
||||
#include "test/gtest.h"
|
||||
#include "test/testsupport/fileutils.h"
|
||||
|
||||
// This parameter is used to describe how to run the tests. It is normally
|
||||
// set to 0, and all tests are run in quite mode.
|
||||
#define ACM_TEST_MODE 0
|
||||
|
||||
TEST(AudioCodingModuleTest, TestAllCodecs) {
|
||||
webrtc::TestAllCodecs(ACM_TEST_MODE).Perform();
|
||||
webrtc::TestAllCodecs().Perform();
|
||||
}
|
||||
|
||||
#if defined(WEBRTC_ANDROID)
|
||||
@ -38,7 +34,7 @@ TEST(AudioCodingModuleTest, DISABLED_TestEncodeDecode) {
|
||||
#else
|
||||
TEST(AudioCodingModuleTest, TestEncodeDecode) {
|
||||
#endif
|
||||
webrtc::EncodeDecodeTest(ACM_TEST_MODE).Perform();
|
||||
webrtc::EncodeDecodeTest().Perform();
|
||||
}
|
||||
|
||||
TEST(AudioCodingModuleTest, TestRedFec) {
|
||||
@ -50,7 +46,7 @@ TEST(AudioCodingModuleTest, DISABLED_TestIsac) {
|
||||
#else
|
||||
TEST(AudioCodingModuleTest, TestIsac) {
|
||||
#endif
|
||||
webrtc::ISACTest(ACM_TEST_MODE).Perform();
|
||||
webrtc::ISACTest().Perform();
|
||||
}
|
||||
|
||||
#if (defined(WEBRTC_CODEC_ISAC) || defined(WEBRTC_CODEC_ISACFX)) && \
|
||||
@ -70,7 +66,7 @@ TEST(AudioCodingModuleTest, DISABLED_TestStereo) {
|
||||
#else
|
||||
TEST(AudioCodingModuleTest, TestStereo) {
|
||||
#endif
|
||||
webrtc::TestStereo(ACM_TEST_MODE).Perform();
|
||||
webrtc::TestStereo().Perform();
|
||||
}
|
||||
|
||||
TEST(AudioCodingModuleTest, TestWebRtcVadDtx) {
|
||||
|
||||
Reference in New Issue
Block a user