History log of /external/autotest/client/common_lib/cros/policy.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3d68fe8213ef86684d7911f889d56d1345bf3272 26-Mar-2014 Chris Masone <cmasone@chromium.org> Listen for ownership-taken signal on DBus

Many tests that touch on device Ownership were using a
function that simply watched for the presence of policy
and owner key files to indicate that the session_manager
had completed the ownership-taking process on the sign-in
of the first user. This could be tricked, though, in the
case of the UI being restarted between the test clearing
these files and then checking for them again. Stop using
this and switch to watching for signals announcing that
ownership has been taken, which the session_manager has
sent all along anyhow.

BUG=chromium:355664
TEST=login_*Ownership*

Change-Id: I54000c426cfb1aef8fd1518f9cdadec2b42c6500
Reviewed-on: https://chromium-review.googlesource.com/194142
Reviewed-by: Chris Masone <cmasone@chromium.org>
Commit-Queue: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
/external/autotest/client/common_lib/cros/policy.py
d976e0ed3cb28e532f15826c5071149b8fabeaf8 06-May-2013 Chris Masone <cmasone@chromium.org> Move ownership tests to use composition instead of inheritance

Using composition like this makes it clearer what each test is doing, instead
of having stuff happen in the base class as if by magic.

BUG=chromium:222778
TEST=login_*Ownership*
STATUS=Fixed

Change-Id: I7dbb71e1a712efacfdbe7ad64f4ef74ea0793919
Reviewed-on: https://gerrit.chromium.org/gerrit/50194
Commit-Queue: Chris Masone <cmasone@chromium.org>
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
/external/autotest/client/common_lib/cros/policy.py