Add ability to disable detailed error message in RTC_CHECKs
Bug: webrtc:11133 Change-Id: I989654f1fb97b476a17956d69ee374406439ea8f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/160653 Commit-Queue: Artem Titov <titovartem@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29952}
This commit is contained in:
@ -54,6 +54,7 @@
|
||||
#include "test/mock_audio_decoder.h"
|
||||
#include "test/mock_audio_encoder.h"
|
||||
#include "test/testsupport/file_utils.h"
|
||||
#include "test/testsupport/rtc_expect_death.h"
|
||||
|
||||
using ::testing::_;
|
||||
using ::testing::AtLeast;
|
||||
@ -272,8 +273,8 @@ TEST_F(AudioCodingModuleTestOldApi, VerifyOutputFrame) {
|
||||
TEST_F(AudioCodingModuleTestOldApi, FailOnZeroDesiredFrequency) {
|
||||
AudioFrame audio_frame;
|
||||
bool muted;
|
||||
EXPECT_DEATH(acm_->PlayoutData10Ms(0, &audio_frame, &muted),
|
||||
"dst_sample_rate_hz");
|
||||
RTC_EXPECT_DEATH(acm_->PlayoutData10Ms(0, &audio_frame, &muted),
|
||||
"dst_sample_rate_hz");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user