Lines Matching refs:did_run
33 explicit OneShotTimerTester(bool* did_run, unsigned milliseconds = 10) in OneShotTimerTester() argument
34 : did_run_(did_run), in OneShotTimerTester()
65 explicit OneShotSelfDeletingTimerTester(bool* did_run) in OneShotSelfDeletingTimerTester() argument
66 : did_run_(did_run), timer_(new base::OneShotTimer()) {} in OneShotSelfDeletingTimerTester()
86 explicit RepeatingTimerTester(bool* did_run, const TimeDelta& delay) in RepeatingTimerTester() argument
87 : did_run_(did_run), counter_(10), delay_(delay) { in RepeatingTimerTester()
112 bool did_run = false; in RunTest_OneShotTimer() local
113 OneShotTimerTester f(&did_run); in RunTest_OneShotTimer()
118 EXPECT_TRUE(did_run); in RunTest_OneShotTimer()
147 bool did_run = false; in RunTest_OneShotSelfDeletingTimer() local
148 OneShotSelfDeletingTimerTester f(&did_run); in RunTest_OneShotSelfDeletingTimer()
153 EXPECT_TRUE(did_run); in RunTest_OneShotSelfDeletingTimer()
160 bool did_run = false; in RunTest_RepeatingTimer() local
161 RepeatingTimerTester f(&did_run, delay); in RunTest_RepeatingTimer()
166 EXPECT_TRUE(did_run); in RunTest_RepeatingTimer()
213 bool did_run = false; in RunTest_DelayTimer_NoCall() local
214 OneShotTimerTester tester(&did_run); in RunTest_DelayTimer_NoCall()
229 bool did_run = false; in RunTest_DelayTimer_OneCall() local
230 OneShotTimerTester tester(&did_run, 100 /* milliseconds */); in RunTest_DelayTimer_OneCall()
268 bool did_run = false; in RunTest_DelayTimer_Reset() local
269 OneShotTimerTester tester(&did_run, 300); in RunTest_DelayTimer_Reset()
330 bool did_run = false; in TEST() local
331 OneShotTimerTester f(&did_run); in TEST()
335 EXPECT_FALSE(did_run); in TEST()
337 EXPECT_TRUE(did_run); in TEST()
398 bool did_run = false; in TEST() local
400 OneShotTimerTester a(&did_run); in TEST()
401 OneShotTimerTester b(&did_run); in TEST()
402 OneShotTimerTester c(&did_run); in TEST()
403 OneShotTimerTester d(&did_run); in TEST()
411 EXPECT_FALSE(did_run); in TEST()