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

Issue 398363002: Cleanup safe mode tests. (Closed)

Created:
6 years, 5 months ago by pneubeck (no reviews)
Modified:
6 years, 5 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Cleanup safe mode tests. - Adds a positive test, where the owner logs-in while in safe mode. - Fixes the test, where a non-owner tries to login: It failed because the MockOwnerKeyUtil had no key set. Now it fails because the private key cannot be found. - Removes the ScopedTestNSSDB usage. - Speeds up the test by factor 10, because of the removed NSS initialization in the test fixture. BUG=210525 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284106

Patch Set 1 #

Patch Set 2 : Add test comments. #

Patch Set 3 : Minor corrections. #

Total comments: 4

Patch Set 4 : Moved variable declarations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -9 lines) Patch
M chrome/browser/chromeos/login/auth/parallel_authenticator_unittest.cc View 1 2 3 6 chunks +129 lines, -9 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
pneubeck (no reviews)
Hey Toni, I think you're the right one to review this. AFAIU, there was not ...
6 years, 5 months ago (2014-07-17 15:28:47 UTC) #1
pneubeck (no reviews)
updated the commit message to give some explanation.
6 years, 5 months ago (2014-07-17 15:35:36 UTC) #2
pneubeck (no reviews)
@Yuri, could you take a look whether the usage of the login idioms in the ...
6 years, 5 months ago (2014-07-18 08:55:22 UTC) #3
ygorshenin1
lgtm https://codereview.chromium.org/398363002/diff/40001/chrome/browser/chromeos/login/auth/parallel_authenticator_unittest.cc File chrome/browser/chromeos/login/auth/parallel_authenticator_unittest.cc (right): https://codereview.chromium.org/398363002/diff/40001/chrome/browser/chromeos/login/auth/parallel_authenticator_unittest.cc#newcode430 chrome/browser/chromeos/login/auth/parallel_authenticator_unittest.cc:430: device_settings_provider = nit: move device_settings_provider declaration here. https://codereview.chromium.org/398363002/diff/40001/chrome/browser/chromeos/login/auth/parallel_authenticator_unittest.cc#newcode435 ...
6 years, 5 months ago (2014-07-18 10:27:46 UTC) #4
pneubeck (no reviews)
Discussed the change also with pastarmovj@, who originally added safe mode. https://codereview.chromium.org/398363002/diff/40001/chrome/browser/chromeos/login/auth/parallel_authenticator_unittest.cc File chrome/browser/chromeos/login/auth/parallel_authenticator_unittest.cc (right): ...
6 years, 5 months ago (2014-07-18 12:20:30 UTC) #5
pneubeck (no reviews)
The CQ bit was checked by pneubeck@chromium.org
6 years, 5 months ago (2014-07-18 12:20:35 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/398363002/60001
6 years, 5 months ago (2014-07-18 12:21:21 UTC) #7
commit-bot: I haz the power
6 years, 5 months ago (2014-07-18 16:03:46 UTC) #8
Message was sent while issue was closed.
Change committed as 284106

Powered by Google App Engine
This is Rietveld 408576698