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

Issue 270563002: Componentize LoginManagerTest. (Closed)

Created:
6 years, 7 months ago by michaelpg
Modified:
5 years, 10 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, cbentzel+watch_chromium.org, nkostylev+watch_chromium.org, pam+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, Mr4D (OOO till 08-26)
Visibility:
Public.

Description

Componentize LoginManagerTest. This lets browser tests use the functionality of LoginManagerTestHelper without having to derive from LoginManagerTest. If the CL is correct, there should be no logic changes, except for a fix to login_state_notification_blocker_chromeos_browsertest.cc. BUG=359578 TEST=these are the tests R=nkostylev@chromium.org, mukai@chromium.org, battre@chromium.org, dzhioev@chromium.org mukai: c/b/notifications/ battre: c/b/net/

Patch Set 1 #

Total comments: 8

Patch Set 2 : Move parameter from ctor to fn #

Total comments: 2

Patch Set 3 : Spin off LoginManagerTestHelper class #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -126 lines) Patch
M chrome/browser/chromeos/login/login_manager_test.h View 1 2 3 4 chunks +15 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/login/login_manager_test.cc View 1 2 3 2 chunks +30 lines, -71 lines 0 comments Download
A chrome/browser/chromeos/login/login_manager_test_helper.h View 1 2 1 chunk +76 lines, -0 lines 0 comments Download
A + chrome/browser/chromeos/login/login_manager_test_helper.cc View 1 2 3 4 chunks +26 lines, -45 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
michaelpg
PTAL. This will help me in adding browser tests for settings in multi-profiles mode. Thanks!
6 years, 7 months ago (2014-05-07 00:40:35 UTC) #1
michaelpg
https://codereview.chromium.org/270563002/diff/1/chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc File chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc (right): https://codereview.chromium.org/270563002/diff/1/chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc#newcode184 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc:184: // sanestart-up of user profiles. "sane start-up" https://codereview.chromium.org/270563002/diff/1/chrome/browser/notifications/login_state_notification_blocker_chromeos_browsertest.cc File ...
6 years, 7 months ago (2014-05-07 00:55:05 UTC) #2
Jun Mukai
https://codereview.chromium.org/270563002/diff/1/chrome/browser/chromeos/login/login_manager_test_helper.h File chrome/browser/chromeos/login/login_manager_test_helper.h (right): https://codereview.chromium.org/270563002/diff/1/chrome/browser/chromeos/login/login_manager_test_helper.h#newcode23 chrome/browser/chromeos/login/login_manager_test_helper.h:23: explicit LoginManagerTestHelper(bool should_launch_browser); should_launch_browser_ is only referred in SetUpInProcessBrowserTestFixture(). ...
6 years, 7 months ago (2014-05-07 01:01:41 UTC) #3
michaelpg
https://codereview.chromium.org/270563002/diff/1/chrome/browser/chromeos/login/login_manager_test_helper.h File chrome/browser/chromeos/login/login_manager_test_helper.h (right): https://codereview.chromium.org/270563002/diff/1/chrome/browser/chromeos/login/login_manager_test_helper.h#newcode23 chrome/browser/chromeos/login/login_manager_test_helper.h:23: explicit LoginManagerTestHelper(bool should_launch_browser); On 2014/05/07 01:01:41, Jun Mukai wrote: ...
6 years, 7 months ago (2014-05-07 02:48:24 UTC) #4
battre
chrome/browser/net/nss_context_chromeos_browsertest.cc LGTM
6 years, 7 months ago (2014-05-07 08:16:19 UTC) #5
Nikita (slow)
lgtm https://codereview.chromium.org/270563002/diff/10001/chrome/browser/chromeos/login/login_manager_test_helper.h File chrome/browser/chromeos/login/login_manager_test_helper.h (right): https://codereview.chromium.org/270563002/diff/10001/chrome/browser/chromeos/login/login_manager_test_helper.h#newcode27 chrome/browser/chromeos/login/login_manager_test_helper.h:27: void SetUp(); nit: Should this be named SetUpOnMainThread() ...
6 years, 7 months ago (2014-05-12 15:23:52 UTC) #6
dzhioev (left Google)
On 2014/05/07 00:40:35, Michael Giuffrida wrote: > PTAL. This will help me in adding browser ...
6 years, 7 months ago (2014-05-12 20:35:52 UTC) #7
michaelpg
On 2014/05/12 20:35:52, dzhioev wrote: > On 2014/05/07 00:40:35, Michael Giuffrida wrote: > > PTAL. ...
6 years, 7 months ago (2014-05-13 22:13:35 UTC) #8
dzhioev (left Google)
On 2014/05/13 22:13:35, Michael Giuffrida wrote: > On 2014/05/12 20:35:52, dzhioev wrote: > > On ...
6 years, 7 months ago (2014-05-13 23:38:57 UTC) #9
michaelpg
OK, this CL is quite different so just compare it with ToT. I've moved most ...
6 years, 7 months ago (2014-05-16 02:11:00 UTC) #10
dzhioev (left Google)
On 2014/05/16 02:11:00, Michael Giuffrida wrote: > OK, this CL is quite different so just ...
6 years, 7 months ago (2014-05-16 10:16:47 UTC) #11
michaelpg
The CQ bit was checked by michaelpg@chromium.org
6 years, 7 months ago (2014-05-19 20:13:26 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelpg@chromium.org/270563002/50001
6 years, 7 months ago (2014-05-19 20:13:35 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-19 22:04:33 UTC) #14
michaelpg
6 years, 7 months ago (2014-05-19 22:08:36 UTC) #15
The CQ bit was unchecked by michaelpg@chromium.org

Powered by Google App Engine
This is Rietveld 408576698