OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 msg->output_channel(0).size()); | 255 msg->output_channel(0).size()); |
256 for (int i = 0; i < msg->output_channel_size(); ++i) { | 256 for (int i = 0; i < msg->output_channel_size(); ++i) { |
257 ASSERT_EQ(0, memcmp(output->channels()[i], | 257 ASSERT_EQ(0, memcmp(output->channels()[i], |
258 msg->output_channel(i).data(), | 258 msg->output_channel(i).data(), |
259 msg->output_channel(i).size())); | 259 msg->output_channel(i).size())); |
260 } | 260 } |
261 } | 261 } |
262 } | 262 } |
263 } | 263 } |
264 | 264 |
| 265 // Disabled for UBSan: https://bugs.chromium.org/p/webrtc/issues/detail?id=5820 |
| 266 #ifndef UNDEFINED_SANITIZER |
265 TEST_F(DebugDumpTest, SimpleCase) { | 267 TEST_F(DebugDumpTest, SimpleCase) { |
266 Config config; | 268 Config config; |
267 DebugDumpGenerator generator(config); | 269 DebugDumpGenerator generator(config); |
268 generator.StartRecording(); | 270 generator.StartRecording(); |
269 generator.Process(100); | 271 generator.Process(100); |
270 generator.StopRecording(); | 272 generator.StopRecording(); |
271 VerifyDebugDump(generator.dump_file_name()); | 273 VerifyDebugDump(generator.dump_file_name()); |
272 } | 274 } |
273 | 275 |
274 TEST_F(DebugDumpTest, ChangeInputFormat) { | 276 TEST_F(DebugDumpTest, ChangeInputFormat) { |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
518 TEST_F(DebugDumpTest, TransientSuppressionOn) { | 520 TEST_F(DebugDumpTest, TransientSuppressionOn) { |
519 Config config; | 521 Config config; |
520 config.Set<ExperimentalNs>(new ExperimentalNs(true)); | 522 config.Set<ExperimentalNs>(new ExperimentalNs(true)); |
521 DebugDumpGenerator generator(config); | 523 DebugDumpGenerator generator(config); |
522 generator.StartRecording(); | 524 generator.StartRecording(); |
523 generator.Process(100); | 525 generator.Process(100); |
524 generator.StopRecording(); | 526 generator.StopRecording(); |
525 VerifyDebugDump(generator.dump_file_name()); | 527 VerifyDebugDump(generator.dump_file_name()); |
526 } | 528 } |
527 | 529 |
| 530 #endif // !UNDEFINED_SANITIZER |
| 531 |
528 } // namespace test | 532 } // namespace test |
529 } // namespace webrtc | 533 } // namespace webrtc |
OLD | NEW |