Lines Matching refs:platform

12 namespace platform {  namespace
42 DefaultPlatform platform; in TEST() local
43 EXPECT_FALSE(platform.PumpMessageLoop(isolate)); in TEST()
46 platform.CallOnForegroundThread(isolate, task); in TEST()
49 EXPECT_TRUE(platform.PumpMessageLoop(isolate)); in TEST()
50 EXPECT_FALSE(platform.PumpMessageLoop(isolate)); in TEST()
60 DefaultPlatformWithMockTime platform; in TEST() local
61 EXPECT_FALSE(platform.PumpMessageLoop(isolate)); in TEST()
65 platform.CallDelayedOnForegroundThread(isolate, task2, 100); in TEST()
66 platform.CallDelayedOnForegroundThread(isolate, task1, 10); in TEST()
68 EXPECT_FALSE(platform.PumpMessageLoop(isolate)); in TEST()
70 platform.IncreaseTime(11); in TEST()
73 EXPECT_TRUE(platform.PumpMessageLoop(isolate)); in TEST()
75 EXPECT_FALSE(platform.PumpMessageLoop(isolate)); in TEST()
77 platform.IncreaseTime(90); in TEST()
80 EXPECT_TRUE(platform.PumpMessageLoop(isolate)); in TEST()
90 DefaultPlatformWithMockTime platform; in TEST() local
91 EXPECT_FALSE(platform.PumpMessageLoop(isolate)); in TEST()
96 platform.CallOnForegroundThread(isolate, task1); in TEST()
97 platform.CallDelayedOnForegroundThread(isolate, task2, 10); in TEST()
98 platform.IncreaseTime(11); in TEST()
102 EXPECT_TRUE(platform.PumpMessageLoop(isolate)); in TEST()
104 platform.CallOnForegroundThread(isolate, task3); in TEST()
108 EXPECT_TRUE(platform.PumpMessageLoop(isolate)); in TEST()
111 EXPECT_TRUE(platform.PumpMessageLoop(isolate)); in TEST()
122 DefaultPlatformWithMockTime platform; in TEST() local
124 platform.CallDelayedOnForegroundThread(isolate, task, 10); in TEST()