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

Unified Diff: ash/common/test/test_system_tray_delegate.h

Issue 2420783002: mustash: Convert TraySupervisedUserTest to AshTest (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/common/test/test_system_tray_delegate.h
diff --git a/ash/common/test/test_system_tray_delegate.h b/ash/common/test/test_system_tray_delegate.h
index 3f5ca4aceaee9e0804283cc4afbab2860af525b5..29c0dd30514fbdeaa15bb3171d0482db9e616101 100644
--- a/ash/common/test/test_system_tray_delegate.h
+++ b/ash/common/test/test_system_tray_delegate.h
@@ -25,9 +25,8 @@ class TestSystemTrayDelegate : public DefaultSystemTrayDelegate {
// Changes the login status when initially the delegate is created. This will
// be called before AshTestBase::SetUp() to test the case when chrome is
- // restarted right after the login (such like a flag is set).
- // This value will be reset in AshTestHelper::TearDown, most test fixtures
- // don't need to care its lifecycle.
+ // restarted right after the login (such like a flag is set). Tests must reset
+ // to LoginStatus::USER after they complete.
static void SetInitialLoginStatus(LoginStatus login_status);
// Changes the current login status in the test. This also invokes

Powered by Google App Engine
This is Rietveld 408576698