DescriptionReland MSE: Verify MediaLog events created by existing WebM unit tests
Similar to previous SourceBufferStreamTests update in r342861, this
change updates media unit tests to provide a StrictMock<MockMediaLog> to
verify MediaLog events produced with existing MSE WebM unit tests. While
log message maintenance burden is increased, helpers are included to
reduce that burden while gaining improved resilience against logging
regression.
This CL does not verify all possible MSE WebM parser MEDIA_LOGs, just
those that are emitted by existing unit tests.
Versus previous land attempt (http://crrev.com/1300943002#ps40001), does
not verify sequence of MediaLogs in
WebMClusterParserTest.PreferOpusDurationsOverBlockDurations. This test
now only has about 3x execution time increase versus about 30x in prior
attempt.
BUG=524597
TEST=No regression locally on Linux.
R=xhwang@chromium.org,chcunningham@chromium.org
Committed: https://crrev.com/7305d9bf4014a3f75667d1e38123087a3229908b
Cr-Commit-Position: refs/heads/master@{#345634}
Patch Set 1 #
Total comments: 1
Dependent Patchsets: Messages
Total messages: 23 (7 generated)
|