Lines Matching refs:payload_state2
1097 PayloadState payload_state2; in TEST() local
1098 EXPECT_TRUE(payload_state2.Initialize(&fake_system_state)); in TEST()
1099 payload_state2.SetResponse(response); in TEST()
1100 EXPECT_EQ(payload_state2.GetUpdateDuration().InMicroseconds(), 10000000); in TEST()
1101 EXPECT_EQ(payload_state2.GetUpdateDurationUptime().InMicroseconds(), in TEST()
1108 payload_state2.UpdateSucceeded(); in TEST()
1109 EXPECT_EQ(payload_state2.GetUpdateDuration().InMicroseconds(), 17000000); in TEST()
1110 EXPECT_EQ(payload_state2.GetUpdateDurationUptime().InMicroseconds(), in TEST()
1143 PayloadState payload_state2; in TEST() local
1144 EXPECT_TRUE(payload_state2.Initialize(&fake_system_state)); in TEST()
1151 payload_state2.UpdateEngineStarted(); in TEST()
1620 PayloadState payload_state2; in TEST() local
1621 EXPECT_TRUE(payload_state2.Initialize(&fake_system_state)); in TEST()
1622 EXPECT_EQ(1, payload_state2.GetP2PNumAttempts()); in TEST()
1623 EXPECT_EQ(time, payload_state2.GetP2PFirstAttemptTimestamp()); in TEST()