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

Issue 1300013002: MSE: Verify MediaLog events created by existing MP4 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
Base URL:
https://chromium.googlesource.com/chromium/src.git@more_mockmedialog_testing_webm
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MSE: Verify MediaLog events created by existing MP4 unit tests Similar to previous changes r342861 and https://codereview.chromium.org/1300943002/, this change updates media unit tests to provide a StrictMock<MockMediaLog> to verify MediaLog events produced with existing MSE MP4 unit tests. While log message maintenance burden is increased, helpers are used to reduce that burden while gaining improved resilience against logging regression. This CL does not verify all possible MSE MP4 parser MEDIA_LOGs, just those that are emitted by existing unit tests. TEST=no regression Committed: https://crrev.com/194a2651ece516dc91fa0da9aa1675afd307e36e Cr-Commit-Position: refs/heads/master@{#345183}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Rebased and addressed nits. Pending landing prereq before sending to CQ. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -27 lines) Patch
M media/formats/mp4/aac_unittest.cc View 1 9 chunks +33 lines, -2 lines 0 comments Download
M media/formats/mp4/box_reader_unittest.cc View 1 8 chunks +33 lines, -21 lines 0 comments Download
M media/formats/mp4/mp4_stream_parser_unittest.cc View 1 10 chunks +44 lines, -2 lines 0 comments Download
M media/formats/mp4/track_run_iterator_unittest.cc View 1 4 chunks +14 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 20 (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/1300013002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1300013002/1
5 years, 4 months ago (2015-08-18 22:47:15 UTC) #2
wolenetz
Note: Landing this depends on first landing https://codereview.chromium.org/1300943002/. Please review patch set 1: xhwang@: Everything ...
5 years, 4 months ago (2015-08-18 22:50:06 UTC) #4
xhwang
lgtm
5 years, 4 months ago (2015-08-18 23:16:31 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-19 00:21:08 UTC) #7
chcunningham
lgtm % nits https://codereview.chromium.org/1300013002/diff/1/media/formats/mp4/aac_unittest.cc File media/formats/mp4/aac_unittest.cc (right): https://codereview.chromium.org/1300013002/diff/1/media/formats/mp4/aac_unittest.cc#newcode19 media/formats/mp4/aac_unittest.cc:19: #define CONTAINS_STRING(arg, x) (std::string::npos != (arg).find(x)) ...
5 years, 4 months ago (2015-08-19 19:36:19 UTC) #8
chcunningham
https://codereview.chromium.org/1300013002/diff/1/media/formats/mp4/mp4_stream_parser_unittest.cc File media/formats/mp4/mp4_stream_parser_unittest.cc (right): https://codereview.chromium.org/1300013002/diff/1/media/formats/mp4/mp4_stream_parser_unittest.cc#newcode247 media/formats/mp4/mp4_stream_parser_unittest.cc:247: InSequence s; On 2015/08/19 19:36:18, chcunningham wrote: > Do ...
5 years, 4 months ago (2015-08-19 20:06:44 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1300013002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1300013002/20001
5 years, 4 months ago (2015-08-24 20:12:22 UTC) #11
wolenetz
Thanks for reviews. Currently, patch set 2 is pending landing prereq CL first. https://codereview.chromium.org/1300013002/diff/1/media/formats/mp4/aac_unittest.cc File ...
5 years, 4 months ago (2015-08-24 20:13:52 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:50:54 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1300013002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1300013002/20001
5 years, 4 months ago (2015-08-24 21:28:21 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 4 months ago (2015-08-24 21:33:19 UTC) #18
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/194a2651ece516dc91fa0da9aa1675afd307e36e Cr-Commit-Position: refs/heads/master@{#345183}
5 years, 4 months ago (2015-08-24 21:34:06 UTC) #19
wolenetz
5 years, 4 months ago (2015-08-24 23:34:40 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1306783003/ by wolenetz@chromium.org.

The reason for reverting is: Prerequisite CL
(https://codereview.chromium.org/1300943002/) is breaking windows bots
(http://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%28...),
so reverting both this and it to unblock tree..

Powered by Google App Engine
This is Rietveld 408576698