| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 // and some extra time to account for network delay. | 100 // and some extra time to account for network delay. |
| 101 SleepMs(GetNetworkPipeConfig().queue_delay_ms + kExtraRecordTimeMs); | 101 SleepMs(GetNetworkPipeConfig().queue_delay_ms + kExtraRecordTimeMs); |
| 102 } | 102 } |
| 103 | 103 |
| 104 void AudioQualityTest::OnTestFinished() { | 104 void AudioQualityTest::OnTestFinished() { |
| 105 const ::testing::TestInfo* const test_info = | 105 const ::testing::TestInfo* const test_info = |
| 106 ::testing::UnitTest::GetInstance()->current_test_info(); | 106 ::testing::UnitTest::GetInstance()->current_test_info(); |
| 107 | 107 |
| 108 // Output information about the input and output audio files so that further | 108 // Output information about the input and output audio files so that further |
| 109 // processing can be done by an external process. | 109 // processing can be done by an external process. |
| 110 printf("TEST %s %s:%s\n", test_info->name(), | 110 printf("TEST %s %s %s\n", test_info->name(), |
| 111 AudioInputFile().c_str(), AudioOutputFile().c_str()); | 111 AudioInputFile().c_str(), AudioOutputFile().c_str()); |
| 112 } | 112 } |
| 113 | 113 |
| 114 | 114 |
| 115 using LowBandwidthAudioTest = CallTest; | 115 using LowBandwidthAudioTest = CallTest; |
| 116 | 116 |
| 117 TEST_F(LowBandwidthAudioTest, GoodNetworkHighBitrate) { | 117 TEST_F(LowBandwidthAudioTest, GoodNetworkHighBitrate) { |
| 118 AudioQualityTest test; | 118 AudioQualityTest test; |
| 119 RunBaseTest(&test); | 119 RunBaseTest(&test); |
| 120 } | 120 } |
| (...skipping 21 matching lines...) Expand all Loading... |
| 142 } | 142 } |
| 143 }; | 143 }; |
| 144 | 144 |
| 145 TEST_F(LowBandwidthAudioTest, Mobile2GNetwork) { | 145 TEST_F(LowBandwidthAudioTest, Mobile2GNetwork) { |
| 146 Mobile2GNetworkTest test; | 146 Mobile2GNetworkTest test; |
| 147 RunBaseTest(&test); | 147 RunBaseTest(&test); |
| 148 } | 148 } |
| 149 | 149 |
| 150 } // namespace test | 150 } // namespace test |
| 151 } // namespace webrtc | 151 } // namespace webrtc |
| OLD | NEW |