Lines Matching refs:ref
86 team_id TeamFor(entry_ref *ref) const
87 @case 1 ref is NULL
92 // R5: crashes when passing a NULL ref
100 team_id TeamFor(entry_ref *ref) const
101 @case 2 ref is not NULL, but no app with this ref is running
107 entry_ref ref;
108 CHK(find_test_app("AppRunTestApp1", &ref) == B_OK);
109 CHK(roster.TeamFor(&ref) == B_ERROR);
113 team_id TeamFor(entry_ref *ref) const
114 @case 3 ref is not NULL and an (two) app(s) with this ref is (are)
121 entry_ref ref;
122 CHK(find_test_app("AppRunTestApp1", &ref) == B_OK);
130 team_id team = roster.TeamFor(&ref);
134 CHK(roster.TeamFor(&ref) == runner2.Team());
137 CHK(roster.TeamFor(&ref) == B_ERROR);