Lines Matching refs:context
275 LaunchContext context; in CommonLaunchTest1() local
278 CHK(context(caller, uninstalledType, &team) == B_LAUNCH_FAILED_APP_NOT_FOUND); in CommonLaunchTest1()
289 LaunchContext context; in CommonLaunchTest2() local
293 CHK(context(caller, fileType1, &team) == B_LAUNCH_FAILED_NO_PREFERRED_APP); in CommonLaunchTest2()
305 LaunchContext context; in CommonLaunchTest3() local
309 CHK(context(caller, fileType1, &team) == B_LAUNCH_FAILED_APP_NOT_FOUND); in CommonLaunchTest3()
323 LaunchContext context; in CommonLaunchTest4() local
328 CHK(context(caller, fileType1, &team) == B_OK); in CommonLaunchTest4()
332 context.Terminate(); in CommonLaunchTest4()
334 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in CommonLaunchTest4()
335 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in CommonLaunchTest4()
336 CHK(context.CheckMessageMessages(caller, team, cookie)); in CommonLaunchTest4()
337 CHK(context.CheckArgvMessage(caller, team, cookie, &ref)); in CommonLaunchTest4()
339 CHK(context.CheckRefsMessage(caller, team, cookie)); in CommonLaunchTest4()
340 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest4()
341 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest4()
342 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in CommonLaunchTest4()
356 LaunchContext context; in CommonLaunchTest5() local
361 CHK(context(caller, fileType1, &team) == B_OK); in CommonLaunchTest5()
365 context.Terminate(); in CommonLaunchTest5()
367 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in CommonLaunchTest5()
368 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in CommonLaunchTest5()
369 CHK(context.CheckMessageMessages(caller, team, cookie)); in CommonLaunchTest5()
370 CHK(context.CheckArgvMessage(caller, team, cookie, &ref)); in CommonLaunchTest5()
372 CHK(context.CheckRefsMessage(caller, team, cookie)); in CommonLaunchTest5()
373 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest5()
374 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest5()
375 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in CommonLaunchTest5()
389 LaunchContext context; in CommonLaunchTest6() local
394 CHK(context(caller, fileType1, &team) == B_OK); in CommonLaunchTest6()
398 context.Terminate(); in CommonLaunchTest6()
400 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in CommonLaunchTest6()
401 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in CommonLaunchTest6()
402 CHK(context.CheckMessageMessages(caller, team, cookie)); in CommonLaunchTest6()
403 CHK(context.CheckArgvMessage(caller, team, cookie, &ref)); in CommonLaunchTest6()
405 CHK(context.CheckRefsMessage(caller, team, cookie)); in CommonLaunchTest6()
406 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest6()
407 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest6()
408 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in CommonLaunchTest6()
422 LaunchContext context; in CommonLaunchTest7() local
429 CHK(context(caller, fileType1, &team) == B_OK); in CommonLaunchTest7()
433 context.Terminate(); in CommonLaunchTest7()
435 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in CommonLaunchTest7()
436 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in CommonLaunchTest7()
437 CHK(context.CheckMessageMessages(caller, team, cookie)); in CommonLaunchTest7()
438 CHK(context.CheckArgvMessage(caller, team, cookie, &ref)); in CommonLaunchTest7()
440 CHK(context.CheckRefsMessage(caller, team, cookie)); in CommonLaunchTest7()
441 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest7()
442 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest7()
443 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in CommonLaunchTest7()
458 LaunchContext context; in CommonLaunchTest8() local
466 CHK(context(caller, fileType1, &team) == B_OK); in CommonLaunchTest8()
470 context.Terminate(); in CommonLaunchTest8()
472 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in CommonLaunchTest8()
473 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in CommonLaunchTest8()
474 CHK(context.CheckMessageMessages(caller, team, cookie)); in CommonLaunchTest8()
475 CHK(context.CheckArgvMessage(caller, team, cookie, &ref)); in CommonLaunchTest8()
477 CHK(context.CheckRefsMessage(caller, team, cookie)); in CommonLaunchTest8()
478 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest8()
479 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest8()
480 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in CommonLaunchTest8()
494 LaunchContext context; in CommonLaunchTest9() local
503 CHK(context(caller, fileType1, &team) == B_OK); in CommonLaunchTest9()
507 context.Terminate(); in CommonLaunchTest9()
509 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in CommonLaunchTest9()
510 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in CommonLaunchTest9()
511 CHK(context.CheckMessageMessages(caller, team, cookie)); in CommonLaunchTest9()
512 CHK(context.CheckArgvMessage(caller, team, cookie, &ref)); in CommonLaunchTest9()
514 CHK(context.CheckRefsMessage(caller, team, cookie)); in CommonLaunchTest9()
515 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest9()
516 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest9()
517 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in CommonLaunchTest9()
533 LaunchContext context; in CommonLaunchTest10() local
541 CHK(context(caller, fileType1, &team) == B_OK); in CommonLaunchTest10()
551 context.Terminate(); in CommonLaunchTest10()
553 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in CommonLaunchTest10()
554 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in CommonLaunchTest10()
555 CHK(context.CheckMessageMessages(caller, team, cookie)); in CommonLaunchTest10()
556 CHK(context.CheckArgvMessage(caller, team, cookie, &ref)); in CommonLaunchTest10()
558 CHK(context.CheckRefsMessage(caller, team, cookie)); in CommonLaunchTest10()
559 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest10()
560 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest10()
561 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in CommonLaunchTest10()
576 LaunchContext context; in CommonLaunchTest11() local
582 CHK(context(caller, fileType1, &team) == B_OK); in CommonLaunchTest11()
586 context.Terminate(); in CommonLaunchTest11()
588 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in CommonLaunchTest11()
589 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in CommonLaunchTest11()
590 CHK(context.CheckMessageMessages(caller, team, cookie)); in CommonLaunchTest11()
591 CHK(context.CheckArgvMessage(caller, team, cookie, &ref)); in CommonLaunchTest11()
593 CHK(context.CheckRefsMessage(caller, team, cookie)); in CommonLaunchTest11()
594 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest11()
595 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest11()
596 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in CommonLaunchTest11()
609 LaunchContext context; in CommonLaunchTest12() local
613 CHK(context(caller, appType1, &team) == B_OK); in CommonLaunchTest12()
617 context.Terminate(); in CommonLaunchTest12()
619 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in CommonLaunchTest12()
620 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in CommonLaunchTest12()
621 CHK(context.CheckMessageMessages(caller, team, cookie)); in CommonLaunchTest12()
622 CHK(context.CheckArgvMessage(caller, team, cookie, &ref)); in CommonLaunchTest12()
624 CHK(context.CheckRefsMessage(caller, team, cookie)); in CommonLaunchTest12()
625 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest12()
626 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest12()
627 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in CommonLaunchTest12()
642 LaunchContext context; in CommonLaunchTest13() local
668 CHK(context(caller, textTestType, &team) == B_OK); in CommonLaunchTest13()
672 context.Terminate(); in CommonLaunchTest13()
674 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in CommonLaunchTest13()
675 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in CommonLaunchTest13()
676 CHK(context.CheckMessageMessages(caller, team, cookie)); in CommonLaunchTest13()
677 CHK(context.CheckArgvMessage(caller, team, cookie, &ref)); in CommonLaunchTest13()
679 CHK(context.CheckRefsMessage(caller, team, cookie)); in CommonLaunchTest13()
680 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest13()
681 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest13()
682 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in CommonLaunchTest13()
694 LaunchContext context; in CommonLaunchTest14() local
699 CHK(context(caller, fileType1, &team) == B_LAUNCH_FAILED_APP_IN_TRASH); in CommonLaunchTest14()
713 LaunchContext context; in CommonLaunchTest15() local
717 CHK(context(caller, fileType1, NULL) == B_OK); in CommonLaunchTest15()
718 context.WaitForMessage(uint32(MSG_STARTED), true); in CommonLaunchTest15()
719 team_id team = context.TeamAt(0); in CommonLaunchTest15()
724 context.Terminate(); in CommonLaunchTest15()
726 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in CommonLaunchTest15()
727 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in CommonLaunchTest15()
728 CHK(context.CheckMessageMessages(caller, team, cookie)); in CommonLaunchTest15()
729 CHK(context.CheckArgvMessage(caller, team, cookie, &ref)); in CommonLaunchTest15()
731 CHK(context.CheckRefsMessage(caller, team, cookie)); in CommonLaunchTest15()
732 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest15()
733 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest15()
734 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in CommonLaunchTest15()
747 LaunchContext context; in CommonLaunchTest16() local
754 CHK(context(caller, fileType1, &team1) == B_OK); in CommonLaunchTest16()
758 context.WaitForMessage(team1, MSG_STARTED); in CommonLaunchTest16()
761 CHK(context(caller2, fileType1, &team2) == B_OK); in CommonLaunchTest16()
766 context.Terminate(); in CommonLaunchTest16()
768 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_STARTED)); in CommonLaunchTest16()
769 CHK(context.CheckMainArgsMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest16()
771 CHK(context.CheckArgvMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest16()
774 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest16()
775 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest16()
776 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_TERMINATED)); in CommonLaunchTest16()
779 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_STARTED)); in CommonLaunchTest16()
780 CHK(context.CheckMainArgsMessage(caller2, team2, cookie, &ref2)); in CommonLaunchTest16()
782 CHK(context.CheckArgvMessage(caller2, team2, cookie, &ref2)); in CommonLaunchTest16()
785 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest16()
786 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest16()
787 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_TERMINATED)); in CommonLaunchTest16()
802 LaunchContext context; in CommonLaunchTest17() local
809 CHK(context(caller, fileType1, &team1) == B_OK); in CommonLaunchTest17()
813 context.WaitForMessage(team1, MSG_STARTED); in CommonLaunchTest17()
816 CHK(context(caller2, fileType1, &team2) == B_OK); in CommonLaunchTest17()
821 context.Terminate(); in CommonLaunchTest17()
823 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_STARTED)); in CommonLaunchTest17()
824 CHK(context.CheckMainArgsMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest17()
825 CHK(context.CheckMessageMessages(caller, team1, cookie)); in CommonLaunchTest17()
826 CHK(context.CheckArgvMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest17()
828 CHK(context.CheckRefsMessage(caller, team1, cookie)); in CommonLaunchTest17()
829 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest17()
830 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest17()
831 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_TERMINATED)); in CommonLaunchTest17()
834 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_STARTED)); in CommonLaunchTest17()
835 CHK(context.CheckMainArgsMessage(caller2, team2, cookie, &ref2)); in CommonLaunchTest17()
836 CHK(context.CheckMessageMessages(caller2, team2, cookie)); in CommonLaunchTest17()
837 CHK(context.CheckArgvMessage(caller2, team2, cookie, &ref2)); in CommonLaunchTest17()
839 CHK(context.CheckRefsMessage(caller2, team2, cookie)); in CommonLaunchTest17()
840 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest17()
841 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest17()
842 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_TERMINATED)); in CommonLaunchTest17()
856 LaunchContext context; in CommonLaunchTest18() local
863 CHK(context(caller, fileType1, &team1) == B_OK); in CommonLaunchTest18()
867 context.WaitForMessage(team1, MSG_STARTED); in CommonLaunchTest18()
870 CHK(context(caller2, fileType1, &team2) == B_ALREADY_RUNNING); in CommonLaunchTest18()
872 context.Terminate(); in CommonLaunchTest18()
874 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_STARTED)); in CommonLaunchTest18()
875 CHK(context.CheckMainArgsMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest18()
877 CHK(context.CheckArgvMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest18()
880 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest18()
881 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest18()
882 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_TERMINATED)); in CommonLaunchTest18()
896 LaunchContext context; in CommonLaunchTest19() local
903 CHK(context(caller, fileType1, &team1) == B_OK); in CommonLaunchTest19()
907 context.WaitForMessage(team1, MSG_STARTED); in CommonLaunchTest19()
910 CHK(context(caller2, fileType1, &team2) == B_ALREADY_RUNNING); in CommonLaunchTest19()
912 context.Terminate(); in CommonLaunchTest19()
914 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_STARTED)); in CommonLaunchTest19()
915 CHK(context.CheckMainArgsMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest19()
916 CHK(context.CheckMessageMessages(caller, team1, cookie)); in CommonLaunchTest19()
917 CHK(context.CheckArgvMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest19()
919 CHK(context.CheckRefsMessage(caller, team1, cookie)); in CommonLaunchTest19()
920 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest19()
921 CHK(context.CheckMessageMessages(caller, team1, cookie)); in CommonLaunchTest19()
922 CHK(context.CheckArgvMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest19()
924 CHK(context.CheckRefsMessage(caller, team1, cookie)); in CommonLaunchTest19()
925 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest19()
926 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_TERMINATED)); in CommonLaunchTest19()
940 LaunchContext context; in CommonLaunchTest20() local
947 CHK(context(caller, fileType1, &team1) == B_OK); in CommonLaunchTest20()
951 context.WaitForMessage(team1, MSG_STARTED); in CommonLaunchTest20()
958 CHK(context(caller2, fileType1, &team2) == B_OK); in CommonLaunchTest20()
963 context.Terminate(); in CommonLaunchTest20()
965 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_STARTED)); in CommonLaunchTest20()
966 CHK(context.CheckMainArgsMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest20()
968 CHK(context.CheckArgvMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest20()
971 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest20()
972 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest20()
973 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_TERMINATED)); in CommonLaunchTest20()
976 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_STARTED)); in CommonLaunchTest20()
977 CHK(context.CheckMainArgsMessage(caller2, team2, cookie, &ref2)); in CommonLaunchTest20()
979 CHK(context.CheckArgvMessage(caller2, team2, cookie, &ref2)); in CommonLaunchTest20()
982 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest20()
983 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest20()
984 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_TERMINATED)); in CommonLaunchTest20()
999 LaunchContext context; in CommonLaunchTest21() local
1006 CHK(context(caller, fileType1, &team1) == B_OK); in CommonLaunchTest21()
1010 context.WaitForMessage(team1, MSG_STARTED); in CommonLaunchTest21()
1017 CHK(context(caller2, fileType1, &team2) == B_OK); in CommonLaunchTest21()
1022 context.Terminate(); in CommonLaunchTest21()
1024 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_STARTED)); in CommonLaunchTest21()
1025 CHK(context.CheckMainArgsMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest21()
1026 CHK(context.CheckMessageMessages(caller, team1, cookie)); in CommonLaunchTest21()
1027 CHK(context.CheckArgvMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest21()
1029 CHK(context.CheckRefsMessage(caller, team1, cookie)); in CommonLaunchTest21()
1030 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest21()
1031 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest21()
1032 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_TERMINATED)); in CommonLaunchTest21()
1035 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_STARTED)); in CommonLaunchTest21()
1036 CHK(context.CheckMainArgsMessage(caller2, team2, cookie, &ref2)); in CommonLaunchTest21()
1037 CHK(context.CheckMessageMessages(caller2, team2, cookie)); in CommonLaunchTest21()
1038 CHK(context.CheckArgvMessage(caller2, team2, cookie, &ref2)); in CommonLaunchTest21()
1040 CHK(context.CheckRefsMessage(caller2, team2, cookie)); in CommonLaunchTest21()
1041 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest21()
1042 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest21()
1043 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_TERMINATED)); in CommonLaunchTest21()
1057 LaunchContext context; in CommonLaunchTest22() local
1064 CHK(context(caller, fileType1, &team1) == B_OK); in CommonLaunchTest22()
1068 context.WaitForMessage(team1, MSG_STARTED); in CommonLaunchTest22()
1071 CHK(context(caller2, fileType1, &team2) == B_ALREADY_RUNNING); in CommonLaunchTest22()
1073 context.Terminate(); in CommonLaunchTest22()
1075 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_STARTED)); in CommonLaunchTest22()
1076 CHK(context.CheckMainArgsMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest22()
1078 CHK(context.CheckArgvMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest22()
1081 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest22()
1082 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest22()
1083 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_TERMINATED)); in CommonLaunchTest22()
1097 LaunchContext context; in CommonLaunchTest23() local
1104 CHK(context(caller, fileType1, &team1) == B_OK); in CommonLaunchTest23()
1108 context.WaitForMessage(team1, MSG_STARTED); in CommonLaunchTest23()
1111 CHK(context(caller2, fileType1, &team2) == B_ALREADY_RUNNING); in CommonLaunchTest23()
1113 context.Terminate(); in CommonLaunchTest23()
1115 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_STARTED)); in CommonLaunchTest23()
1116 CHK(context.CheckMainArgsMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest23()
1117 CHK(context.CheckMessageMessages(caller, team1, cookie)); in CommonLaunchTest23()
1118 CHK(context.CheckArgvMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest23()
1120 CHK(context.CheckRefsMessage(caller, team1, cookie)); in CommonLaunchTest23()
1121 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest23()
1122 CHK(context.CheckMessageMessages(caller, team1, cookie)); in CommonLaunchTest23()
1123 CHK(context.CheckArgvMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest23()
1125 CHK(context.CheckRefsMessage(caller, team1, cookie)); in CommonLaunchTest23()
1126 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest23()
1127 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_TERMINATED)); in CommonLaunchTest23()
1142 LaunchContext context; in CommonLaunchTest24() local
1149 CHK(context(caller, fileType1, &team1) == B_OK); in CommonLaunchTest24()
1153 context.WaitForMessage(team1, MSG_STARTED); in CommonLaunchTest24()
1160 CHK(context(caller2, fileType1, &team2) == B_ALREADY_RUNNING); in CommonLaunchTest24()
1162 context.Terminate(); in CommonLaunchTest24()
1164 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_STARTED)); in CommonLaunchTest24()
1165 CHK(context.CheckMainArgsMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest24()
1167 CHK(context.CheckArgvMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest24()
1170 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest24()
1171 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest24()
1172 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_TERMINATED)); in CommonLaunchTest24()
1187 LaunchContext context; in CommonLaunchTest25() local
1194 CHK(context(caller, fileType1, &team1) == B_OK); in CommonLaunchTest25()
1198 context.WaitForMessage(team1, MSG_STARTED); in CommonLaunchTest25()
1205 CHK(context(caller2, fileType1, &team2) == B_ALREADY_RUNNING); in CommonLaunchTest25()
1208 context.Terminate(); in CommonLaunchTest25()
1210 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_STARTED)); in CommonLaunchTest25()
1211 CHK(context.CheckMainArgsMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest25()
1212 CHK(context.CheckMessageMessages(caller, team1, cookie)); in CommonLaunchTest25()
1213 CHK(context.CheckArgvMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest25()
1215 CHK(context.CheckRefsMessage(caller, team1, cookie)); in CommonLaunchTest25()
1216 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest25()
1217 CHK(context.CheckMessageMessages(caller, team1, cookie)); in CommonLaunchTest25()
1218 CHK(context.CheckArgvMessage(caller, team1, cookie, &ref2)); in CommonLaunchTest25()
1220 CHK(context.CheckRefsMessage(caller, team1, cookie)); in CommonLaunchTest25()
1221 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest25()
1222 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_TERMINATED)); in CommonLaunchTest25()
1238 LaunchContext context; in CommonLaunchTest26() local
1245 CHK(context(caller, fileType1, &team1) == B_OK); in CommonLaunchTest26()
1249 context.WaitForMessage(team1, MSG_STARTED); in CommonLaunchTest26()
1256 CHK(context(caller2, fileType1, &team2) == B_ALREADY_RUNNING); in CommonLaunchTest26()
1259 context.Terminate(); in CommonLaunchTest26()
1261 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_STARTED)); in CommonLaunchTest26()
1262 CHK(context.CheckMainArgsMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest26()
1263 CHK(context.CheckMessageMessages(caller, team1, cookie)); in CommonLaunchTest26()
1264 CHK(context.CheckArgvMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest26()
1266 CHK(context.CheckRefsMessage(caller, team1, cookie)); in CommonLaunchTest26()
1267 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest26()
1268 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest26()
1269 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_TERMINATED)); in CommonLaunchTest26()
1285 LaunchContext context; in CommonLaunchTest27() local
1292 CHK(context(caller, fileType1, &team1) == B_OK); in CommonLaunchTest27()
1296 context.WaitForMessage(team1, MSG_STARTED); in CommonLaunchTest27()
1303 CHK(context(caller2, fileType1, &team2) == B_ALREADY_RUNNING); in CommonLaunchTest27()
1305 context.Terminate(); in CommonLaunchTest27()
1307 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_STARTED)); in CommonLaunchTest27()
1308 CHK(context.CheckMainArgsMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest27()
1310 CHK(context.CheckArgvMessage(caller, team1, cookie, &ref1)); in CommonLaunchTest27()
1313 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest27()
1314 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest27()
1315 CHK(context.CheckNextMessage(caller, team1, cookie, MSG_TERMINATED)); in CommonLaunchTest27()
1329 LaunchContext context; in CommonLaunchTest28() local
1334 CHK(context(caller, fileType1, &team) == B_LAUNCH_FAILED_APP_NOT_FOUND); in CommonLaunchTest28()
1352 LaunchContext context; in CommonLaunchTest29() local
1361 CHK(context(caller, fileType1, &team) in CommonLaunchTest29()
1364 CHK(context(caller, fileType1, &team) == B_ENTRY_NOT_FOUND); in CommonLaunchTest29()
1368 CHK(context(caller, fileType1, &team) == B_LAUNCH_FAILED_APP_NOT_FOUND); in CommonLaunchTest29()
1388 LaunchContext context; in CommonLaunchTest30() local
1396 CHK(context(caller, fileType1, &team) == B_OK); in CommonLaunchTest30()
1405 context.WaitForMessage(team, MSG_STARTED, true); in CommonLaunchTest30()
1414 context.Terminate(); in CommonLaunchTest30()
1416 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in CommonLaunchTest30()
1417 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in CommonLaunchTest30()
1418 CHK(context.CheckMessageMessages(caller, team, cookie)); in CommonLaunchTest30()
1419 CHK(context.CheckArgvMessage(caller, team, cookie, &ref)); in CommonLaunchTest30()
1421 CHK(context.CheckRefsMessage(caller, team, cookie)); in CommonLaunchTest30()
1422 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in CommonLaunchTest30()
1423 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in CommonLaunchTest30()
1424 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in CommonLaunchTest30()
1515 LaunchContext context; in LaunchTestA4() local
1520 CHK(context(caller, fileType1, NULL, LaunchContext::kStandardArgc, in LaunchTestA4()
1525 context.Terminate(); in LaunchTestA4()
1527 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestA4()
1528 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in LaunchTestA4()
1532 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestA4()
1533 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestA4()
1534 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestA4()
1608 LaunchContext context; in LaunchTestB4() local
1613 CHK(context(caller, fileType1, NULL, LaunchContext::kStandardArgc, in LaunchTestB4()
1618 context.Terminate(); in LaunchTestB4()
1620 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestB4()
1621 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in LaunchTestB4()
1625 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestB4()
1626 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestB4()
1627 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestB4()
1642 LaunchContext context; in LaunchTestB5() local
1648 CHK(context(caller, fileType1, &list, LaunchContext::kStandardArgc, in LaunchTestB5()
1653 context.Terminate(); in LaunchTestB5()
1655 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestB5()
1656 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in LaunchTestB5()
1660 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestB5()
1661 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestB5()
1662 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestB5()
1739 LaunchContext context; in LaunchTestC4() local
1744 CHK(context(caller, fileType1, NULL, 0, (const char**)NULL, &team) == B_OK); in LaunchTestC4()
1748 context.Terminate(); in LaunchTestC4()
1750 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestC4()
1751 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref, 0, NULL)); in LaunchTestC4()
1755 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestC4()
1756 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestC4()
1757 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestC4()
1870 LaunchContext context; in LaunchTestD3() local
1872 CHK(context(caller, fileType1, context.StandardMessages(), in LaunchTestD3()
1879 context.Terminate(); in LaunchTestD3()
1881 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestD3()
1882 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in LaunchTestD3()
1883 CHK(context.CheckMessageMessages(caller, team, cookie)); in LaunchTestD3()
1885 CHK(context.CheckRefsMessage(caller, team, cookie)); in LaunchTestD3()
1886 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestD3()
1887 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestD3()
1888 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestD3()
1906 LaunchContext context; in LaunchTestD4() local
1908 CHK(context(caller, fileType1, context.StandardMessages(), in LaunchTestD4()
1915 context.Terminate(); in LaunchTestD4()
1917 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestD4()
1918 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in LaunchTestD4()
1919 CHK(context.CheckMessageMessages(caller, team, cookie)); in LaunchTestD4()
1921 CHK(context.CheckRefsMessage(caller, team, cookie)); in LaunchTestD4()
1922 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestD4()
1923 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestD4()
1924 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestD4()
1945 LaunchContext context; in LaunchTestD5() local
1947 CHK(context(caller, fileType1, context.StandardMessages(), in LaunchTestD5()
1954 context.Terminate(); in LaunchTestD5()
1956 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestD5()
1957 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in LaunchTestD5()
1958 CHK(context.CheckMessageMessages(caller, team, cookie)); in LaunchTestD5()
1960 CHK(context.CheckRefsMessage(caller, team, cookie)); in LaunchTestD5()
1961 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestD5()
1962 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestD5()
1963 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestD5()
2010 LaunchContext context; in LaunchTestD7() local
2012 CHK(context(caller, fileType1, context.StandardMessages(), in LaunchTestD7()
2019 context.Terminate(); in LaunchTestD7()
2021 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestD7()
2022 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in LaunchTestD7()
2023 CHK(context.CheckMessageMessages(caller, team, cookie)); in LaunchTestD7()
2025 CHK(context.CheckRefsMessage(caller, team, cookie, &fileRef)); in LaunchTestD7()
2026 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestD7()
2027 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestD7()
2028 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestD7()
2085 LaunchContext context; in LaunchTestD10() local
2087 CHK(context(caller, fileType1, NULL, LaunchContext::kStandardArgc, in LaunchTestD10()
2093 context.Terminate(); in LaunchTestD10()
2095 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestD10()
2096 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in LaunchTestD10()
2099 CHK(context.CheckRefsMessage(caller, team, cookie)); in LaunchTestD10()
2100 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestD10()
2101 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestD10()
2102 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestD10()
2152 LaunchContext context; in LaunchTestD13() local
2154 CHK(context(caller, appType1, context.StandardMessages(), in LaunchTestD13()
2159 context.WaitForMessage(team, MSG_STARTED, true); in LaunchTestD13()
2164 context.Terminate(); in LaunchTestD13()
2166 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestD13()
2168 CHK(context.CheckArgsMessage(caller, team, cookie, &ref, NULL, in LaunchTestD13()
2170 CHK(context.CheckMessageMessages(caller, team, cookie)); in LaunchTestD13()
2176 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestD13()
2177 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestD13()
2178 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestD13()
2287 LaunchContext context; in LaunchTestE3() local
2289 CHK(context(caller, fileType1, context.StandardMessages(), in LaunchTestE3()
2296 context.Terminate(); in LaunchTestE3()
2298 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestE3()
2299 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in LaunchTestE3()
2300 CHK(context.CheckMessageMessages(caller, team, cookie)); in LaunchTestE3()
2302 CHK(context.CheckRefsMessage(caller, team, cookie)); in LaunchTestE3()
2303 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestE3()
2304 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestE3()
2305 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestE3()
2323 LaunchContext context; in LaunchTestE4() local
2325 CHK(context(caller, fileType1, context.StandardMessages(), in LaunchTestE4()
2332 context.Terminate(); in LaunchTestE4()
2334 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestE4()
2335 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in LaunchTestE4()
2336 CHK(context.CheckMessageMessages(caller, team, cookie)); in LaunchTestE4()
2338 CHK(context.CheckRefsMessage(caller, team, cookie)); in LaunchTestE4()
2339 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestE4()
2340 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestE4()
2341 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestE4()
2362 LaunchContext context; in LaunchTestE5() local
2364 CHK(context(caller, fileType1, context.StandardMessages(), in LaunchTestE5()
2371 context.Terminate(); in LaunchTestE5()
2373 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestE5()
2374 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in LaunchTestE5()
2375 CHK(context.CheckMessageMessages(caller, team, cookie)); in LaunchTestE5()
2377 CHK(context.CheckRefsMessage(caller, team, cookie)); in LaunchTestE5()
2378 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestE5()
2379 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestE5()
2380 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestE5()
2426 LaunchContext context; in LaunchTestE7() local
2428 CHK(context(caller, fileType1, context.StandardMessages(), in LaunchTestE7()
2435 context.Terminate(); in LaunchTestE7()
2437 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestE7()
2438 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in LaunchTestE7()
2439 CHK(context.CheckMessageMessages(caller, team, cookie)); in LaunchTestE7()
2441 CHK(context.CheckRefsMessage(caller, team, cookie, &fileRef)); in LaunchTestE7()
2442 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestE7()
2443 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestE7()
2444 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestE7()
2501 LaunchContext context; in LaunchTestE10() local
2503 CHK(context(caller, fileType1, NULL, LaunchContext::kStandardArgc, in LaunchTestE10()
2509 context.Terminate(); in LaunchTestE10()
2511 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestE10()
2512 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in LaunchTestE10()
2515 CHK(context.CheckRefsMessage(caller, team, cookie)); in LaunchTestE10()
2516 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestE10()
2517 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestE10()
2518 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestE10()
2537 LaunchContext context; in LaunchTestE11() local
2540 CHK(context(caller, fileType1, &list, LaunchContext::kStandardArgc, in LaunchTestE11()
2546 context.Terminate(); in LaunchTestE11()
2548 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestE11()
2549 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in LaunchTestE11()
2552 CHK(context.CheckRefsMessage(caller, team, cookie)); in LaunchTestE11()
2553 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestE11()
2554 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestE11()
2555 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestE11()
2607 LaunchContext context; in LaunchTestE14() local
2609 CHK(context(caller, appType1, context.StandardMessages(), in LaunchTestE14()
2614 context.WaitForMessage(team, MSG_STARTED, true); in LaunchTestE14()
2619 context.Terminate(); in LaunchTestE14()
2621 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestE14()
2623 CHK(context.CheckArgsMessage(caller, team, cookie, &ref, NULL, in LaunchTestE14()
2625 CHK(context.CheckMessageMessages(caller, team, cookie)); in LaunchTestE14()
2631 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestE14()
2632 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestE14()
2633 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestE14()
2742 LaunchContext context; in LaunchTestF3() local
2744 CHK(context(caller, fileType1, context.StandardMessages(), in LaunchTestF3()
2751 context.Terminate(); in LaunchTestF3()
2753 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestF3()
2754 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in LaunchTestF3()
2756 CHK(context.CheckArgvMessage(caller, team, cookie, &ref)); in LaunchTestF3()
2758 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestF3()
2759 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestF3()
2760 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestF3()
2778 LaunchContext context; in LaunchTestF4() local
2780 CHK(context(caller, fileType1, context.StandardMessages(), in LaunchTestF4()
2787 context.Terminate(); in LaunchTestF4()
2789 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestF4()
2790 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in LaunchTestF4()
2792 CHK(context.CheckArgvMessage(caller, team, cookie, &ref)); in LaunchTestF4()
2794 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestF4()
2795 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestF4()
2796 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestF4()
2817 LaunchContext context; in LaunchTestF5() local
2819 CHK(context(caller, fileType1, context.StandardMessages(), in LaunchTestF5()
2826 context.Terminate(); in LaunchTestF5()
2828 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestF5()
2829 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref)); in LaunchTestF5()
2831 CHK(context.CheckArgvMessage(caller, team, cookie, &ref)); in LaunchTestF5()
2833 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestF5()
2834 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestF5()
2835 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestF5()
2881 LaunchContext context; in LaunchTestF7() local
2883 CHK(context(caller, fileType1, context.StandardMessages(), in LaunchTestF7()
2890 context.Terminate(); in LaunchTestF7()
2892 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestF7()
2894 CHK(context.CheckArgsMessage(caller, team, cookie, &ref, &fileRef, in LaunchTestF7()
2899 CHK(context.CheckArgsMessage(caller, team, cookie, &ref, &fileRef, in LaunchTestF7()
2904 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestF7()
2905 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestF7()
2906 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestF7()
2963 LaunchContext context; in LaunchTestF10() local
2965 CHK(context(caller, fileType1, NULL, 0, NULL, &team) == B_OK); in LaunchTestF10()
2970 context.Terminate(); in LaunchTestF10()
2972 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestF10()
2973 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref, 0, NULL)); in LaunchTestF10()
2976 CHK(context.CheckRefsMessage(caller, team, cookie)); in LaunchTestF10()
2977 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestF10()
2978 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestF10()
2979 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestF10()
2998 LaunchContext context; in LaunchTestF11() local
3000 CHK(context(caller, fileType1, NULL, 1, NULL, &team) == B_OK); in LaunchTestF11()
3005 context.Terminate(); in LaunchTestF11()
3007 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestF11()
3008 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref, 0, NULL)); in LaunchTestF11()
3011 CHK(context.CheckRefsMessage(caller, team, cookie)); in LaunchTestF11()
3012 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestF11()
3013 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestF11()
3014 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestF11()
3066 LaunchContext context; in LaunchTestF14() local
3068 CHK(context(caller, appType1, context.StandardMessages(), in LaunchTestF14()
3073 context.WaitForMessage(team, MSG_STARTED, true); in LaunchTestF14()
3078 context.Terminate(); in LaunchTestF14()
3080 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED)); in LaunchTestF14()
3082 CHK(context.CheckArgsMessage(caller, team, cookie, &ref, NULL, in LaunchTestF14()
3088 CHK(context.CheckArgsMessage(caller, team, cookie, &ref, NULL, in LaunchTestF14()
3092 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN)); in LaunchTestF14()
3093 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED)); in LaunchTestF14()
3094 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED)); in LaunchTestF14()