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

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

Created:
5 years, 4 months ago by wolenetz
Modified:
5 years, 4 months ago
Reviewers:
chcunningham, xhwang
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

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. TEST=no regression Committed: https://crrev.com/b48815ca35b565e6ca372640ac25f79ee1a84c7e Cr-Commit-Position: refs/heads/master@{#345181}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Rebase (no-op, no addressing of review comments included yet) #

Patch Set 3 : Addresses xhwang@'s comments #

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

Dependent Patchsets:

Messages

Total messages: 22 (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/1300943002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1300943002/1
5 years, 4 months ago (2015-08-18 21:12:32 UTC) #2
wolenetz
Please review patch set 1: xhwang@: Everything (committer), especially webm_content_encodings_*. chcunningham@: Everything, especially the duration ...
5 years, 4 months ago (2015-08-18 21:13:49 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-18 22:40:45 UTC) #6
xhwang
Looking good. Just have some questions and nits. https://codereview.chromium.org/1300943002/diff/1/media/formats/webm/webm_cluster_parser_unittest.cc File media/formats/webm/webm_cluster_parser_unittest.cc (right): https://codereview.chromium.org/1300943002/diff/1/media/formats/webm/webm_cluster_parser_unittest.cc#newcode396 media/formats/webm/webm_cluster_parser_unittest.cc:396: const ...
5 years, 4 months ago (2015-08-19 00:25:06 UTC) #7
xhwang
Looking good. Just have some questions and nits.
5 years, 4 months ago (2015-08-19 00:25:07 UTC) #8
chcunningham
lgtm % xhwangs questions. None of my own to add.
5 years, 4 months ago (2015-08-19 19:57:23 UTC) #9
wolenetz
Please take a look at patch set 3. Thanks! https://codereview.chromium.org/1300943002/diff/1/media/formats/webm/webm_cluster_parser_unittest.cc File media/formats/webm/webm_cluster_parser_unittest.cc (right): https://codereview.chromium.org/1300943002/diff/1/media/formats/webm/webm_cluster_parser_unittest.cc#newcode396 media/formats/webm/webm_cluster_parser_unittest.cc:396: ...
5 years, 4 months ago (2015-08-24 19:34:03 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1300943002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1300943002/40001
5 years, 4 months ago (2015-08-24 19:34:39 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-24 20:52:53 UTC) #14
xhwang
lgtm
5 years, 4 months ago (2015-08-24 21:14:13 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1300943002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1300943002/40001
5 years, 4 months ago (2015-08-24 21:19:24 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 4 months ago (2015-08-24 21:24:31 UTC) #19
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/b48815ca35b565e6ca372640ac25f79ee1a84c7e Cr-Commit-Position: refs/heads/master@{#345181}
5 years, 4 months ago (2015-08-24 21:25:21 UTC) #20
wolenetz
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/1310423003/ by wolenetz@chromium.org. ...
5 years, 4 months ago (2015-08-24 23:37:02 UTC) #21
wolenetz
5 years, 4 months ago (2015-08-25 19:21:30 UTC) #22
Message was sent while issue was closed.
On 2015/08/24 23:37:02, wolenetz wrote:
> A revert of this CL (patchset #3 id:40001) has been created in
> https://codereview.chromium.org/1310423003/ by mailto:wolenetz@chromium.org.
> 
> The reason for reverting is: This is breaking windows bots
>
(http://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%28....

Reland attempt of a fixed version of this CL is at
https://codereview.chromium.org/1306923004/

Powered by Google App Engine
This is Rietveld 408576698