Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Issue 1306923004: Reland MSE: Verify MediaLog events created by existing WebM unit tests (Closed)

Created:
5 years, 4 months ago by wolenetz
Modified:
5 years, 3 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, jshin+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland 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
Unified diffs Side-by-side diffs Delta from patch set Stats (+308 lines, -156 lines) Patch
M media/base/mock_media_log.h View 1 chunk +10 lines, -0 lines 0 comments Download
M media/filters/source_buffer_stream_unittest.cc View 22 chunks +23 lines, -28 lines 0 comments Download
M media/formats/webm/webm_cluster_parser.cc View 3 chunks +11 lines, -10 lines 0 comments Download
M media/formats/webm/webm_cluster_parser_unittest.cc View 22 chunks +173 lines, -80 lines 1 comment Download
M media/formats/webm/webm_content_encodings_client_unittest.cc View 8 chunks +47 lines, -2 lines 0 comments Download
M media/formats/webm/webm_tracks_parser_unittest.cc View 8 chunks +44 lines, -36 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (7 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1306923004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1306923004/1
5 years, 4 months ago (2015-08-25 19:29:54 UTC) #2
wolenetz
Please take a look at patch set 1. My current plan is to speculatively land ...
5 years, 4 months ago (2015-08-25 19:34:48 UTC) #3
xhwang
Agreed InSequence isn't helping a lot. But it would be interesting to understand why it's ...
5 years, 4 months ago (2015-08-25 20:07:31 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-25 20:36:55 UTC) #6
wolenetz
On 2015/08/25 20:07:31, xhwang wrote: > Agreed InSequence isn't helping a lot. But it would ...
5 years, 4 months ago (2015-08-25 20:39:04 UTC) #7
chcunningham
lgtm
5 years, 4 months ago (2015-08-25 20:51:17 UTC) #8
wolenetz
Thanks for reviews. Landing this is currently pending go/no-go from sheriffs/trooper on #chromium irc.
5 years, 4 months ago (2015-08-25 20:59:43 UTC) #9
wolenetz
On 2015/08/25 20:39:04, wolenetz wrote: > On 2015/08/25 20:07:31, xhwang wrote: > > Agreed InSequence ...
5 years, 4 months ago (2015-08-26 00:11:28 UTC) #12
wolenetz
On 2015/08/26 00:11:28, wolenetz wrote: > On 2015/08/25 20:39:04, wolenetz wrote: > > On 2015/08/25 ...
5 years, 4 months ago (2015-08-26 00:31:38 UTC) #13
wolenetz
http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_dbg_ng/builds/544 passed. Sending to CQ.
5 years, 3 months ago (2015-08-26 17:43:41 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1306923004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1306923004/1
5 years, 3 months ago (2015-08-26 17:44:20 UTC) #16
wolenetz
I'll send to CQ once tree is open, so I can more closely watch this ...
5 years, 3 months ago (2015-08-26 17:49:29 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1306923004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1306923004/1
5 years, 3 months ago (2015-08-26 19:10:50 UTC) #20
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 3 months ago (2015-08-26 19:17:47 UTC) #21
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/7305d9bf4014a3f75667d1e38123087a3229908b Cr-Commit-Position: refs/heads/master@{#345634}
5 years, 3 months ago (2015-08-26 19:18:23 UTC) #22
wolenetz
5 years, 3 months ago (2015-08-26 20:28:12 UTC) #23
Message was sent while issue was closed.
So far, it appears this version is not breaking the tree's win7 tests dbg(1) bot
like Monday's: the waterfall bot has passed media_unittests:
http://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%28...

Powered by Google App Engine
This is Rietveld 408576698