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

Unified Diff: webrtc/modules/audio_coding/codecs/isac/main/source/audio_encoder_isac_unittest.cc

Issue 2996593002: Give Audio{De,En}coderIsac* an "Impl" suffix, to free up the original names (Closed)
Patch Set: rebase Created 3 years, 4 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: webrtc/modules/audio_coding/codecs/isac/main/source/audio_encoder_isac_unittest.cc
diff --git a/webrtc/modules/audio_coding/codecs/isac/main/source/audio_encoder_isac_unittest.cc b/webrtc/modules/audio_coding/codecs/isac/main/source/audio_encoder_isac_unittest.cc
index e9ca570012689815c2933e4aca51df2decdc999c..3fe8c1a709cb526f605260dcec618e3c512cb9a1 100644
--- a/webrtc/modules/audio_coding/codecs/isac/main/source/audio_encoder_isac_unittest.cc
+++ b/webrtc/modules/audio_coding/codecs/isac/main/source/audio_encoder_isac_unittest.cc
@@ -17,13 +17,13 @@ namespace webrtc {
namespace {
-void TestBadConfig(const AudioEncoderIsac::Config& config) {
+void TestBadConfig(const AudioEncoderIsacFloatImpl::Config& config) {
EXPECT_FALSE(config.IsOk());
}
-void TestGoodConfig(const AudioEncoderIsac::Config& config) {
+void TestGoodConfig(const AudioEncoderIsacFloatImpl::Config& config) {
EXPECT_TRUE(config.IsOk());
- AudioEncoderIsac aei(config);
+ AudioEncoderIsacFloatImpl aei(config);
}
// Wrap subroutine calls that test things in this, so that the error messages
@@ -34,7 +34,7 @@ void TestGoodConfig(const AudioEncoderIsac::Config& config) {
} // namespace
TEST(AudioEncoderIsacTest, TestConfigBitrate) {
- AudioEncoderIsac::Config config;
+ AudioEncoderIsacFloatImpl::Config config;
// The default value is some real, positive value.
EXPECT_GT(config.bit_rate, 1);

Powered by Google App Engine
This is Rietveld 408576698