Lines Matching refs:FormatTimeDelta
250 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromMilliseconds(100)), in TEST()
252 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(0)), "0s"); in TEST()
253 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(1)), "1s"); in TEST()
254 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(59)), "59s"); in TEST()
255 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(60)), "1m0s"); in TEST()
256 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(61)), "1m1s"); in TEST()
257 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(90)), "1m30s"); in TEST()
258 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(1205)), in TEST()
260 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(3600)), in TEST()
262 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(3601)), in TEST()
264 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(3661)), in TEST()
266 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(7261)), in TEST()
268 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(86400)), in TEST()
270 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(86401)), in TEST()
272 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(200000)), in TEST()
274 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(200000) + in TEST()
277 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromSeconds(-1)), "-1s"); in TEST()