Add a general PostProcessorUnittest

Desktop / Chromium - bshaya [google.com] - 20 June 2017 22:26 EDT

Future PostProcessors can be validated quickly using this, or it can be used as a starting point for more specialized tests.

BUG=internal b/62593135 TEST=libcast_governor_unittests

Review-Url: https://codereview.chromium.org/2937123005 Cr-Commit-Position: refs/heads/master@{#481087}

8431ade Add a general PostProcessorUnittest.
chromecast/media/cma/backend/alsa/BUILD.gn | 14 ++
.../alsa/post_processors/governor_unittest.cc | 70 ++++---
.../post_processors/post_processor_unittest.cc | 208 +++++++++++++++++++++
.../alsa/post_processors/post_processor_unittest.h | 80 ++++++++
.../media/cma/backend/alsa/stream_mixer_alsa.cc | 5 +-
.../public/media/audio_post_processor_shlib.h | 3 +
6 files changed, 340 insertions(+), 40 deletions(-)

Upstream: git.chromium.org


  • Share