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

Issue 1137263002: Chromecast: adds CmaRenderer test coverage. (Closed)

Created:
5 years, 7 months ago by gunsch
Modified:
5 years, 7 months ago
Reviewers:
servolk, Nico, xhwang
CC:
chromium-reviews, gunsch+watch_chromium.org, lcwu+watch_chromium.org, feature-media-reviews_chromium.org, damienv1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Chromecast: adds CmaRenderer test coverage. This includes: * Creating CmaRenderer and its dependencies (most of the renderer-side), stubbing out at the IPC level. * Moving FakeDemuxerStream to media/base/ to allow use outside of //media R=servolk@chromium.org,xhwang@chromium.org Committed: https://crrev.com/780d39fe5c9bce4e35ea88f916ae79a9febe7a01 Cr-Commit-Position: refs/heads/master@{#330001}

Patch Set 1 #

Total comments: 2

Patch Set 2 : moved FakeDemuxerStreamProvider to media/base/ #

Total comments: 6

Patch Set 3 : some nits #

Patch Set 4 : revert chromium.fyi.json change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -610 lines) Patch
M chromecast/chromecast_tests.gypi View 2 chunks +21 lines, -0 lines 0 comments Download
M chromecast/media/cma/ipc/media_message_fifo.h View 2 chunks +12 lines, -9 lines 0 comments Download
A chromecast/renderer/media/cma_renderer_unittest.cc View 1 1 chunk +125 lines, -0 lines 0 comments Download
M media/BUILD.gn View 1 chunk +0 lines, -3 lines 0 comments Download
M media/base/BUILD.gn View 2 chunks +3 lines, -0 lines 0 comments Download
A + media/base/fake_demuxer_stream.h View 1 2 2 chunks +21 lines, -3 lines 0 comments Download
A + media/base/fake_demuxer_stream.cc View 1 2 2 chunks +19 lines, -1 line 0 comments Download
A + media/base/fake_demuxer_stream_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
D media/filters/fake_demuxer_stream.h View 1 chunk +0 lines, -107 lines 0 comments Download
D media/filters/fake_demuxer_stream.cc View 1 chunk +0 lines, -196 lines 0 comments Download
D media/filters/fake_demuxer_stream_unittest.cc View 1 chunk +0 lines, -286 lines 0 comments Download
M media/filters/video_frame_stream_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/media.gyp View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
gunsch
Sergey/Xiaohan: PTAL!
5 years, 7 months ago (2015-05-13 07:45:48 UTC) #1
xhwang
Moving FakeDemuxerStream to media/base/ lgtm. In the future we may want to put these test ...
5 years, 7 months ago (2015-05-14 05:06:37 UTC) #2
servolk
On 2015/05/14 05:06:37, xhwang wrote: > Moving FakeDemuxerStream to media/base/ lgtm. In the future we ...
5 years, 7 months ago (2015-05-14 20:53:45 UTC) #3
servolk
https://codereview.chromium.org/1137263002/diff/1/chromecast/renderer/media/cma_renderer_unittest.cc File chromecast/renderer/media/cma_renderer_unittest.cc (right): https://codereview.chromium.org/1137263002/diff/1/chromecast/renderer/media/cma_renderer_unittest.cc#newcode33 chromecast/renderer/media/cma_renderer_unittest.cc:33: class FakeDemuxerStreamProvider : public ::media::DemuxerStreamProvider { Looks like this ...
5 years, 7 months ago (2015-05-14 20:54:15 UTC) #4
gunsch
https://codereview.chromium.org/1137263002/diff/1/chromecast/renderer/media/cma_renderer_unittest.cc File chromecast/renderer/media/cma_renderer_unittest.cc (right): https://codereview.chromium.org/1137263002/diff/1/chromecast/renderer/media/cma_renderer_unittest.cc#newcode33 chromecast/renderer/media/cma_renderer_unittest.cc:33: class FakeDemuxerStreamProvider : public ::media::DemuxerStreamProvider { On 2015/05/14 20:54:15, ...
5 years, 7 months ago (2015-05-14 22:01:15 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137263002/20001
5 years, 7 months ago (2015-05-14 22:02:23 UTC) #8
xhwang
lgtm % nits. https://codereview.chromium.org/1137263002/diff/20001/media/base/fake_demuxer_stream.cc File media/base/fake_demuxer_stream.cc (right): https://codereview.chromium.org/1137263002/diff/20001/media/base/fake_demuxer_stream.cc#newcode209 media/base/fake_demuxer_stream.cc:209: // Note: FakeDemuxerStream only supports video ...
5 years, 7 months ago (2015-05-14 22:10:10 UTC) #9
gunsch
Thanks! +thakis: can you take a look for testing/buildbot/ OWNERS? Adding a new test target ...
5 years, 7 months ago (2015-05-14 22:15:09 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/1137263002/40001
5 years, 7 months ago (2015-05-14 22:15:44 UTC) #14
Nico
On 2015/05/14 22:15:09, gunsch wrote: > Thanks! > > +thakis: can you take a look ...
5 years, 7 months ago (2015-05-14 22:57:51 UTC) #15
gunsch
@thakis: good point, thanks for catching. We do have a bot on the chromium.linux waterfall: ...
5 years, 7 months ago (2015-05-14 23:06:22 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137263002/80001
5 years, 7 months ago (2015-05-14 23:07:40 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 7 months ago (2015-05-15 00:59:22 UTC) #21
commit-bot: I haz the power
5 years, 7 months ago (2015-05-15 01:00:13 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/780d39fe5c9bce4e35ea88f916ae79a9febe7a01
Cr-Commit-Position: refs/heads/master@{#330001}

Powered by Google App Engine
This is Rietveld 408576698