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

Issue 6880288: [autotest] Add test for the re-taking of ownership after the owner key is lost (Closed)

Created:
9 years, 8 months ago by Chris Masone
Modified:
9 years, 7 months ago
Reviewers:
petkov
CC:
chromium-os-reviews_chromium.org, sosa+cc_chromium.org, seano+cc_chromium.org, ericli
Visibility:
Public.

Description

[autotest] Add test for the re-taking of ownership after the owner key is lost BUG=chromium-os:11193 TEST=run this test Change-Id: I95b402d47ec430a8556d012d9a2ee2614507a1e4 Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=105706e

Patch Set 1 #

Patch Set 2 : cleanup more unneeded vars #

Total comments: 9

Patch Set 3 : address petkov comments, remove code from cros_ownership_test.py that I copied to ownership.py #

Patch Set 4 : biiiig refactor #

Patch Set 5 : improve comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+395 lines, -84 lines) Patch
M client/cros/constants.py View 1 2 3 chunks +6 lines, -2 lines 0 comments Download
M client/cros/cros_ownership_test.py View 1 2 3 3 chunks +46 lines, -22 lines 0 comments Download
M client/cros/cros_ui_test.py View 1 2 3 2 chunks +26 lines, -5 lines 0 comments Download
M client/cros/login.py View 2 chunks +1 line, -2 lines 0 comments Download
D client/cros/mock_owner.preferences View 1 1 chunk +0 lines, -15 lines 0 comments Download
M client/cros/ownership.py View 1 2 3 5 chunks +123 lines, -2 lines 0 comments Download
M client/site_tests/login_OwnershipApi/login_OwnershipApi.py View 1 2 3 3 chunks +22 lines, -7 lines 0 comments Download
A client/site_tests/login_OwnershipRetaken/control View 1 chunk +24 lines, -0 lines 0 comments Download
A client/site_tests/login_OwnershipRetaken/login_OwnershipRetaken.py View 1 2 3 4 1 chunk +122 lines, -0 lines 0 comments Download
A client/site_tests/login_OwnershipRetaken/src/Makefile View 1 chunk +22 lines, -0 lines 0 comments Download
M client/site_tests/login_OwnershipTaken/login_OwnershipTaken.py View 1 chunk +1 line, -27 lines 0 comments Download
M client/site_tests/login_RemoteOwnership/login_RemoteOwnership.py View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Chris Masone
PTAL
9 years, 8 months ago (2011-04-28 21:39:24 UTC) #1
petkov
http://codereview.chromium.org/6880288/diff/2001/client/cros/constants.py File client/cros/constants.py (right): http://codereview.chromium.org/6880288/diff/2001/client/cros/constants.py#newcode1 client/cros/constants.py:1: # Copyright (c) 2010 The Chromium OS Authors. All ...
9 years, 8 months ago (2011-04-28 22:16:25 UTC) #2
Chris Masone
http://codereview.chromium.org/6880288/diff/2001/client/cros/constants.py File client/cros/constants.py (right): http://codereview.chromium.org/6880288/diff/2001/client/cros/constants.py#newcode1 client/cros/constants.py:1: # Copyright (c) 2010 The Chromium OS Authors. All ...
9 years, 8 months ago (2011-04-28 22:43:51 UTC) #3
petkov
LGTM if my assumption about test order is correct. It just looks that if you ...
9 years, 8 months ago (2011-04-28 22:48:47 UTC) #4
Chris Masone
Ah, I see the problem. OwnershipRetaken is a UITest, and that class sets up all ...
9 years, 8 months ago (2011-04-28 23:08:26 UTC) #5
petkov
On 2011/04/28 23:08:26, Chris Masone wrote: > Ah, I see the problem. > > OwnershipRetaken ...
9 years, 8 months ago (2011-04-28 23:10:03 UTC) #6
Chris Masone
So, I thought about this more last night and realized that i _should_ have done ...
9 years, 7 months ago (2011-04-29 19:39:06 UTC) #7
petkov
9 years, 7 months ago (2011-04-29 21:26:02 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698