History log of /external/autotest/client/site_tests/login_MultipleSessions/login_MultipleSessions.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1e3510a040383790a25e8e54dbcc0e43fc440741 04-Jun-2014 Chris Masone <cmasone@chromium.org> Make sure to StopSession in tests

Some tests may leave user sessions open. Though all tests
should assume nothing about the device environment and make
sure that the UI is up and state is fresh, it's still nice
to clean up better.

BUG=None
TEST=run these tests

Change-Id: I4b8f3cf8aed005238d39326351003a4a743ef948
Reviewed-on: https://chromium-review.googlesource.com/202502
Tested-by: Chris Masone <cmasone@chromium.org>
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
Commit-Queue: Chris Masone <cmasone@chromium.org>
Reviewed-by: Julian Pastarmov <pastarmovj@chromium.org>
/external/autotest/client/site_tests/login_MultipleSessions/login_MultipleSessions.py
8b51165a6ff9510df9e4e7dcae61fae9e6a9b06d 30-May-2014 Utkarsh Sanghi <usanghi@chromium.org> login_MultipleSessions: Stop the session manager sessions at the end of the test

At the moment, the test ends without stopping active sessions.
This isn't a problem, as the cleanup for the test removes sessions.
However if the test is run multiple times, we need to remove sessions in the test

BUG=None
TEST=login_MultipleSessions with multiple iteration counts

Change-Id: Ie8a7a66dffa0303ea3de9f8b49ba15e1e04d2f31
Reviewed-on: https://chromium-review.googlesource.com/202149
Reviewed-by: Chris Masone <cmasone@chromium.org>
Commit-Queue: Utkarsh Sanghi <usanghi@chromium.org>
Tested-by: Utkarsh Sanghi <usanghi@chromium.org>
/external/autotest/client/site_tests/login_MultipleSessions/login_MultipleSessions.py
64170f8e7053f92f4bbad501c61a352fdabf6d82 14-Mar-2014 Chris Masone <cmasone@chromium.org> Update all login_* tests to use CryptohomeProxy

Instead of shelling out to a command-line tool, we should
talk to crypthomed directly over DBus.

BUG=chromium:344862
TEST=login_*

Change-Id: I3a57d8158638cab60e8a7e0dd5c72293e87a87ac
Reviewed-on: https://chromium-review.googlesource.com/190343
Tested-by: Chris Masone <cmasone@chromium.org>
Reviewed-by: Chris Masone <cmasone@chromium.org>
Commit-Queue: Chris Masone <cmasone@chromium.org>
/external/autotest/client/site_tests/login_MultipleSessions/login_MultipleSessions.py
19e305e5e6044c229a675197038568c5c7d25fdf 14-Mar-2014 Chris Masone <cmasone@chromium.org> Switch login_MultipleSessions to use CryptohomeProxy

Instead of shelling out to the cryptohome command line tool,
use CryptohomeProxy to speak to cryptohomed over DBus.

BUG=chromium:344862
TEST=login_MultipleSessions

Change-Id: Ib79cf092b2385b2d922abbc81cf6bd744fe8a0da
Reviewed-on: https://chromium-review.googlesource.com/190088
Tested-by: Chris Masone <cmasone@chromium.org>
Reviewed-by: Will Drewry <wad@chromium.org>
Commit-Queue: Chris Masone <cmasone@chromium.org>
/external/autotest/client/site_tests/login_MultipleSessions/login_MultipleSessions.py
a2b32851e8716f188dde273c73f4c76058bbd289 26-Feb-2014 Chris Masone <cmasone@chromium.org> Ensure that ui is stopped when monkeying with owner policy/key

The session_manager keeps copies of the owner key and policy in memory
and writes them to disk when it shuts down. This means that messing with them
while the UI is up will not persist across a UI restart. At least one test
was making this mistake (login_OwnershipTaken) leading to test-ordering
effects. This change updates ownership.py to correctly enforce this invariant.

BUG=chromium:338528
TEST=run login_*Ownership*

Change-Id: I72bb20b23abf3837e14b21cc6689cc383847b5db
Reviewed-on: https://chromium-review.googlesource.com/188077
Tested-by: Chris Masone <cmasone@chromium.org>
Reviewed-by: Mattias Nissler <mnissler@chromium.org>
Commit-Queue: Chris Masone <cmasone@chromium.org>
/external/autotest/client/site_tests/login_MultipleSessions/login_MultipleSessions.py
c9acf25744b9f267fd334662d2dd3655e139e55c 04-Feb-2014 Chris Masone <cmasone@chromium.org> Fix tests broken by SignalListener refactor

These tests aren't in the BVT yet, and so my CL to refactor
session_manager.SignalListener broke them! Whoops.

BUG=None
TEST=login_MultipleSessions login_OwnershipRetaken

Change-Id: Ifd91e4e046a65a5fcfdcaaf1119b1a9c4807ddb9
Reviewed-on: https://chromium-review.googlesource.com/184904
Tested-by: Chris Masone <cmasone@chromium.org>
Reviewed-by: Alex Miller <milleral@chromium.org>
Commit-Queue: Chris Masone <cmasone@chromium.org>
/external/autotest/client/site_tests/login_MultipleSessions/login_MultipleSessions.py
5d010aa50a0694d498e8317fd8044e56474ce7ed 06-May-2013 Chris Masone <cmasone@chromium.org> Add multiprofile tests for session_manager.StartSession()

Multiple calls to StartSession() with different users should be allowed,
while multiple calls with the same user should not.

BUG=chromium:235179
TEST=run these new tests

CQ-DEPEND=I1200c4463d43cd8cf7d49a2f9f0667ac1cccc261
CQ-DEPEND=I5ee9fb18e1f8c1a933b899acc62618323f2df9bf

Change-Id: I912d3ded053a7f0f41c604f5ffef15477d634017
Reviewed-on: https://gerrit.chromium.org/gerrit/50223
Commit-Queue: Chris Masone <cmasone@chromium.org>
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
/external/autotest/client/site_tests/login_MultipleSessions/login_MultipleSessions.py