chrome/browser/chromeos/power/session_length_limiter_unittest.cc
// Verifies that the session start time in local state is updated during login
// if a valid session start time has been stored before.
Verifies that the session start time in local state is updated during login
if a valid session start time has been stored before.
Verifies that the session start time in local state is updated during login if a valid session start time has been stored before .
TEST_F(SessionLengthLimiterTest, StartWithSessionStartTimeValid) {
  const base::Time previous_start_time = now_ - base::TimeDelta::FromHours(2);
  SetSessionStartTimePref(previous_start_time.ToInternalValue());
  CreateSessionLengthLimiter(false);
  VerifySessionStartTimePref();
}
TEST_F ( SessionLengthLimiterTest , StartWithSessionStartTimeValid ) { const base :: Time previous_start_time = now_ - base :: TimeDelta :: FromHours ( 2 ) ; SetSessionStartTimePref ( previous_start_time . ToInternalValue ( ) ) ; CreateSessionLengthLimiter ( false ) ; VerifySessionStartTimePref ( ) ; }
Verifies that the session start time in local state is updated during login
if a valid session start time has been stored before.
Verifies that the session start time in local state is updated during login if a valid session start time has been stored before .