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

Issue 393653004: Add unit tests for DesktopMediaPickerViews. (Closed)

Created:
6 years, 5 months ago by jiayl
Modified:
6 years, 5 months ago
Reviewers:
Sergey Ulanov, msw
CC:
chromium-reviews, posciak+watch_chromium.org, feature-media-reviews_chromium.org, wjia+watch_chromium.org, mcasas+watch_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add unit tests for DesktopMediaPickerViews. iBUG=308426 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283717

Patch Set 1 #

Total comments: 20

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : sync #

Patch Set 5 : sync #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+411 lines, -178 lines) Patch
M chrome/browser/media/fake_desktop_media_list.cc View 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/ui/views/desktop_media_picker_views.h View 1 1 chunk +185 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/desktop_media_picker_views.cc View 1 2 3 9 chunks +17 lines, -177 lines 0 comments Download
A chrome/browser/ui/views/desktop_media_picker_views_unittest.cc View 1 2 3 4 5 1 chunk +206 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
jiayl
PTAL
6 years, 5 months ago (2014-07-15 00:20:05 UTC) #1
Sergey Ulanov
LGTM with one nit https://codereview.chromium.org/393653004/diff/1/chrome/browser/ui/views/desktop_media_picker_views_unittest.cc File chrome/browser/ui/views/desktop_media_picker_views_unittest.cc (right): https://codereview.chromium.org/393653004/diff/1/chrome/browser/ui/views/desktop_media_picker_views_unittest.cc#newcode82 chrome/browser/ui/views/desktop_media_picker_views_unittest.cc:82: GetPickerDialogView()->IsDialogButtonEnabled(ui::DIALOG_BUTTON_OK)); I think it's also ...
6 years, 5 months ago (2014-07-15 00:28:16 UTC) #2
msw
https://codereview.chromium.org/393653004/diff/1/chrome/browser/ui/views/desktop_media_picker_views.h File chrome/browser/ui/views/desktop_media_picker_views.h (right): https://codereview.chromium.org/393653004/diff/1/chrome/browser/ui/views/desktop_media_picker_views.h#newcode21 chrome/browser/ui/views/desktop_media_picker_views.h:21: // View that shows list of desktop media sources ...
6 years, 5 months ago (2014-07-15 03:29:56 UTC) #3
jiayl
PTAL https://codereview.chromium.org/393653004/diff/1/chrome/browser/ui/views/desktop_media_picker_views_unittest.cc File chrome/browser/ui/views/desktop_media_picker_views_unittest.cc (right): https://codereview.chromium.org/393653004/diff/1/chrome/browser/ui/views/desktop_media_picker_views_unittest.cc#newcode19 chrome/browser/ui/views/desktop_media_picker_views_unittest.cc:19: static const char* kFakeAppName = "foo"; On 2014/07/15 ...
6 years, 5 months ago (2014-07-15 16:59:43 UTC) #4
msw
LGTM, but please ping a TestBrowserThread/TestBrowserThreadBundle reviewer (+CC earthdok@). https://codereview.chromium.org/393653004/diff/1/chrome/browser/ui/views/desktop_media_picker_views_unittest.cc File chrome/browser/ui/views/desktop_media_picker_views_unittest.cc (right): https://codereview.chromium.org/393653004/diff/1/chrome/browser/ui/views/desktop_media_picker_views_unittest.cc#newcode25 chrome/browser/ui/views/desktop_media_picker_views_unittest.cc:25: ...
6 years, 5 months ago (2014-07-15 18:59:58 UTC) #5
jiayl
https://codereview.chromium.org/393653004/diff/1/chrome/browser/ui/views/desktop_media_picker_views_unittest.cc File chrome/browser/ui/views/desktop_media_picker_views_unittest.cc (right): https://codereview.chromium.org/393653004/diff/1/chrome/browser/ui/views/desktop_media_picker_views_unittest.cc#newcode25 chrome/browser/ui/views/desktop_media_picker_views_unittest.cc:25: new content::TestBrowserThread(content::BrowserThread::UI, On 2014/07/15 18:59:58, msw wrote: > On ...
6 years, 5 months ago (2014-07-15 19:22:40 UTC) #6
earthdok
TestBrowserThread is deprecated because it tends to introduce racy behavior in test teardown (most frequently ...
6 years, 5 months ago (2014-07-15 19:28:45 UTC) #7
jiayl
The CQ bit was checked by jiayl@chromium.org
6 years, 5 months ago (2014-07-15 20:22:22 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiayl@chromium.org/393653004/40001
6 years, 5 months ago (2014-07-15 20:23:43 UTC) #9
jiayl
The CQ bit was unchecked by jiayl@chromium.org
6 years, 5 months ago (2014-07-15 22:02:31 UTC) #10
jiayl
The CQ bit was checked by jiayl@chromium.org
6 years, 5 months ago (2014-07-15 22:08:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiayl@chromium.org/393653004/60001
6 years, 5 months ago (2014-07-15 22:11:03 UTC) #12
jiayl
The CQ bit was checked by jiayl@chromium.org
6 years, 5 months ago (2014-07-16 00:15:50 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiayl@chromium.org/393653004/80001
6 years, 5 months ago (2014-07-16 00:17:46 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_compile_dbg on tryserver.chromium ...
6 years, 5 months ago (2014-07-16 08:25:43 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-16 08:57:10 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_compile_dbg/builds/38432)
6 years, 5 months ago (2014-07-16 08:57:11 UTC) #17
jiayl
The CQ bit was checked by jiayl@chromium.org
6 years, 5 months ago (2014-07-16 16:42:00 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiayl@chromium.org/393653004/100001
6 years, 5 months ago (2014-07-16 16:43:00 UTC) #19
commit-bot: I haz the power
6 years, 5 months ago (2014-07-17 08:43:13 UTC) #20
Message was sent while issue was closed.
Change committed as 283717

Powered by Google App Engine
This is Rietveld 408576698