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

Issue 2505143002: [Mojo Video Capture] Separate testing from production code (Closed)

Created:
4 years, 1 month ago by chfremer
Modified:
4 years ago
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), posciak+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mojo Video Capture] Separate testing from production code The goal of this CL is to get a clear separation of testing-only code from production code in services/video_capture. * Removed testing-only APIs and code from production service "video_capture" * Created new service "testable_video_capture" which is a superset of "video_capture" that additionally exposes testing-only APIs and links testing-only code. * Moved testing-only code to subfolder test. This CL is part of the Mojo Video Capture work. For the bigger picture, see [1] CL1.9.5b BUG=584797 TEST=video_capture_unittests, content_unittests, capture_unittests [1] https://docs.google.com/a/chromium.org/document/d/1Qw7rw1AJy0QHXjha36jZNiEuxsxWslJ_X-zpOhijvI8/edit?usp=sharing Committed: https://crrev.com/4c0567125d08240ce3512a13ede21e21e7b8a269 Cr-Commit-Position: refs/heads/master@{#433798}

Patch Set 1 #

Patch Set 2 : Have MockDeviceTest exercise service impl directly instead of going through service shell #

Patch Set 3 : Removed #include of removed header file. #

Patch Set 4 : Similarity 25 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M content/browser/renderer_host/media/shared_memory_buffer_tracker.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 29 (16 generated)
chfremer
mcasas@: PTAL rockot@: Please give feedback on approach from a Mojo perspective emircan@: FYI
4 years, 1 month ago (2016-11-16 22:05:40 UTC) #3
chfremer
On 2016/11/16 22:05:40, chfremer wrote: > mcasas@: PTAL > rockot@: Please give feedback on approach ...
4 years, 1 month ago (2016-11-17 22:09:06 UTC) #4
Ken Rockot(use gerrit already)
I am a bit confused by this approach. Why define a new service just for ...
4 years, 1 month ago (2016-11-17 22:27:17 UTC) #5
chfremer
On 2016/11/17 22:27:17, Ken Rockot wrote: > I am a bit confused by this approach. ...
4 years, 1 month ago (2016-11-17 22:50:22 UTC) #6
chfremer
PTAL I modified MockDeviceTest to exercise the service implementation direction instead of going through the ...
4 years, 1 month ago (2016-11-18 00:23:36 UTC) #7
chfremer
On 2016/11/18 00:23:36, chfremer wrote: > PTAL > > I modified MockDeviceTest to exercise the ...
4 years, 1 month ago (2016-11-18 22:15:33 UTC) #8
Ken Rockot(use gerrit already)
lgtm
4 years ago (2016-11-21 23:22:46 UTC) #9
mcasas
lgtm
4 years ago (2016-11-21 23:29:41 UTC) #10
chfremer
tsepez@: Please RS *.mojom
4 years ago (2016-11-21 23:31:05 UTC) #12
Tom Sepez
RS LGTM
4 years ago (2016-11-21 23:45:39 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2505143002/40001
4 years ago (2016-11-22 05:50:14 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-22 05:59:52 UTC) #27
commit-bot: I haz the power
4 years ago (2016-11-22 06:02:16 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4c0567125d08240ce3512a13ede21e21e7b8a269
Cr-Commit-Position: refs/heads/master@{#433798}

Powered by Google App Engine
This is Rietveld 408576698