OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 } | 152 } |
153 | 153 |
154 TEST(AudioCodingModuleTest, TestPacketLossBurst) { | 154 TEST(AudioCodingModuleTest, TestPacketLossBurst) { |
155 Trace::CreateTrace(); | 155 Trace::CreateTrace(); |
156 Trace::SetTraceFile((webrtc::test::OutputPath() + | 156 Trace::SetTraceFile((webrtc::test::OutputPath() + |
157 "acm_packetloss_burst_trace.txt").c_str()); | 157 "acm_packetloss_burst_trace.txt").c_str()); |
158 webrtc::PacketLossTest(1, 10, 10, 2).Perform(); | 158 webrtc::PacketLossTest(1, 10, 10, 2).Perform(); |
159 Trace::ReturnTrace(); | 159 Trace::ReturnTrace(); |
160 } | 160 } |
161 | 161 |
162 TEST(AudioCodingModuleTest, TestPacketLossStereo) { | 162 // Disabled on ios as flake, see https://crbug.com/webrtc/7057 |
| 163 #if defined(WEBRTC_IOS) |
| 164 TEST(AudioCodingModuleTest, DISABLED_TestPacketLossStereo) { |
| 165 #else |
| 166 TEST(AudioCodingModuleTest, TestPacketLossStereo) { |
| 167 #endif |
163 Trace::CreateTrace(); | 168 Trace::CreateTrace(); |
164 Trace::SetTraceFile((webrtc::test::OutputPath() + | 169 Trace::SetTraceFile((webrtc::test::OutputPath() + |
165 "acm_packetloss_trace.txt").c_str()); | 170 "acm_packetloss_trace.txt").c_str()); |
166 webrtc::PacketLossTest(2, 10, 10, 1).Perform(); | 171 webrtc::PacketLossTest(2, 10, 10, 1).Perform(); |
167 Trace::ReturnTrace(); | 172 Trace::ReturnTrace(); |
168 } | 173 } |
169 | 174 |
170 // Disabled on ios as flake, see https://crbug.com/webrtc/7057 | 175 // Disabled on ios as flake, see https://crbug.com/webrtc/7057 |
171 #if defined(WEBRTC_IOS) | 176 #if defined(WEBRTC_IOS) |
172 TEST(AudioCodingModuleTest, DISABLED_TestPacketLossStereoBurst) { | 177 TEST(AudioCodingModuleTest, DISABLED_TestPacketLossStereoBurst) { |
(...skipping 11 matching lines...) Expand all Loading... |
184 // for offline testing. User interaction is needed. | 189 // for offline testing. User interaction is needed. |
185 #ifdef ACM_TEST_FULL_API | 190 #ifdef ACM_TEST_FULL_API |
186 TEST(AudioCodingModuleTest, TestAPI) { | 191 TEST(AudioCodingModuleTest, TestAPI) { |
187 Trace::CreateTrace(); | 192 Trace::CreateTrace(); |
188 Trace::SetTraceFile((webrtc::test::OutputPath() + | 193 Trace::SetTraceFile((webrtc::test::OutputPath() + |
189 "acm_apitest_trace.txt").c_str()); | 194 "acm_apitest_trace.txt").c_str()); |
190 webrtc::APITest().Perform(); | 195 webrtc::APITest().Perform(); |
191 Trace::ReturnTrace(); | 196 Trace::ReturnTrace(); |
192 } | 197 } |
193 #endif | 198 #endif |
OLD | NEW |