commit | b100ef1984e2ac60ff6a6ada02d277dd3bca20cb | [log] [tgz] |
---|---|---|
author | Sergei Istomin <sistomin@chromium.org> | Mon Sep 24 16:07:16 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Sep 24 16:07:16 2018 |
tree | f16b7e7c2ec28f8d73061ef1d3c14b2a08dc75fe | |
parent | 44f585c8931835707e5a7f70c9871880f746e7d8 [diff] |
[Chromecast] Add unit test cases for external audio pipeline library This CL adds test cases to "cast_audio_backend_unittests" for checking external audio pipeline library. Tests check "StreamMixer" interaction with the library when library returns IsSupported() true. "Cast_audio_backend_unittests" unittest now is built with "fake_external_audio_pipeline" that has library implementation. For test reason the library supports additional functions (returns interface) that are used only from unittests. Additional functions are defined in "fake_external_audio_pipeline_support.h" "testing" namespace. There are the following test cases: - "SetMediaVolume"/"SetMediaMuted" for testing media volume/mute notification when the volume/mute is changed. - "SetVolumeChangeRequest"/"SetMuteChangeRequest" for testing a change request for volume/mute from the library. - "ExternalAudioPipelineLoopbackData" for testing loopback data. Bug: internal b/113337099 Depends-On: I755aaa94470dc8ba33a458d6139ef9254655d3e4 Change-Id: Ie8ebaf878e0d1c0d1f8485e645a2e05142745928 Reviewed-on: https://chromium-review.googlesource.com/1218045 Commit-Queue: Sergei Istomin <sistomin@chromium.org> Reviewed-by: Kenneth MacKay <kmackay@chromium.org> Cr-Commit-Position: refs/heads/master@{#593554}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .