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

Issue 1828303003: Modify unit tests for NativeDesktopMediaList to cover aura window capture. (Closed)

Created:
4 years, 9 months ago by GeorgeZ
Modified:
4 years, 8 months ago
Reviewers:
Sergey Ulanov
CC:
chromium-reviews, posciak+watch_chromium.org, feature-media-reviews_chromium.org, mcasas+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Modify unit tests for NativeDesktopMediaList to cover aura window capture. This unit tests CL is associated wiht CL https://codereview.chromium.org/1808273002/. Changes in NativeDesktopMediaList. h and NativeDesktopMediaList.cc honor the after landing comments in CL https://codereview.chromium.org/1808273002/ BUG=581790, 289779, 590915 Committed: https://crrev.com/e5db3ea5297b94573a1147d9d21fb990179f5991 Cr-Commit-Position: refs/heads/master@{#386129}

Patch Set 1 : #

Total comments: 16

Patch Set 2 : rebased #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+284 lines, -131 lines) Patch
M chrome/browser/media/native_desktop_media_list.h View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/media/native_desktop_media_list.cc View 5 chunks +22 lines, -7 lines 0 comments Download
M chrome/browser/media/native_desktop_media_list_unittest.cc View 1 2 6 chunks +260 lines, -121 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 30 (13 generated)
GeorgeZ
Sergey, Could you take a look of this CL? The unit tests skip associating native ...
4 years, 9 months ago (2016-03-25 22:39:31 UTC) #3
GeorgeZ
Ping Sergey.
4 years, 8 months ago (2016-03-29 23:52:59 UTC) #4
Sergey Ulanov
I don't think this is the right approach to test this functionality. The tests pass ...
4 years, 8 months ago (2016-03-30 18:50:53 UTC) #5
GeorgeZ
On 2016/03/30 18:50:53, Sergey Ulanov wrote: > I don't think this is the right approach ...
4 years, 8 months ago (2016-03-30 19:53:12 UTC) #6
GeorgeZ
On 2016/03/30 19:53:12, GeorgeZ wrote: > On 2016/03/30 18:50:53, Sergey Ulanov wrote: > > I ...
4 years, 8 months ago (2016-03-31 04:18:06 UTC) #7
GeorgeZ
Sergey, The unit tests has been rewritten to follow your suggestion. Could you take a ...
4 years, 8 months ago (2016-04-06 23:11:20 UTC) #15
Sergey Ulanov
Awesome stuff! Thanks for getting these new tests implemented! Currently the tests always use FakeScreenCapturer ...
4 years, 8 months ago (2016-04-07 00:20:14 UTC) #16
GeorgeZ
On 2016/04/07 00:20:14, Sergey Ulanov wrote: > Awesome stuff! Thanks for getting these new tests ...
4 years, 8 months ago (2016-04-07 17:11:25 UTC) #17
GeorgeZ
Sergey, Forgot to publish draft. Thanks, https://codereview.chromium.org/1828303003/diff/140001/chrome/browser/media/native_desktop_media_list_unittest.cc File chrome/browser/media/native_desktop_media_list_unittest.cc (right): https://codereview.chromium.org/1828303003/diff/140001/chrome/browser/media/native_desktop_media_list_unittest.cc#newcode162 chrome/browser/media/native_desktop_media_list_unittest.cc:162: class DesktopMediaListTest : ...
4 years, 8 months ago (2016-04-07 17:36:43 UTC) #18
Sergey Ulanov
The new tests use FakeWindowCapturer. This means you need to call SetWindowList() to make sure ...
4 years, 8 months ago (2016-04-07 18:17:31 UTC) #20
GeorgeZ
On 2016/04/07 18:17:31, Sergey Ulanov wrote: > The new tests use FakeWindowCapturer. This means you ...
4 years, 8 months ago (2016-04-07 22:17:46 UTC) #21
GeorgeZ
On 2016/04/07 22:17:46, GeorgeZ wrote: > On 2016/04/07 18:17:31, Sergey Ulanov wrote: > > The ...
4 years, 8 months ago (2016-04-08 02:06:39 UTC) #22
GeorgeZ
Sergey, A patch is uploaded based on your comments. Thanks, https://codereview.chromium.org/1828303003/diff/180001/chrome/browser/media/native_desktop_media_list_unittest.cc File chrome/browser/media/native_desktop_media_list_unittest.cc (right): https://codereview.chromium.org/1828303003/diff/180001/chrome/browser/media/native_desktop_media_list_unittest.cc#newcode248 ...
4 years, 8 months ago (2016-04-08 13:15:23 UTC) #23
Sergey Ulanov
On 2016/04/08 02:06:39, GeorgeZ wrote: > Sergey, > > I just did some tests in ...
4 years, 8 months ago (2016-04-08 17:38:07 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1828303003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1828303003/200001
4 years, 8 months ago (2016-04-08 18:11:54 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:200001)
4 years, 8 months ago (2016-04-08 18:34:01 UTC) #28
commit-bot: I haz the power
4 years, 8 months ago (2016-04-08 18:35:15 UTC) #30
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e5db3ea5297b94573a1147d9d21fb990179f5991
Cr-Commit-Position: refs/heads/master@{#386129}

Powered by Google App Engine
This is Rietveld 408576698