Lines Matching refs:order

460 void RecursiveFunc(TaskList* order, int cookie, int depth,  in RecursiveFunc()  argument
462 order->RecordStart(RECURSIVE, cookie); in RecursiveFunc()
468 Bind(&RecursiveFunc, order, cookie, depth - 1, is_reentrant)); in RecursiveFunc()
470 order->RecordEnd(RECURSIVE, cookie); in RecursiveFunc()
473 void QuitFunc(TaskList* order, int cookie) { in QuitFunc() argument
474 order->RecordStart(QUITMESSAGELOOP, cookie); in QuitFunc()
476 order->RecordEnd(QUITMESSAGELOOP, cookie); in QuitFunc()
483 TaskList order; in RunTest_RecursiveDenial1() local
486 Bind(&RecursiveFunc, &order, 1, 2, false)); in RunTest_RecursiveDenial1()
489 Bind(&RecursiveFunc, &order, 2, 2, false)); in RunTest_RecursiveDenial1()
492 Bind(&QuitFunc, &order, 3)); in RunTest_RecursiveDenial1()
497 ASSERT_EQ(14U, order.Size()); in RunTest_RecursiveDenial1()
498 EXPECT_EQ(order.Get(0), TaskItem(RECURSIVE, 1, true)); in RunTest_RecursiveDenial1()
499 EXPECT_EQ(order.Get(1), TaskItem(RECURSIVE, 1, false)); in RunTest_RecursiveDenial1()
500 EXPECT_EQ(order.Get(2), TaskItem(RECURSIVE, 2, true)); in RunTest_RecursiveDenial1()
501 EXPECT_EQ(order.Get(3), TaskItem(RECURSIVE, 2, false)); in RunTest_RecursiveDenial1()
502 EXPECT_EQ(order.Get(4), TaskItem(QUITMESSAGELOOP, 3, true)); in RunTest_RecursiveDenial1()
503 EXPECT_EQ(order.Get(5), TaskItem(QUITMESSAGELOOP, 3, false)); in RunTest_RecursiveDenial1()
504 EXPECT_EQ(order.Get(6), TaskItem(RECURSIVE, 1, true)); in RunTest_RecursiveDenial1()
505 EXPECT_EQ(order.Get(7), TaskItem(RECURSIVE, 1, false)); in RunTest_RecursiveDenial1()
506 EXPECT_EQ(order.Get(8), TaskItem(RECURSIVE, 2, true)); in RunTest_RecursiveDenial1()
507 EXPECT_EQ(order.Get(9), TaskItem(RECURSIVE, 2, false)); in RunTest_RecursiveDenial1()
508 EXPECT_EQ(order.Get(10), TaskItem(RECURSIVE, 1, true)); in RunTest_RecursiveDenial1()
509 EXPECT_EQ(order.Get(11), TaskItem(RECURSIVE, 1, false)); in RunTest_RecursiveDenial1()
510 EXPECT_EQ(order.Get(12), TaskItem(RECURSIVE, 2, true)); in RunTest_RecursiveDenial1()
511 EXPECT_EQ(order.Get(13), TaskItem(RECURSIVE, 2, false)); in RunTest_RecursiveDenial1()
514 void RecursiveSlowFunc(TaskList* order, int cookie, int depth, in RecursiveSlowFunc() argument
516 RecursiveFunc(order, cookie, depth, is_reentrant); in RecursiveSlowFunc()
520 void OrderedFunc(TaskList* order, int cookie) { in OrderedFunc() argument
521 order->RecordStart(ORDERED, cookie); in OrderedFunc()
522 order->RecordEnd(ORDERED, cookie); in OrderedFunc()
530 TaskList order; in RunTest_RecursiveDenial3() local
532 FROM_HERE, Bind(&RecursiveSlowFunc, &order, 1, 2, false)); in RunTest_RecursiveDenial3()
534 FROM_HERE, Bind(&RecursiveSlowFunc, &order, 2, 2, false)); in RunTest_RecursiveDenial3()
537 Bind(&OrderedFunc, &order, 3), in RunTest_RecursiveDenial3()
541 Bind(&QuitFunc, &order, 4), in RunTest_RecursiveDenial3()
547 ASSERT_EQ(16U, order.Size()); in RunTest_RecursiveDenial3()
548 EXPECT_EQ(order.Get(0), TaskItem(RECURSIVE, 1, true)); in RunTest_RecursiveDenial3()
549 EXPECT_EQ(order.Get(1), TaskItem(RECURSIVE, 1, false)); in RunTest_RecursiveDenial3()
550 EXPECT_EQ(order.Get(2), TaskItem(RECURSIVE, 2, true)); in RunTest_RecursiveDenial3()
551 EXPECT_EQ(order.Get(3), TaskItem(RECURSIVE, 2, false)); in RunTest_RecursiveDenial3()
552 EXPECT_EQ(order.Get(4), TaskItem(RECURSIVE, 1, true)); in RunTest_RecursiveDenial3()
553 EXPECT_EQ(order.Get(5), TaskItem(RECURSIVE, 1, false)); in RunTest_RecursiveDenial3()
554 EXPECT_EQ(order.Get(6), TaskItem(ORDERED, 3, true)); in RunTest_RecursiveDenial3()
555 EXPECT_EQ(order.Get(7), TaskItem(ORDERED, 3, false)); in RunTest_RecursiveDenial3()
556 EXPECT_EQ(order.Get(8), TaskItem(RECURSIVE, 2, true)); in RunTest_RecursiveDenial3()
557 EXPECT_EQ(order.Get(9), TaskItem(RECURSIVE, 2, false)); in RunTest_RecursiveDenial3()
558 EXPECT_EQ(order.Get(10), TaskItem(QUITMESSAGELOOP, 4, true)); in RunTest_RecursiveDenial3()
559 EXPECT_EQ(order.Get(11), TaskItem(QUITMESSAGELOOP, 4, false)); in RunTest_RecursiveDenial3()
560 EXPECT_EQ(order.Get(12), TaskItem(RECURSIVE, 1, true)); in RunTest_RecursiveDenial3()
561 EXPECT_EQ(order.Get(13), TaskItem(RECURSIVE, 1, false)); in RunTest_RecursiveDenial3()
562 EXPECT_EQ(order.Get(14), TaskItem(RECURSIVE, 2, true)); in RunTest_RecursiveDenial3()
563 EXPECT_EQ(order.Get(15), TaskItem(RECURSIVE, 2, false)); in RunTest_RecursiveDenial3()
570 TaskList order; in RunTest_RecursiveSupport1() local
572 FROM_HERE, Bind(&RecursiveFunc, &order, 1, 2, true)); in RunTest_RecursiveSupport1()
574 FROM_HERE, Bind(&RecursiveFunc, &order, 2, 2, true)); in RunTest_RecursiveSupport1()
576 FROM_HERE, Bind(&QuitFunc, &order, 3)); in RunTest_RecursiveSupport1()
581 ASSERT_EQ(14U, order.Size()); in RunTest_RecursiveSupport1()
582 EXPECT_EQ(order.Get(0), TaskItem(RECURSIVE, 1, true)); in RunTest_RecursiveSupport1()
583 EXPECT_EQ(order.Get(1), TaskItem(RECURSIVE, 1, false)); in RunTest_RecursiveSupport1()
584 EXPECT_EQ(order.Get(2), TaskItem(RECURSIVE, 2, true)); in RunTest_RecursiveSupport1()
585 EXPECT_EQ(order.Get(3), TaskItem(RECURSIVE, 2, false)); in RunTest_RecursiveSupport1()
586 EXPECT_EQ(order.Get(4), TaskItem(QUITMESSAGELOOP, 3, true)); in RunTest_RecursiveSupport1()
587 EXPECT_EQ(order.Get(5), TaskItem(QUITMESSAGELOOP, 3, false)); in RunTest_RecursiveSupport1()
588 EXPECT_EQ(order.Get(6), TaskItem(RECURSIVE, 1, true)); in RunTest_RecursiveSupport1()
589 EXPECT_EQ(order.Get(7), TaskItem(RECURSIVE, 1, false)); in RunTest_RecursiveSupport1()
590 EXPECT_EQ(order.Get(8), TaskItem(RECURSIVE, 2, true)); in RunTest_RecursiveSupport1()
591 EXPECT_EQ(order.Get(9), TaskItem(RECURSIVE, 2, false)); in RunTest_RecursiveSupport1()
592 EXPECT_EQ(order.Get(10), TaskItem(RECURSIVE, 1, true)); in RunTest_RecursiveSupport1()
593 EXPECT_EQ(order.Get(11), TaskItem(RECURSIVE, 1, false)); in RunTest_RecursiveSupport1()
594 EXPECT_EQ(order.Get(12), TaskItem(RECURSIVE, 2, true)); in RunTest_RecursiveSupport1()
595 EXPECT_EQ(order.Get(13), TaskItem(RECURSIVE, 2, false)); in RunTest_RecursiveSupport1()
603 TaskList order; in RunTest_NonNestableWithNoNesting() local
607 Bind(&OrderedFunc, &order, 1)); in RunTest_NonNestableWithNoNesting()
609 Bind(&OrderedFunc, &order, 2)); in RunTest_NonNestableWithNoNesting()
611 Bind(&QuitFunc, &order, 3)); in RunTest_NonNestableWithNoNesting()
615 ASSERT_EQ(6U, order.Size()); in RunTest_NonNestableWithNoNesting()
616 EXPECT_EQ(order.Get(0), TaskItem(ORDERED, 1, true)); in RunTest_NonNestableWithNoNesting()
617 EXPECT_EQ(order.Get(1), TaskItem(ORDERED, 1, false)); in RunTest_NonNestableWithNoNesting()
618 EXPECT_EQ(order.Get(2), TaskItem(ORDERED, 2, true)); in RunTest_NonNestableWithNoNesting()
619 EXPECT_EQ(order.Get(3), TaskItem(ORDERED, 2, false)); in RunTest_NonNestableWithNoNesting()
620 EXPECT_EQ(order.Get(4), TaskItem(QUITMESSAGELOOP, 3, true)); in RunTest_NonNestableWithNoNesting()
621 EXPECT_EQ(order.Get(5), TaskItem(QUITMESSAGELOOP, 3, false)); in RunTest_NonNestableWithNoNesting()
624 void FuncThatPumps(TaskList* order, int cookie) { in FuncThatPumps() argument
625 order->RecordStart(PUMPS, cookie); in FuncThatPumps()
630 order->RecordEnd(PUMPS, cookie); in FuncThatPumps()
633 void SleepFunc(TaskList* order, int cookie, TimeDelta delay) { in SleepFunc() argument
634 order->RecordStart(SLEEP, cookie); in SleepFunc()
636 order->RecordEnd(SLEEP, cookie); in SleepFunc()
645 TaskList order; in RunTest_NonNestableInNestedLoop() local
649 Bind(&FuncThatPumps, &order, 1)); in RunTest_NonNestableInNestedLoop()
653 Bind(&OrderedFunc, &order, 2), in RunTest_NonNestableInNestedLoop()
658 Bind(&OrderedFunc, &order, 2)); in RunTest_NonNestableInNestedLoop()
661 Bind(&OrderedFunc, &order, 3)); in RunTest_NonNestableInNestedLoop()
664 Bind(&SleepFunc, &order, 4, TimeDelta::FromMilliseconds(50))); in RunTest_NonNestableInNestedLoop()
666 Bind(&OrderedFunc, &order, 5)); in RunTest_NonNestableInNestedLoop()
670 Bind(&QuitFunc, &order, 6), in RunTest_NonNestableInNestedLoop()
675 Bind(&QuitFunc, &order, 6)); in RunTest_NonNestableInNestedLoop()
681 ASSERT_EQ(12U, order.Size()); in RunTest_NonNestableInNestedLoop()
682 EXPECT_EQ(order.Get(0), TaskItem(PUMPS, 1, true)); in RunTest_NonNestableInNestedLoop()
683 EXPECT_EQ(order.Get(1), TaskItem(ORDERED, 3, true)); in RunTest_NonNestableInNestedLoop()
684 EXPECT_EQ(order.Get(2), TaskItem(ORDERED, 3, false)); in RunTest_NonNestableInNestedLoop()
685 EXPECT_EQ(order.Get(3), TaskItem(SLEEP, 4, true)); in RunTest_NonNestableInNestedLoop()
686 EXPECT_EQ(order.Get(4), TaskItem(SLEEP, 4, false)); in RunTest_NonNestableInNestedLoop()
687 EXPECT_EQ(order.Get(5), TaskItem(ORDERED, 5, true)); in RunTest_NonNestableInNestedLoop()
688 EXPECT_EQ(order.Get(6), TaskItem(ORDERED, 5, false)); in RunTest_NonNestableInNestedLoop()
689 EXPECT_EQ(order.Get(7), TaskItem(PUMPS, 1, false)); in RunTest_NonNestableInNestedLoop()
690 EXPECT_EQ(order.Get(8), TaskItem(ORDERED, 2, true)); in RunTest_NonNestableInNestedLoop()
691 EXPECT_EQ(order.Get(9), TaskItem(ORDERED, 2, false)); in RunTest_NonNestableInNestedLoop()
692 EXPECT_EQ(order.Get(10), TaskItem(QUITMESSAGELOOP, 6, true)); in RunTest_NonNestableInNestedLoop()
693 EXPECT_EQ(order.Get(11), TaskItem(QUITMESSAGELOOP, 6, false)); in RunTest_NonNestableInNestedLoop()
696 void FuncThatRuns(TaskList* order, int cookie, RunLoop* run_loop) { in FuncThatRuns() argument
697 order->RecordStart(RUNS, cookie); in FuncThatRuns()
702 order->RecordEnd(RUNS, cookie); in FuncThatRuns()
713 TaskList order; in RunTest_QuitNow() local
718 Bind(&FuncThatRuns, &order, 1, Unretained(&run_loop))); in RunTest_QuitNow()
720 FROM_HERE, Bind(&OrderedFunc, &order, 2)); in RunTest_QuitNow()
724 FROM_HERE, Bind(&OrderedFunc, &order, 3)); in RunTest_QuitNow()
728 FROM_HERE, Bind(&OrderedFunc, &order, 4)); // never runs in RunTest_QuitNow()
732 ASSERT_EQ(6U, order.Size()); in RunTest_QuitNow()
734 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, true)); in RunTest_QuitNow()
735 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, true)); in RunTest_QuitNow()
736 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, false)); in RunTest_QuitNow()
737 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, false)); in RunTest_QuitNow()
738 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 3, true)); in RunTest_QuitNow()
739 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 3, false)); in RunTest_QuitNow()
740 EXPECT_EQ(static_cast<size_t>(task_index), order.Size()); in RunTest_QuitNow()
748 TaskList order; in RunTest_RunLoopQuitTop() local
754 Bind(&FuncThatRuns, &order, 1, Unretained(&nested_run_loop))); in RunTest_RunLoopQuitTop()
758 FROM_HERE, Bind(&OrderedFunc, &order, 2)); in RunTest_RunLoopQuitTop()
764 ASSERT_EQ(4U, order.Size()); in RunTest_RunLoopQuitTop()
766 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, true)); in RunTest_RunLoopQuitTop()
767 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, true)); in RunTest_RunLoopQuitTop()
768 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, false)); in RunTest_RunLoopQuitTop()
769 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, false)); in RunTest_RunLoopQuitTop()
770 EXPECT_EQ(static_cast<size_t>(task_index), order.Size()); in RunTest_RunLoopQuitTop()
778 TaskList order; in RunTest_RunLoopQuitNested() local
784 Bind(&FuncThatRuns, &order, 1, Unretained(&nested_run_loop))); in RunTest_RunLoopQuitNested()
788 FROM_HERE, Bind(&OrderedFunc, &order, 2)); in RunTest_RunLoopQuitNested()
794 ASSERT_EQ(4U, order.Size()); in RunTest_RunLoopQuitNested()
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()
798 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, true)); in RunTest_RunLoopQuitNested()
799 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, false)); in RunTest_RunLoopQuitNested()
800 EXPECT_EQ(static_cast<size_t>(task_index), order.Size()); in RunTest_RunLoopQuitNested()
808 TaskList order; in RunTest_RunLoopQuitBogus() local
815 Bind(&FuncThatRuns, &order, 1, Unretained(&nested_run_loop))); in RunTest_RunLoopQuitBogus()
819 FROM_HERE, Bind(&OrderedFunc, &order, 2)); in RunTest_RunLoopQuitBogus()
827 ASSERT_EQ(4U, order.Size()); in RunTest_RunLoopQuitBogus()
829 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, true)); in RunTest_RunLoopQuitBogus()
830 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, true)); in RunTest_RunLoopQuitBogus()
831 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, false)); in RunTest_RunLoopQuitBogus()
832 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, false)); in RunTest_RunLoopQuitBogus()
833 EXPECT_EQ(static_cast<size_t>(task_index), order.Size()); in RunTest_RunLoopQuitBogus()
841 TaskList order; in RunTest_RunLoopQuitDeep() local
850 Bind(&FuncThatRuns, &order, 1, Unretained(&nested_loop1))); in RunTest_RunLoopQuitDeep()
852 Bind(&FuncThatRuns, &order, 2, Unretained(&nested_loop2))); in RunTest_RunLoopQuitDeep()
854 Bind(&FuncThatRuns, &order, 3, Unretained(&nested_loop3))); in RunTest_RunLoopQuitDeep()
856 Bind(&FuncThatRuns, &order, 4, Unretained(&nested_loop4))); in RunTest_RunLoopQuitDeep()
858 FROM_HERE, Bind(&OrderedFunc, &order, 5)); in RunTest_RunLoopQuitDeep()
862 FROM_HERE, Bind(&OrderedFunc, &order, 6)); in RunTest_RunLoopQuitDeep()
866 FROM_HERE, Bind(&OrderedFunc, &order, 7)); in RunTest_RunLoopQuitDeep()
870 FROM_HERE, Bind(&OrderedFunc, &order, 8)); in RunTest_RunLoopQuitDeep()
874 FROM_HERE, Bind(&OrderedFunc, &order, 9)); in RunTest_RunLoopQuitDeep()
878 FROM_HERE, Bind(&OrderedFunc, &order, 10)); in RunTest_RunLoopQuitDeep()
882 ASSERT_EQ(18U, order.Size()); in RunTest_RunLoopQuitDeep()
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()
888 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 5, true)); in RunTest_RunLoopQuitDeep()
889 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 5, false)); in RunTest_RunLoopQuitDeep()
890 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 6, true)); in RunTest_RunLoopQuitDeep()
891 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 6, false)); in RunTest_RunLoopQuitDeep()
892 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 7, true)); in RunTest_RunLoopQuitDeep()
893 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 7, false)); in RunTest_RunLoopQuitDeep()
894 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 8, true)); in RunTest_RunLoopQuitDeep()
895 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 8, false)); in RunTest_RunLoopQuitDeep()
896 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 9, true)); in RunTest_RunLoopQuitDeep()
897 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 9, false)); 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()
902 EXPECT_EQ(static_cast<size_t>(task_index), order.Size()); in RunTest_RunLoopQuitDeep()
910 TaskList order; in RunTest_RunLoopQuitOrderBefore() local
917 FROM_HERE, Bind(&OrderedFunc, &order, 1)); // never runs in RunTest_RunLoopQuitOrderBefore()
923 ASSERT_EQ(0U, order.Size()); in RunTest_RunLoopQuitOrderBefore()
931 TaskList order; in RunTest_RunLoopQuitOrderDuring() local
936 FROM_HERE, Bind(&OrderedFunc, &order, 1)); in RunTest_RunLoopQuitOrderDuring()
940 FROM_HERE, Bind(&OrderedFunc, &order, 2)); // never runs in RunTest_RunLoopQuitOrderDuring()
946 ASSERT_EQ(2U, order.Size()); in RunTest_RunLoopQuitOrderDuring()
948 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 1, true)); in RunTest_RunLoopQuitOrderDuring()
949 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 1, false)); in RunTest_RunLoopQuitOrderDuring()
950 EXPECT_EQ(static_cast<size_t>(task_index), order.Size()); in RunTest_RunLoopQuitOrderDuring()
958 TaskList order; in RunTest_RunLoopQuitOrderAfter() local
963 Bind(&FuncThatRuns, &order, 1, Unretained(&run_loop))); in RunTest_RunLoopQuitOrderAfter()
965 FROM_HERE, Bind(&OrderedFunc, &order, 2)); in RunTest_RunLoopQuitOrderAfter()
969 FROM_HERE, Bind(&OrderedFunc, &order, 3)); in RunTest_RunLoopQuitOrderAfter()
973 FROM_HERE, Bind(&OrderedFunc, &order, 4)); in RunTest_RunLoopQuitOrderAfter()
980 ASSERT_EQ(8U, order.Size()); in RunTest_RunLoopQuitOrderAfter()
982 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, true)); in RunTest_RunLoopQuitOrderAfter()
983 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, true)); in RunTest_RunLoopQuitOrderAfter()
984 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, false)); in RunTest_RunLoopQuitOrderAfter()
985 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, false)); in RunTest_RunLoopQuitOrderAfter()
986 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 3, true)); in RunTest_RunLoopQuitOrderAfter()
987 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 3, false)); in RunTest_RunLoopQuitOrderAfter()
988 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 4, true)); in RunTest_RunLoopQuitOrderAfter()
989 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 4, false)); in RunTest_RunLoopQuitOrderAfter()
990 EXPECT_EQ(static_cast<size_t>(task_index), order.Size()); in RunTest_RunLoopQuitOrderAfter()