Lines Matching full:runs

72 // This function runs slowly to simulate a large amount of work being done.
205 // Test that a delayed task still runs after a normal tasks even if the in RunTest_PostDelayedTask_InPostOrder_2()
232 // Test that a delayed task still runs after a pile of normal tasks. The key in RunTest_PostDelayedTask_InPostOrder_3()
390 RUNS, enumerator
697 order->RecordStart(RUNS, cookie); in FuncThatRuns()
702 order->RecordEnd(RUNS, cookie); in FuncThatRuns()
728 FROM_HERE, Bind(&OrderedFunc, &order, 4)); // never runs in RunTest_QuitNow()
734 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, true)); in RunTest_QuitNow()
737 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, false)); in RunTest_QuitNow()
766 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, true)); in RunTest_RunLoopQuitTop()
769 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, false)); in RunTest_RunLoopQuitTop()
796 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, true)); in RunTest_RunLoopQuitNested()
797 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, false)); in RunTest_RunLoopQuitNested()
829 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, true)); in RunTest_RunLoopQuitBogus()
832 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, false)); in RunTest_RunLoopQuitBogus()
884 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, true)); in RunTest_RunLoopQuitDeep()
885 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 2, true)); in RunTest_RunLoopQuitDeep()
886 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 3, true)); in RunTest_RunLoopQuitDeep()
887 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 4, true)); in RunTest_RunLoopQuitDeep()
898 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 4, false)); in RunTest_RunLoopQuitDeep()
899 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 3, false)); in RunTest_RunLoopQuitDeep()
900 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 2, false)); in RunTest_RunLoopQuitDeep()
901 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, false)); in RunTest_RunLoopQuitDeep()
917 FROM_HERE, Bind(&OrderedFunc, &order, 1)); // never runs in RunTest_RunLoopQuitOrderBefore()
919 FROM_HERE, Bind(&FuncThatQuitsNow)); // never runs in RunTest_RunLoopQuitOrderBefore()
940 FROM_HERE, Bind(&OrderedFunc, &order, 2)); // never runs in RunTest_RunLoopQuitOrderDuring()
942 FROM_HERE, Bind(&FuncThatQuitsNow)); // never runs in RunTest_RunLoopQuitOrderDuring()
982 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, true)); in RunTest_RunLoopQuitOrderAfter()
985 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, false)); in RunTest_RunLoopQuitOrderAfter()