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

Issue 2287343004: All DCP manager tests that enroll/register are tested with all auths. (Closed)

Created:
4 years, 3 months ago by The one and only Dr. Crash
Modified:
4 years, 3 months ago
Reviewers:
pastarmovj
CC:
chromium-reviews, oshima+watch_chromium.org, davemoore+watch_chromium.org, dkalin1, minz_google.com
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

All DCP manager tests that enroll/register are tested with all auths. Use a FakeSigningService in the DeviceCloudPolicyInitializer in order to be able to unit test re-enrollment for locked devices when registering with a certificate. BUG=624187, 641447 TEST=unit_tests Committed: https://crrev.com/f71058accb8d57221145dfb2c34769244d6cc54d Cr-Commit-Position: refs/heads/master@{#415574}

Patch Set 1 #

Patch Set 2 : All DCP manager tests that enroll/register are tested with all auths. #

Patch Set 3 : Simplified the fake signing service. #

Patch Set 4 : Slight renaming. #

Total comments: 4

Patch Set 5 : Removed default_attestion_flow #

Patch Set 6 : Fixed tests deriving from a parametrized test to also be parameterized. #

Patch Set 7 : That time when I had to remerge everything... #

Patch Set 8 : All DCP manager tests that enroll/register are tested with all auths. #

Patch Set 9 : All DCP manager tests that enroll/register are tested with all auths. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -65 lines) Patch
M chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc View 1 6 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_initializer.h View 1 2 3 4 6 3 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_initializer.cc View 1 2 3 4 6 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc View 1 2 3 4 5 6 15 chunks +49 lines, -36 lines 0 comments Download
M components/policy/core/common/cloud/cloud_policy_client_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M components/policy/core/common/cloud/mock_signing_service.h View 1 2 6 1 chunk +6 lines, -8 lines 0 comments Download
M components/policy/core/common/cloud/mock_signing_service.cc View 1 2 3 4 5 6 2 chunks +5 lines, -11 lines 0 comments Download

Messages

Total messages: 24 (12 generated)
The one and only Dr. Crash
4 years, 3 months ago (2016-08-30 01:13:00 UTC) #2
pastarmovj
lgtm -ing already now to not delay the change but please consider the request in ...
4 years, 3 months ago (2016-08-30 08:55:03 UTC) #4
The one and only Dr. Crash
https://codereview.chromium.org/2287343004/diff/60001/chrome/browser/chromeos/policy/device_cloud_policy_initializer.h File chrome/browser/chromeos/policy/device_cloud_policy_initializer.h (right): https://codereview.chromium.org/2287343004/diff/60001/chrome/browser/chromeos/policy/device_cloud_policy_initializer.h#newcode156 chrome/browser/chromeos/policy/device_cloud_policy_initializer.h:156: std::unique_ptr<SigningService> default_signing_service_; On 2016/08/30 08:55:03, pastarmovj wrote: > Since ...
4 years, 3 months ago (2016-08-30 17:09:29 UTC) #5
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/2287343004/80001
4 years, 3 months ago (2016-08-30 17:09:50 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/270012)
4 years, 3 months ago (2016-08-30 17:48:24 UTC) #10
The one and only Dr. Crash
4 years, 3 months ago (2016-08-30 18:05:13 UTC) #11
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/2287343004/100001
4 years, 3 months ago (2016-08-30 19:26:17 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/120947) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 3 months ago (2016-08-30 19:30:25 UTC) #16
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/2287343004/120001
4 years, 3 months ago (2016-08-31 04:43:01 UTC) #19
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 3 months ago (2016-08-31 06:30:06 UTC) #21
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/f71058accb8d57221145dfb2c34769244d6cc54d Cr-Commit-Position: refs/heads/master@{#415574}
4 years, 3 months ago (2016-08-31 06:31:54 UTC) #23
battre
4 years, 3 months ago (2016-08-31 11:46:49 UTC) #24
Message was sent while issue was closed.
A revert of this CL (patchset #7 id:120001) has been created in
https://codereview.chromium.org/2302443002/ by battre@chromium.org.

The reason for reverting is: Reverting due to use after free. See
http://crbug.com/624187#c28.

Powered by Google App Engine
This is Rietveld 408576698