MSE: Begin FrameProcessorTest'ing both old and new buffering APIs
Previously, FrameProcessorTest had a boolean test parameter indicating whether or not to test using sequence append mode. This change adds a second dimension to the test parameter, which parameterizes the tests further by which version of the buffering API is being tested. The test ctor forces on/off the media::kMseBufferByPts feature accordingly. It no longer uses test ctor initializer to construct the FrameProcessor, since that must happen after adjusting enable/disable of the kMseBufferByPts feature later in the ctor. This change also captures the sequence mode boolean test parameter as a protected member, including related test cleanup to use that member instead of a local boolean or local GetParam() check. Three previous TEST_F (that did not need an append mode variation) are now TEST_P using the new FrameProcessorTestParams instantiations to keep this change simpler. BUG=718641 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: I9210900a29382bded23e3701b39af733864fceb2 Reviewed-on: https://chromium-review.googlesource.com/663765Reviewed-by:Dan Sanders <sandersd@chromium.org> Commit-Queue: Matthew Wolenetz <wolenetz@chromium.org> Cr-Commit-Position: refs/heads/master@{#501483}
Showing
Please register or sign in to comment