Lines Matching refs:duration
80 base::TimeDelta duration; in TEST() local
92 &fake_system_state, state_variable_key, &duration)); in TEST()
96 &fake_system_state, state_variable_key, &duration)); in TEST()
97 EXPECT_EQ(duration.InSeconds(), 0); in TEST()
102 &fake_system_state, state_variable_key, &duration)); in TEST()
103 EXPECT_EQ(duration.InSeconds(), 0); in TEST()
105 &fake_system_state, state_variable_key, &duration)); in TEST()
106 EXPECT_EQ(duration.InSeconds(), 0); in TEST()
112 &fake_system_state, state_variable_key, &duration)); in TEST()
113 EXPECT_EQ(duration.InSeconds(), 1); in TEST()
115 &fake_system_state, state_variable_key, &duration)); in TEST()
116 EXPECT_EQ(duration.InSeconds(), 0); in TEST()
121 &fake_system_state, state_variable_key, &duration)); in TEST()
122 EXPECT_EQ(duration.InSeconds(), 2); in TEST()
124 &fake_system_state, state_variable_key, &duration)); in TEST()
125 EXPECT_EQ(duration.InSeconds(), 0); in TEST()
132 &fake_system_state, state_variable_key, &duration)); in TEST()
135 &fake_system_state, state_variable_key, &duration)); in TEST()
136 EXPECT_EQ(duration.InSeconds(), 1); in TEST()
143 base::TimeDelta duration; in TEST() local
152 &fake_system_state, &storage, &duration)); in TEST()
156 &fake_system_state, &storage, &duration)); in TEST()
157 EXPECT_EQ(duration.InSeconds(), 0); in TEST()
162 &fake_system_state, &storage, &duration)); in TEST()
163 EXPECT_EQ(duration.InSeconds(), 0); in TEST()
165 &fake_system_state, &storage, &duration)); in TEST()
166 EXPECT_EQ(duration.InSeconds(), 0); in TEST()
172 &fake_system_state, &storage, &duration)); in TEST()
173 EXPECT_EQ(duration.InSeconds(), 1); in TEST()
175 &fake_system_state, &storage, &duration)); in TEST()
176 EXPECT_EQ(duration.InSeconds(), 0); in TEST()
181 &fake_system_state, &storage, &duration)); in TEST()
182 EXPECT_EQ(duration.InSeconds(), 2); in TEST()
184 &fake_system_state, &storage, &duration)); in TEST()
185 EXPECT_EQ(duration.InSeconds(), 0); in TEST()