Add unittests for AudioOutputStream

Desktop / Chromium - Sergey Ulanov [chromium.org] - 17 October 2017 16:53 EDT

Previosly there were no cross-platforms tests for AudioOutputStream. This CL adds new tests that will run on all platforms. The tests are based on Windows-specific tests in media/audio/win.

Bug: 737802 Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: I2accac0d7dc5e5d5ac813923ec6b83c0af6c9da6 Reviewed-on: https://chromium-review.googlesource.com/702688 Commit-Queue: Sergey Ulanov

eec981f Add unittests for AudioOutputStream.
media/audio/BUILD.gn | 1 +
media/audio/audio_output_unittest.cc | 133 +++++++++++++++++++++++++++++++++++
media/audio/mac/audio_auhal_mac.cc | 6 +-
3 files changed, 138 insertions(+), 2 deletions(-)

Upstream: git.chromium.org


  • Share