Lines Matching refs:TaskItem

134 struct TaskItem {  struct
135 TaskItem(TaskType t, int c, bool s) in TaskItem() function
145 bool operator == (const TaskItem& other) const { in operator ==() argument
168 std::ostream& operator <<(std::ostream& os, const TaskItem& item) { in operator <<()
178 TaskItem item(type, cookie, true); in RecordStart()
184 TaskItem item(type, cookie, false); in RecordEnd()
193 TaskItem Get(int n) { in Get()
198 std::vector<TaskItem> task_list_;
543 EXPECT_EQ(order.Get(0), TaskItem(RECURSIVE, 1, true)); in RunTest_RecursiveDenial2()
544 EXPECT_EQ(order.Get(1), TaskItem(RECURSIVE, 1, false)); in RunTest_RecursiveDenial2()
545 EXPECT_EQ(order.Get(2), TaskItem(MESSAGEBOX, 2, true)); in RunTest_RecursiveDenial2()
546 EXPECT_EQ(order.Get(3), TaskItem(MESSAGEBOX, 2, false)); in RunTest_RecursiveDenial2()
547 EXPECT_EQ(order.Get(4), TaskItem(RECURSIVE, 3, true)); in RunTest_RecursiveDenial2()
548 EXPECT_EQ(order.Get(5), TaskItem(RECURSIVE, 3, false)); in RunTest_RecursiveDenial2()
551 EXPECT_EQ(order.Get(6), TaskItem(ENDDIALOG, 4, true)); in RunTest_RecursiveDenial2()
552 EXPECT_EQ(order.Get(7), TaskItem(QUITMESSAGELOOP, 5, true)); in RunTest_RecursiveDenial2()
553 EXPECT_EQ(order.Get(8), TaskItem(QUITMESSAGELOOP, 5, false)); in RunTest_RecursiveDenial2()
554 EXPECT_EQ(order.Get(9), TaskItem(RECURSIVE, 1, true)); in RunTest_RecursiveDenial2()
555 EXPECT_EQ(order.Get(10), TaskItem(RECURSIVE, 1, false)); in RunTest_RecursiveDenial2()
556 EXPECT_EQ(order.Get(11), TaskItem(RECURSIVE, 3, true)); in RunTest_RecursiveDenial2()
557 EXPECT_EQ(order.Get(12), TaskItem(RECURSIVE, 3, false)); in RunTest_RecursiveDenial2()
558 EXPECT_EQ(order.Get(13), TaskItem(RECURSIVE, 1, true)); in RunTest_RecursiveDenial2()
559 EXPECT_EQ(order.Get(14), TaskItem(RECURSIVE, 1, false)); in RunTest_RecursiveDenial2()
560 EXPECT_EQ(order.Get(15), TaskItem(RECURSIVE, 3, true)); in RunTest_RecursiveDenial2()
561 EXPECT_EQ(order.Get(16), TaskItem(RECURSIVE, 3, false)); in RunTest_RecursiveDenial2()
583 EXPECT_EQ(order.Get(0), TaskItem(RECURSIVE, 1, true)); in RunTest_RecursiveSupport2()
584 EXPECT_EQ(order.Get(1), TaskItem(RECURSIVE, 1, false)); in RunTest_RecursiveSupport2()
585 EXPECT_EQ(order.Get(2), TaskItem(MESSAGEBOX, 2, true)); in RunTest_RecursiveSupport2()
587 EXPECT_EQ(order.Get(3), TaskItem(RECURSIVE, 3, true)); in RunTest_RecursiveSupport2()
588 EXPECT_EQ(order.Get(4), TaskItem(RECURSIVE, 3, false)); in RunTest_RecursiveSupport2()
589 EXPECT_EQ(order.Get(5), TaskItem(ENDDIALOG, 4, true)); in RunTest_RecursiveSupport2()
590 EXPECT_EQ(order.Get(6), TaskItem(ENDDIALOG, 4, false)); in RunTest_RecursiveSupport2()
591 EXPECT_EQ(order.Get(7), TaskItem(MESSAGEBOX, 2, false)); in RunTest_RecursiveSupport2()
601 EXPECT_EQ(order.Get(12), TaskItem(RECURSIVE, 3, true)); in RunTest_RecursiveSupport2()
602 EXPECT_EQ(order.Get(13), TaskItem(RECURSIVE, 3, false)); in RunTest_RecursiveSupport2()
603 EXPECT_EQ(order.Get(14), TaskItem(RECURSIVE, 1, true)); in RunTest_RecursiveSupport2()
604 EXPECT_EQ(order.Get(15), TaskItem(RECURSIVE, 1, false)); in RunTest_RecursiveSupport2()
605 EXPECT_EQ(order.Get(16), TaskItem(RECURSIVE, 3, true)); in RunTest_RecursiveSupport2()
606 EXPECT_EQ(order.Get(17), TaskItem(RECURSIVE, 3, false)); in RunTest_RecursiveSupport2()
1150 EXPECT_EQ(order.Get(0), TaskItem(RECURSIVE, 1, true)); in TEST_P()
1151 EXPECT_EQ(order.Get(1), TaskItem(RECURSIVE, 1, false)); in TEST_P()
1152 EXPECT_EQ(order.Get(2), TaskItem(RECURSIVE, 2, true)); in TEST_P()
1153 EXPECT_EQ(order.Get(3), TaskItem(RECURSIVE, 2, false)); in TEST_P()
1154 EXPECT_EQ(order.Get(4), TaskItem(QUITMESSAGELOOP, 3, true)); in TEST_P()
1155 EXPECT_EQ(order.Get(5), TaskItem(QUITMESSAGELOOP, 3, false)); in TEST_P()
1156 EXPECT_EQ(order.Get(6), TaskItem(RECURSIVE, 1, true)); in TEST_P()
1157 EXPECT_EQ(order.Get(7), TaskItem(RECURSIVE, 1, false)); in TEST_P()
1158 EXPECT_EQ(order.Get(8), TaskItem(RECURSIVE, 2, true)); in TEST_P()
1159 EXPECT_EQ(order.Get(9), TaskItem(RECURSIVE, 2, false)); in TEST_P()
1160 EXPECT_EQ(order.Get(10), TaskItem(RECURSIVE, 1, true)); in TEST_P()
1161 EXPECT_EQ(order.Get(11), TaskItem(RECURSIVE, 1, false)); in TEST_P()
1162 EXPECT_EQ(order.Get(12), TaskItem(RECURSIVE, 2, true)); in TEST_P()
1163 EXPECT_EQ(order.Get(13), TaskItem(RECURSIVE, 2, false)); in TEST_P()
1203 EXPECT_EQ(order.Get(0), TaskItem(RECURSIVE, 1, true)); in TEST_P()
1204 EXPECT_EQ(order.Get(1), TaskItem(RECURSIVE, 1, false)); in TEST_P()
1205 EXPECT_EQ(order.Get(2), TaskItem(RECURSIVE, 2, true)); in TEST_P()
1206 EXPECT_EQ(order.Get(3), TaskItem(RECURSIVE, 2, false)); in TEST_P()
1207 EXPECT_EQ(order.Get(4), TaskItem(RECURSIVE, 1, true)); in TEST_P()
1208 EXPECT_EQ(order.Get(5), TaskItem(RECURSIVE, 1, false)); in TEST_P()
1209 EXPECT_EQ(order.Get(6), TaskItem(ORDERED, 3, true)); in TEST_P()
1210 EXPECT_EQ(order.Get(7), TaskItem(ORDERED, 3, false)); in TEST_P()
1211 EXPECT_EQ(order.Get(8), TaskItem(RECURSIVE, 2, true)); in TEST_P()
1212 EXPECT_EQ(order.Get(9), TaskItem(RECURSIVE, 2, false)); in TEST_P()
1213 EXPECT_EQ(order.Get(10), TaskItem(QUITMESSAGELOOP, 4, true)); in TEST_P()
1214 EXPECT_EQ(order.Get(11), TaskItem(QUITMESSAGELOOP, 4, false)); in TEST_P()
1215 EXPECT_EQ(order.Get(12), TaskItem(RECURSIVE, 1, true)); in TEST_P()
1216 EXPECT_EQ(order.Get(13), TaskItem(RECURSIVE, 1, false)); in TEST_P()
1217 EXPECT_EQ(order.Get(14), TaskItem(RECURSIVE, 2, true)); in TEST_P()
1218 EXPECT_EQ(order.Get(15), TaskItem(RECURSIVE, 2, false)); in TEST_P()
1236 EXPECT_EQ(order.Get(0), TaskItem(RECURSIVE, 1, true)); in TEST_P()
1237 EXPECT_EQ(order.Get(1), TaskItem(RECURSIVE, 1, false)); in TEST_P()
1238 EXPECT_EQ(order.Get(2), TaskItem(RECURSIVE, 2, true)); in TEST_P()
1239 EXPECT_EQ(order.Get(3), TaskItem(RECURSIVE, 2, false)); in TEST_P()
1240 EXPECT_EQ(order.Get(4), TaskItem(QUITMESSAGELOOP, 3, true)); in TEST_P()
1241 EXPECT_EQ(order.Get(5), TaskItem(QUITMESSAGELOOP, 3, false)); in TEST_P()
1242 EXPECT_EQ(order.Get(6), TaskItem(RECURSIVE, 1, true)); in TEST_P()
1243 EXPECT_EQ(order.Get(7), TaskItem(RECURSIVE, 1, false)); in TEST_P()
1244 EXPECT_EQ(order.Get(8), TaskItem(RECURSIVE, 2, true)); in TEST_P()
1245 EXPECT_EQ(order.Get(9), TaskItem(RECURSIVE, 2, false)); in TEST_P()
1246 EXPECT_EQ(order.Get(10), TaskItem(RECURSIVE, 1, true)); in TEST_P()
1247 EXPECT_EQ(order.Get(11), TaskItem(RECURSIVE, 1, false)); in TEST_P()
1248 EXPECT_EQ(order.Get(12), TaskItem(RECURSIVE, 2, true)); in TEST_P()
1249 EXPECT_EQ(order.Get(13), TaskItem(RECURSIVE, 2, false)); in TEST_P()
1268 EXPECT_EQ(order.Get(0), TaskItem(ORDERED, 1, true)); in TEST_P()
1269 EXPECT_EQ(order.Get(1), TaskItem(ORDERED, 1, false)); in TEST_P()
1270 EXPECT_EQ(order.Get(2), TaskItem(ORDERED, 2, true)); in TEST_P()
1271 EXPECT_EQ(order.Get(3), TaskItem(ORDERED, 2, false)); in TEST_P()
1272 EXPECT_EQ(order.Get(4), TaskItem(QUITMESSAGELOOP, 3, true)); in TEST_P()
1273 EXPECT_EQ(order.Get(5), TaskItem(QUITMESSAGELOOP, 3, false)); in TEST_P()
1316 EXPECT_EQ(order.Get(0), TaskItem(PUMPS, 1, true)); in TEST_P()
1317 EXPECT_EQ(order.Get(1), TaskItem(ORDERED, 3, true)); in TEST_P()
1318 EXPECT_EQ(order.Get(2), TaskItem(ORDERED, 3, false)); in TEST_P()
1319 EXPECT_EQ(order.Get(3), TaskItem(SLEEP, 4, true)); in TEST_P()
1320 EXPECT_EQ(order.Get(4), TaskItem(SLEEP, 4, false)); in TEST_P()
1321 EXPECT_EQ(order.Get(5), TaskItem(ORDERED, 5, true)); in TEST_P()
1322 EXPECT_EQ(order.Get(6), TaskItem(ORDERED, 5, false)); in TEST_P()
1323 EXPECT_EQ(order.Get(7), TaskItem(PUMPS, 1, false)); in TEST_P()
1324 EXPECT_EQ(order.Get(8), TaskItem(ORDERED, 2, true)); in TEST_P()
1325 EXPECT_EQ(order.Get(9), TaskItem(ORDERED, 2, false)); in TEST_P()
1326 EXPECT_EQ(order.Get(10), TaskItem(QUITMESSAGELOOP, 6, true)); in TEST_P()
1327 EXPECT_EQ(order.Get(11), TaskItem(QUITMESSAGELOOP, 6, false)); in TEST_P()
1372 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, true)); in TEST_P()
1373 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, true)); in TEST_P()
1374 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, false)); in TEST_P()
1375 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, false)); in TEST_P()
1376 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 3, true)); in TEST_P()
1377 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 3, false)); in TEST_P()
1404 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, true)); in TEST_P()
1405 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, true)); in TEST_P()
1406 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, false)); in TEST_P()
1407 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, false)); in TEST_P()
1434 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, true)); in TEST_P()
1435 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, false)); in TEST_P()
1436 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, true)); in TEST_P()
1437 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, false)); in TEST_P()
1471 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, true)); in TEST_P()
1472 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, false)); in TEST_P()
1502 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, true)); in TEST_P()
1503 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, true)); in TEST_P()
1504 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, false)); in TEST_P()
1505 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, false)); in TEST_P()
1556 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, true)); in TEST_P()
1557 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 2, true)); in TEST_P()
1558 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 3, true)); in TEST_P()
1559 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 4, true)); in TEST_P()
1560 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 5, true)); in TEST_P()
1561 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 5, false)); in TEST_P()
1562 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 6, true)); in TEST_P()
1563 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 6, false)); in TEST_P()
1564 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 7, true)); in TEST_P()
1565 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 7, false)); in TEST_P()
1566 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 8, true)); in TEST_P()
1567 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 8, false)); in TEST_P()
1568 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 9, true)); in TEST_P()
1569 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 9, false)); in TEST_P()
1570 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 4, false)); in TEST_P()
1571 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 3, false)); in TEST_P()
1572 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 2, false)); in TEST_P()
1573 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, false)); in TEST_P()
1617 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 1, true)); in TEST_P()
1618 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 1, false)); in TEST_P()
1652 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, true)); in TEST_P()
1653 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, true)); in TEST_P()
1654 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, false)); in TEST_P()
1655 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, false)); in TEST_P()
1656 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 3, true)); in TEST_P()
1657 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 3, false)); in TEST_P()
1658 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 4, true)); in TEST_P()
1659 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 4, false)); in TEST_P()