Lines Matching refs:team

131 ref_for_team(team_id team)
135 CHK(roster.GetRunningAppInfo(team, &info) == B_OK);
277 team_id team;
278 CHK(context(caller, uninstalledType, &team) == B_LAUNCH_FAILED_APP_NOT_FOUND);
292 team_id team;
293 CHK(context(caller, fileType1, &team) == B_LAUNCH_FAILED_NO_PREFERRED_APP);
308 team_id team;
309 CHK(context(caller, fileType1, &team) == B_LAUNCH_FAILED_APP_NOT_FOUND);
315 @results Should return B_OK and set team to the ID of the team
327 team_id team;
328 CHK(context(caller, fileType1, &team) == B_OK);
329 entry_ref ref = ref_for_team(team);
334 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
335 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
336 CHK(context.CheckMessageMessages(caller, team, cookie));
337 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
339 CHK(context.CheckRefsMessage(caller, team, cookie));
340 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
341 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
342 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
348 @results Should return B_OK and set team to the ID of the team
360 team_id team;
361 CHK(context(caller, fileType1, &team) == B_OK);
362 entry_ref ref = ref_for_team(team);
367 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
368 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
369 CHK(context.CheckMessageMessages(caller, team, cookie));
370 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
372 CHK(context.CheckRefsMessage(caller, team, cookie));
373 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
374 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
375 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
381 @results Should return B_OK and set team to the ID of the team
393 team_id team;
394 CHK(context(caller, fileType1, &team) == B_OK);
395 entry_ref ref = ref_for_team(team);
400 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
401 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
402 CHK(context.CheckMessageMessages(caller, team, cookie));
403 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
405 CHK(context.CheckRefsMessage(caller, team, cookie));
406 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
407 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
408 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
414 @results Should return B_OK and set team to the ID of the team
428 team_id team;
429 CHK(context(caller, fileType1, &team) == B_OK);
430 entry_ref ref = ref_for_team(team);
435 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
436 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
437 CHK(context.CheckMessageMessages(caller, team, cookie));
438 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
440 CHK(context.CheckRefsMessage(caller, team, cookie));
441 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
442 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
443 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
450 @results Should return B_OK and set team to the ID of the team
465 team_id team;
466 CHK(context(caller, fileType1, &team) == B_OK);
467 entry_ref ref = ref_for_team(team);
472 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
473 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
474 CHK(context.CheckMessageMessages(caller, team, cookie));
475 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
477 CHK(context.CheckRefsMessage(caller, team, cookie));
478 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
479 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
480 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
486 @results Should return B_OK and set team to the ID of the team
502 team_id team;
503 CHK(context(caller, fileType1, &team) == B_OK);
504 entry_ref ref = ref_for_team(team);
509 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
510 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
511 CHK(context.CheckMessageMessages(caller, team, cookie));
512 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
514 CHK(context.CheckRefsMessage(caller, team, cookie));
515 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
516 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
517 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
524 @results Should return B_OK and set team to the ID of the team
540 team_id team;
541 CHK(context(caller, fileType1, &team) == B_OK);
542 entry_ref ref = ref_for_team(team);
553 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
554 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
555 CHK(context.CheckMessageMessages(caller, team, cookie));
556 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
558 CHK(context.CheckRefsMessage(caller, team, cookie));
559 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
560 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
561 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
568 @results Should return B_OK and set team to the ID of the team
581 team_id team;
582 CHK(context(caller, fileType1, &team) == B_OK);
583 entry_ref ref = ref_for_team(team);
588 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
589 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
590 CHK(context.CheckMessageMessages(caller, team, cookie));
591 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
593 CHK(context.CheckRefsMessage(caller, team, cookie));
594 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
595 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
596 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
601 @results Should return B_OK and set team to the ID of the team
612 team_id team;
613 CHK(context(caller, appType1, &team) == B_OK);
614 entry_ref ref = ref_for_team(team);
619 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
620 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
621 CHK(context.CheckMessageMessages(caller, team, cookie));
622 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
624 CHK(context.CheckRefsMessage(caller, team, cookie));
625 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
626 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
627 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
633 @results Should return B_OK and set team to the ID of the team
667 team_id team;
668 CHK(context(caller, textTestType, &team) == B_OK);
669 entry_ref ref = ref_for_team(team);
674 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
675 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
676 CHK(context.CheckMessageMessages(caller, team, cookie));
677 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
679 CHK(context.CheckRefsMessage(caller, team, cookie));
680 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
681 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
682 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
698 team_id team;
699 CHK(context(caller, fileType1, &team) == B_LAUNCH_FAILED_APP_IN_TRASH);
704 installed, app has signature, team is NULL
705 @results Should return B_OK and set team to the ID of the team
719 team_id team = context.TeamAt(0);
720 CHK(team >= 0);
721 entry_ref ref = ref_for_team(team);
726 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
727 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
728 CHK(context.CheckMessageMessages(caller, team, cookie));
729 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
731 CHK(context.CheckRefsMessage(caller, team, cookie));
732 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
733 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
734 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
1333 team_id team;
1334 CHK(context(caller, fileType1, &team) == B_LAUNCH_FAILED_APP_NOT_FOUND);
1357 team_id team;
1361 CHK(context(caller, fileType1, &team)
1364 CHK(context(caller, fileType1, &team) == B_ENTRY_NOT_FOUND);
1368 CHK(context(caller, fileType1, &team) == B_LAUNCH_FAILED_APP_NOT_FOUND);
1378 @results Should return B_OK and set team to the ID of the team
1395 team_id team;
1396 CHK(context(caller, fileType1, &team) == B_OK);
1397 entry_ref ref = ref_for_team(team);
1405 context.WaitForMessage(team, MSG_STARTED, true);
1407 CHK(roster.GetRunningAppInfo(team, &appInfo) == B_OK);
1416 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
1417 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
1418 CHK(context.CheckMessageMessages(caller, team, cookie));
1419 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
1421 CHK(context.CheckRefsMessage(caller, team, cookie));
1422 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
1423 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
1424 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
1473 const char **argv, team_id *team)
1478 return roster.Launch(type, message, team);
1508 @results Should return B_OK and set team to the ID of the team
1519 team_id team;
1521 LaunchContext::kStandardArgv, &team) == B_OK);
1522 entry_ref ref = ref_for_team(team);
1527 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
1528 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
1529 // CHK(context.CheckMessageMessages(caller, team, cookie));
1530 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
1531 // CHK(context.CheckRefsMessage(caller, team, cookie));
1532 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
1533 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
1534 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
1567 const char **argv, team_id *team)
1570 return roster.Launch(type, messages, team);
1601 @results Should return B_OK and set team to the ID of the team
1612 team_id team;
1614 LaunchContext::kStandardArgv, &team) == B_OK);
1615 entry_ref ref = ref_for_team(team);
1620 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
1621 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
1622 // CHK(context.CheckMessageMessages(caller, team, cookie));
1623 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
1624 // CHK(context.CheckRefsMessage(caller, team, cookie));
1625 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
1626 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
1627 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
1635 @results Should return B_OK and set team to the ID of the team
1646 team_id team;
1649 LaunchContext::kStandardArgv, &team) == B_OK);
1650 entry_ref ref = ref_for_team(team);
1655 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
1656 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
1657 // CHK(context.CheckMessageMessages(caller, team, cookie));
1658 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
1659 // CHK(context.CheckRefsMessage(caller, team, cookie));
1660 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
1661 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
1662 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
1698 const char **argv, team_id *team)
1701 return roster.Launch(type, argc, const_cast<char**>(argv), team);
1732 @results Should return B_OK and set team to the ID of the team
1743 team_id team;
1744 CHK(context(caller, fileType1, NULL, 0, (const char**)NULL, &team) == B_OK);
1745 entry_ref ref = ref_for_team(team);
1750 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
1751 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref, 0, NULL));
1752 // CHK(context.CheckMessageMessages(caller, team, cookie));
1753 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
1754 // CHK(context.CheckRefsMessage(caller, team, cookie));
1755 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
1756 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
1757 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
1767 const char **argv, team_id *team)
1772 return roster.Launch(&fRef, message, team);
1790 const char **argv, team_id *team)
1796 return roster.Launch(&fRef, message, team);
1809 const char **argv, team_id *team)
1816 return roster.Launch(&fRef, message, team);
1857 @results Should return B_OK and set team to the ID of the team
1871 team_id team;
1874 &team) == B_OK);
1875 entry_ref ref = ref_for_team(team);
1881 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
1882 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
1883 CHK(context.CheckMessageMessages(caller, team, cookie));
1884 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
1885 CHK(context.CheckRefsMessage(caller, team, cookie));
1886 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
1887 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
1888 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
1896 @results Should return B_OK and set team to the ID of the team
1907 team_id team;
1910 &team) == B_OK);
1911 entry_ref ref = ref_for_team(team);
1917 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
1918 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
1919 CHK(context.CheckMessageMessages(caller, team, cookie));
1920 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
1921 CHK(context.CheckRefsMessage(caller, team, cookie));
1922 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
1923 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
1924 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
1933 @results Should return B_OK and set team to the ID of the team
1946 team_id team;
1949 &team) == B_OK);
1950 entry_ref ref = ref_for_team(team);
1956 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
1957 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
1958 CHK(context.CheckMessageMessages(caller, team, cookie));
1959 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
1960 CHK(context.CheckRefsMessage(caller, team, cookie));
1961 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
1962 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
1963 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
1983 team_id team;
1984 CHK(roster.Launch(&fileRef, &message, &team)
1996 @results Should return B_OK and set team to the ID of the team
2011 team_id team;
2014 &team) == B_OK);
2015 entry_ref ref = ref_for_team(team);
2021 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
2022 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2023 CHK(context.CheckMessageMessages(caller, team, cookie));
2024 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2025 CHK(context.CheckRefsMessage(caller, team, cookie, &fileRef));
2026 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
2027 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
2028 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
2075 @results Should return B_OK and set team to the ID of the team
2086 team_id team;
2088 LaunchContext::kStandardArgv, &team) == B_OK);
2089 entry_ref ref = ref_for_team(team);
2095 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
2096 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2097 // CHK(context.CheckMessageMessages(caller, team, cookie));
2098 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2099 CHK(context.CheckRefsMessage(caller, team, cookie));
2100 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
2101 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
2102 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
2117 team_id team;
2118 CHK(roster.Launch(&linkRef, &message, &team)
2134 team_id team;
2135 CHK(roster.Launch(&linkRef, &message, &team)
2143 @results Should return B_OK and set team to the ID of the team
2153 team_id team;
2156 &team) == B_OK);
2157 entry_ref ref = ref_for_team(team);
2159 context.WaitForMessage(team, MSG_STARTED, true);
2161 CHK(roster.GetRunningAppInfo(team, &appInfo) == B_OK);
2166 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
2167 // CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2168 CHK(context.CheckArgsMessage(caller, team, cookie, &ref, NULL,
2170 CHK(context.CheckMessageMessages(caller, team, cookie));
2171 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2172 // CHK(context.CheckArgsMessage(caller, team, cookie, &ref, NULL,
2176 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
2177 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
2178 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
2188 const char **argv, team_id *team)
2191 return roster.Launch(&fRef, messages, team);
2210 const char **argv, team_id *team)
2214 return roster.Launch(&fRef, messages, team);
2227 const char **argv, team_id *team)
2232 return roster.Launch(&fRef, messages, team);
2274 @results Should return B_OK and set team to the ID of the team
2288 team_id team;
2291 &team) == B_OK);
2292 entry_ref ref = ref_for_team(team);
2298 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
2299 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2300 CHK(context.CheckMessageMessages(caller, team, cookie));
2301 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2302 CHK(context.CheckRefsMessage(caller, team, cookie));
2303 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
2304 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
2305 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
2313 @results Should return B_OK and set team to the ID of the team
2324 team_id team;
2327 &team) == B_OK);
2328 entry_ref ref = ref_for_team(team);
2334 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
2335 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2336 CHK(context.CheckMessageMessages(caller, team, cookie));
2337 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2338 CHK(context.CheckRefsMessage(caller, team, cookie));
2339 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
2340 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
2341 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
2350 @results Should return B_OK and set team to the ID of the team
2363 team_id team;
2366 &team) == B_OK);
2367 entry_ref ref = ref_for_team(team);
2373 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
2374 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2375 CHK(context.CheckMessageMessages(caller, team, cookie));
2376 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2377 CHK(context.CheckRefsMessage(caller, team, cookie));
2378 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
2379 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
2380 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
2400 team_id team;
2401 CHK(roster.Launch(&fileRef, &list, &team) == B_LAUNCH_FAILED_EXECUTABLE);
2412 @results Should return B_OK and set team to the ID of the team
2427 team_id team;
2430 &team) == B_OK);
2431 entry_ref ref = ref_for_team(team);
2437 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
2438 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2439 CHK(context.CheckMessageMessages(caller, team, cookie));
2440 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2441 CHK(context.CheckRefsMessage(caller, team, cookie, &fileRef));
2442 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
2443 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
2444 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
2491 @results Should return B_OK and set team to the ID of the team
2502 team_id team;
2504 LaunchContext::kStandardArgv, &team) == B_OK);
2505 entry_ref ref = ref_for_team(team);
2511 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
2512 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2513 // CHK(context.CheckMessageMessages(caller, team, cookie));
2514 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2515 CHK(context.CheckRefsMessage(caller, team, cookie));
2516 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
2517 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
2518 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
2527 @results Should return B_OK and set team to the ID of the team
2538 team_id team;
2541 LaunchContext::kStandardArgv, &team) == B_OK);
2542 entry_ref ref = ref_for_team(team);
2548 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
2549 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2550 // CHK(context.CheckMessageMessages(caller, team, cookie));
2551 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2552 CHK(context.CheckRefsMessage(caller, team, cookie));
2553 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
2554 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
2555 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
2570 team_id team;
2572 CHK(roster.Launch(&linkRef, &list, &team)
2588 team_id team;
2590 CHK(roster.Launch(&linkRef, &list, &team)
2598 @results Should return B_OK and set team to the ID of the team
2608 team_id team;
2611 &team) == B_OK);
2612 entry_ref ref = ref_for_team(team);
2614 context.WaitForMessage(team, MSG_STARTED, true);
2616 CHK(roster.GetRunningAppInfo(team, &appInfo) == B_OK);
2621 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
2622 // CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2623 CHK(context.CheckArgsMessage(caller, team, cookie, &ref, NULL,
2625 CHK(context.CheckMessageMessages(caller, team, cookie));
2626 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2627 // CHK(context.CheckArgsMessage(caller, team, cookie, &ref, NULL,
2631 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
2632 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
2633 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
2643 const char **argv, team_id *team)
2646 return roster.Launch(&fRef, argc, argv, team);
2665 const char **argv, team_id *team)
2669 return roster.Launch(&fRef, argc, argv, team);
2682 const char **argv, team_id *team)
2687 return roster.Launch(&fRef, argc, argv, team);
2729 @results Should return B_OK and set team to the ID of the team
2743 team_id team;
2746 &team) == B_OK);
2747 entry_ref ref = ref_for_team(team);
2753 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
2754 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2755 // CHK(context.CheckMessageMessages(caller, team, cookie));
2756 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2757 // CHK(context.CheckRefsMessage(caller, team, cookie));
2758 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
2759 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
2760 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
2768 @results Should return B_OK and set team to the ID of the team
2779 team_id team;
2782 &team) == B_OK);
2783 entry_ref ref = ref_for_team(team);
2789 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
2790 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2791 // CHK(context.CheckMessageMessages(caller, team, cookie));
2792 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2793 // CHK(context.CheckRefsMessage(caller, team, cookie));
2794 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
2795 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
2796 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
2805 @results Should return B_OK and set team to the ID of the team
2818 team_id team;
2821 &team) == B_OK);
2822 entry_ref ref = ref_for_team(team);
2828 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
2829 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2830 // CHK(context.CheckMessageMessages(caller, team, cookie));
2831 CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2832 // CHK(context.CheckRefsMessage(caller, team, cookie));
2833 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
2834 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
2835 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
2854 team_id team;
2856 CHK(roster.Launch(&fileRef, 1, argv, &team) == B_LAUNCH_FAILED_EXECUTABLE);
2867 @results Should return B_OK and set team to the ID of the team
2882 team_id team;
2885 &team) == B_OK);
2886 entry_ref ref = ref_for_team(team);
2892 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
2893 // CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
2894 CHK(context.CheckArgsMessage(caller, team, cookie, &ref, &fileRef,
2897 // CHK(context.CheckMessageMessages(caller, team, cookie));
2898 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2899 CHK(context.CheckArgsMessage(caller, team, cookie, &ref, &fileRef,
2903 // CHK(context.CheckRefsMessage(caller, team, cookie));
2904 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
2905 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
2906 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
2953 @results Should return B_OK and set team to the ID of the team
2964 team_id team;
2965 CHK(context(caller, fileType1, NULL, 0, NULL, &team) == B_OK);
2966 entry_ref ref = ref_for_team(team);
2972 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
2973 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref, 0, NULL));
2974 // CHK(context.CheckMessageMessages(caller, team, cookie));
2975 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
2976 CHK(context.CheckRefsMessage(caller, team, cookie));
2977 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
2978 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
2979 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
2988 @results Should return B_OK and set team to the ID of the team
2999 team_id team;
3000 CHK(context(caller, fileType1, NULL, 1, NULL, &team) == B_OK);
3001 entry_ref ref = ref_for_team(team);
3007 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
3008 CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref, 0, NULL));
3009 // CHK(context.CheckMessageMessages(caller, team, cookie));
3010 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
3011 CHK(context.CheckRefsMessage(caller, team, cookie));
3012 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
3013 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
3014 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));
3029 team_id team;
3031 LaunchContext::kStandardArgv, &team)
3047 team_id team;
3049 LaunchContext::kStandardArgv, &team)
3057 @results Should return B_OK and set team to the ID of the team
3067 team_id team;
3070 &team) == B_OK);
3071 entry_ref ref = ref_for_team(team);
3073 context.WaitForMessage(team, MSG_STARTED, true);
3075 CHK(roster.GetRunningAppInfo(team, &appInfo) == B_OK);
3080 CHK(context.CheckNextMessage(caller, team, cookie, MSG_STARTED));
3081 // CHK(context.CheckMainArgsMessage(caller, team, cookie, &ref));
3082 CHK(context.CheckArgsMessage(caller, team, cookie, &ref, NULL,
3086 // CHK(context.CheckMessageMessages(caller, team, cookie));
3087 // CHK(context.CheckArgvMessage(caller, team, cookie, &ref));
3088 CHK(context.CheckArgsMessage(caller, team, cookie, &ref, NULL,
3092 CHK(context.CheckNextMessage(caller, team, cookie, MSG_READY_TO_RUN));
3093 CHK(context.CheckNextMessage(caller, team, cookie, MSG_QUIT_REQUESTED));
3094 CHK(context.CheckNextMessage(caller, team, cookie, MSG_TERMINATED));