Lines Matching refs:team

131 ref_for_team(team_id team)  in ref_for_team()  argument
135 CHK(roster.GetRunningAppInfo(team, &info) == B_OK); in ref_for_team()
277 team_id team; in CommonLaunchTest1() local
278 CHK(context(caller, uninstalledType, &team) == B_LAUNCH_FAILED_APP_NOT_FOUND); in CommonLaunchTest1()
292 team_id team; in CommonLaunchTest2() local
293 CHK(context(caller, fileType1, &team) == B_LAUNCH_FAILED_NO_PREFERRED_APP); in CommonLaunchTest2()
308 team_id team; in CommonLaunchTest3() local
309 CHK(context(caller, fileType1, &team) == B_LAUNCH_FAILED_APP_NOT_FOUND); in CommonLaunchTest3()
327 team_id team; in CommonLaunchTest4() local
328 CHK(context(caller, fileType1, &team) == B_OK); in CommonLaunchTest4()
329 entry_ref ref = ref_for_team(team); 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()
360 team_id team; in CommonLaunchTest5() local
361 CHK(context(caller, fileType1, &team) == B_OK); in CommonLaunchTest5()
362 entry_ref ref = ref_for_team(team); 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()
393 team_id team; in CommonLaunchTest6() local
394 CHK(context(caller, fileType1, &team) == B_OK); in CommonLaunchTest6()
395 entry_ref ref = ref_for_team(team); 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()
428 team_id team; in CommonLaunchTest7() local
429 CHK(context(caller, fileType1, &team) == B_OK); in CommonLaunchTest7()
430 entry_ref ref = ref_for_team(team); 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()
465 team_id team; in CommonLaunchTest8() local
466 CHK(context(caller, fileType1, &team) == B_OK); in CommonLaunchTest8()
467 entry_ref ref = ref_for_team(team); 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()
502 team_id team; in CommonLaunchTest9() local
503 CHK(context(caller, fileType1, &team) == B_OK); in CommonLaunchTest9()
504 entry_ref ref = ref_for_team(team); 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()
540 team_id team; in CommonLaunchTest10() local
541 CHK(context(caller, fileType1, &team) == B_OK); in CommonLaunchTest10()
542 entry_ref ref = ref_for_team(team); 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()
581 team_id team; in CommonLaunchTest11() local
582 CHK(context(caller, fileType1, &team) == B_OK); in CommonLaunchTest11()
583 entry_ref ref = ref_for_team(team); 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()
612 team_id team; in CommonLaunchTest12() local
613 CHK(context(caller, appType1, &team) == B_OK); in CommonLaunchTest12()
614 entry_ref ref = ref_for_team(team); 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()
667 team_id team; in CommonLaunchTest13() local
668 CHK(context(caller, textTestType, &team) == B_OK); in CommonLaunchTest13()
669 entry_ref ref = ref_for_team(team); 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()
698 team_id team; in CommonLaunchTest14() local
699 CHK(context(caller, fileType1, &team) == B_LAUNCH_FAILED_APP_IN_TRASH); in CommonLaunchTest14()
719 team_id team = context.TeamAt(0); in CommonLaunchTest15() local
720 CHK(team >= 0); in CommonLaunchTest15()
721 entry_ref ref = ref_for_team(team); 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()
1333 team_id team; in CommonLaunchTest28() local
1334 CHK(context(caller, fileType1, &team) == B_LAUNCH_FAILED_APP_NOT_FOUND); in CommonLaunchTest28()
1357 team_id team; 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()
1395 team_id team; in CommonLaunchTest30() local
1396 CHK(context(caller, fileType1, &team) == B_OK); in CommonLaunchTest30()
1397 entry_ref ref = ref_for_team(team); in CommonLaunchTest30()
1405 context.WaitForMessage(team, MSG_STARTED, true); in CommonLaunchTest30()
1407 CHK(roster.GetRunningAppInfo(team, &appInfo) == B_OK); 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()
1473 const char **argv, team_id *team) in operator ()() argument
1478 return roster.Launch(type, message, team); in operator ()()
1519 team_id team; in LaunchTestA4() local
1521 LaunchContext::kStandardArgv, &team) == B_OK); in LaunchTestA4()
1522 entry_ref ref = ref_for_team(team); 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()
1567 const char **argv, team_id *team) in operator ()() argument
1570 return roster.Launch(type, messages, team); in operator ()()
1612 team_id team; in LaunchTestB4() local
1614 LaunchContext::kStandardArgv, &team) == B_OK); in LaunchTestB4()
1615 entry_ref ref = ref_for_team(team); 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()
1646 team_id team; in LaunchTestB5() local
1649 LaunchContext::kStandardArgv, &team) == B_OK); in LaunchTestB5()
1650 entry_ref ref = ref_for_team(team); 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()
1698 const char **argv, team_id *team) in operator ()() argument
1701 return roster.Launch(type, argc, const_cast<char**>(argv), team); in operator ()()
1743 team_id team; in LaunchTestC4() local
1744 CHK(context(caller, fileType1, NULL, 0, (const char**)NULL, &team) == B_OK); in LaunchTestC4()
1745 entry_ref ref = ref_for_team(team); 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()
1767 const char **argv, team_id *team) in operator ()() argument
1772 return roster.Launch(&fRef, message, team); in operator ()()
1790 const char **argv, team_id *team) in operator ()() argument
1796 return roster.Launch(&fRef, message, team); in operator ()()
1809 const char **argv, team_id *team) in operator ()() argument
1816 return roster.Launch(&fRef, message, team); in operator ()()
1871 team_id team; in LaunchTestD3() local
1874 &team) == B_OK); in LaunchTestD3()
1875 entry_ref ref = ref_for_team(team); 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()
1907 team_id team; in LaunchTestD4() local
1910 &team) == B_OK); in LaunchTestD4()
1911 entry_ref ref = ref_for_team(team); 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()
1946 team_id team; in LaunchTestD5() local
1949 &team) == B_OK); in LaunchTestD5()
1950 entry_ref ref = ref_for_team(team); 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()
1983 team_id team; in LaunchTestD6() local
1984 CHK(roster.Launch(&fileRef, &message, &team) in LaunchTestD6()
2011 team_id team; in LaunchTestD7() local
2014 &team) == B_OK); in LaunchTestD7()
2015 entry_ref ref = ref_for_team(team); 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()
2086 team_id team; in LaunchTestD10() local
2088 LaunchContext::kStandardArgv, &team) == B_OK); in LaunchTestD10()
2089 entry_ref ref = ref_for_team(team); 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()
2117 team_id team; in LaunchTestD11() local
2118 CHK(roster.Launch(&linkRef, &message, &team) in LaunchTestD11()
2134 team_id team; in LaunchTestD12() local
2135 CHK(roster.Launch(&linkRef, &message, &team) in LaunchTestD12()
2153 team_id team; in LaunchTestD13() local
2156 &team) == B_OK); in LaunchTestD13()
2157 entry_ref ref = ref_for_team(team); in LaunchTestD13()
2159 context.WaitForMessage(team, MSG_STARTED, true); in LaunchTestD13()
2161 CHK(roster.GetRunningAppInfo(team, &appInfo) == B_OK); 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()
2188 const char **argv, team_id *team) in operator ()() argument
2191 return roster.Launch(&fRef, messages, team); in operator ()()
2210 const char **argv, team_id *team) in operator ()() argument
2214 return roster.Launch(&fRef, messages, team); in operator ()()
2227 const char **argv, team_id *team) in operator ()() argument
2232 return roster.Launch(&fRef, messages, team); in operator ()()
2288 team_id team; in LaunchTestE3() local
2291 &team) == B_OK); in LaunchTestE3()
2292 entry_ref ref = ref_for_team(team); 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()
2324 team_id team; in LaunchTestE4() local
2327 &team) == B_OK); in LaunchTestE4()
2328 entry_ref ref = ref_for_team(team); 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()
2363 team_id team; in LaunchTestE5() local
2366 &team) == B_OK); in LaunchTestE5()
2367 entry_ref ref = ref_for_team(team); 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()
2400 team_id team; in LaunchTestE6() local
2401 CHK(roster.Launch(&fileRef, &list, &team) == B_LAUNCH_FAILED_EXECUTABLE); in LaunchTestE6()
2427 team_id team; in LaunchTestE7() local
2430 &team) == B_OK); in LaunchTestE7()
2431 entry_ref ref = ref_for_team(team); 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()
2502 team_id team; in LaunchTestE10() local
2504 LaunchContext::kStandardArgv, &team) == B_OK); in LaunchTestE10()
2505 entry_ref ref = ref_for_team(team); 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()
2538 team_id team; in LaunchTestE11() local
2541 LaunchContext::kStandardArgv, &team) == B_OK); in LaunchTestE11()
2542 entry_ref ref = ref_for_team(team); 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()
2570 team_id team; in LaunchTestE12() local
2572 CHK(roster.Launch(&linkRef, &list, &team) in LaunchTestE12()
2588 team_id team; in LaunchTestE13() local
2590 CHK(roster.Launch(&linkRef, &list, &team) in LaunchTestE13()
2608 team_id team; in LaunchTestE14() local
2611 &team) == B_OK); in LaunchTestE14()
2612 entry_ref ref = ref_for_team(team); in LaunchTestE14()
2614 context.WaitForMessage(team, MSG_STARTED, true); in LaunchTestE14()
2616 CHK(roster.GetRunningAppInfo(team, &appInfo) == B_OK); 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()
2643 const char **argv, team_id *team) in operator ()() argument
2646 return roster.Launch(&fRef, argc, argv, team); in operator ()()
2665 const char **argv, team_id *team) in operator ()() argument
2669 return roster.Launch(&fRef, argc, argv, team); in operator ()()
2682 const char **argv, team_id *team) in operator ()() argument
2687 return roster.Launch(&fRef, argc, argv, team); in operator ()()
2743 team_id team; in LaunchTestF3() local
2746 &team) == B_OK); in LaunchTestF3()
2747 entry_ref ref = ref_for_team(team); 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()
2779 team_id team; in LaunchTestF4() local
2782 &team) == B_OK); in LaunchTestF4()
2783 entry_ref ref = ref_for_team(team); 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()
2818 team_id team; in LaunchTestF5() local
2821 &team) == B_OK); in LaunchTestF5()
2822 entry_ref ref = ref_for_team(team); 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()
2854 team_id team; in LaunchTestF6() local
2856 CHK(roster.Launch(&fileRef, 1, argv, &team) == B_LAUNCH_FAILED_EXECUTABLE); in LaunchTestF6()
2882 team_id team; in LaunchTestF7() local
2885 &team) == B_OK); in LaunchTestF7()
2886 entry_ref ref = ref_for_team(team); 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()
2964 team_id team; in LaunchTestF10() local
2965 CHK(context(caller, fileType1, NULL, 0, NULL, &team) == B_OK); in LaunchTestF10()
2966 entry_ref ref = ref_for_team(team); 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()
2999 team_id team; in LaunchTestF11() local
3000 CHK(context(caller, fileType1, NULL, 1, NULL, &team) == B_OK); in LaunchTestF11()
3001 entry_ref ref = ref_for_team(team); 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()
3029 team_id team; in LaunchTestF12() local
3031 LaunchContext::kStandardArgv, &team) in LaunchTestF12()
3047 team_id team; in LaunchTestF13() local
3049 LaunchContext::kStandardArgv, &team) in LaunchTestF13()
3067 team_id team; in LaunchTestF14() local
3070 &team) == B_OK); in LaunchTestF14()
3071 entry_ref ref = ref_for_team(team); in LaunchTestF14()
3073 context.WaitForMessage(team, MSG_STARTED, true); in LaunchTestF14()
3075 CHK(roster.GetRunningAppInfo(team, &appInfo) == B_OK); 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()