Lines Matching refs:context

164 	LaunchContext context;  in BroadcastTestA2()  local
170 CHK(context(caller1, appType1, &team1) == B_OK); in BroadcastTestA2()
176 CHK(context(caller2, appType2, &team2) == B_OK); in BroadcastTestA2()
181 CHK(context(caller3, appType3, &team3) == B_OK); in BroadcastTestA2()
186 CHK(context(caller4, appType4, &team4) == B_OK); in BroadcastTestA2()
188 context.WaitForMessage(team1, MSG_READY_TO_RUN); in BroadcastTestA2()
189 context.WaitForMessage(team2, MSG_READY_TO_RUN); in BroadcastTestA2()
190 context.WaitForMessage(team3, MSG_READY_TO_RUN); in BroadcastTestA2()
191 context.WaitForMessage(team4, MSG_READY_TO_RUN); in BroadcastTestA2()
196 context.WaitForMessage(team1, MSG_MESSAGE_RECEIVED); in BroadcastTestA2()
197 context.WaitForMessage(team2, MSG_MESSAGE_RECEIVED); in BroadcastTestA2()
198 context.WaitForMessage(team3, MSG_MESSAGE_RECEIVED); in BroadcastTestA2()
199 context.WaitForMessage(team4, MSG_MESSAGE_RECEIVED); in BroadcastTestA2()
201 context.Terminate(); in BroadcastTestA2()
204 CHK(context.CheckNextMessage(caller1, team1, cookie, MSG_STARTED)); in BroadcastTestA2()
205 CHK(context.CheckMainArgsMessage(caller1, team1, cookie, &ref1, false)); in BroadcastTestA2()
206 CHK(context.CheckNextMessage(caller1, team1, cookie, MSG_READY_TO_RUN)); in BroadcastTestA2()
207 CHK(context.CheckMessageMessage(caller1, team1, cookie, &message)); in BroadcastTestA2()
208 CHK(context.CheckNextMessage(caller1, team1, cookie, MSG_2)); in BroadcastTestA2()
209 CHK(context.CheckNextMessage(caller1, team1, cookie, MSG_QUIT_REQUESTED)); in BroadcastTestA2()
210 CHK(context.CheckNextMessage(caller1, team1, cookie, MSG_TERMINATED)); in BroadcastTestA2()
213 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_STARTED)); in BroadcastTestA2()
214 CHK(context.CheckMainArgsMessage(caller2, team2, cookie, &ref2, false)); in BroadcastTestA2()
215 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_READY_TO_RUN)); in BroadcastTestA2()
216 CHK(context.CheckMessageMessage(caller2, team2, cookie, &message)); in BroadcastTestA2()
217 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_2)); in BroadcastTestA2()
218 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_QUIT_REQUESTED)); in BroadcastTestA2()
219 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_TERMINATED)); in BroadcastTestA2()
222 CHK(context.CheckNextMessage(caller3, team3, cookie, MSG_STARTED)); in BroadcastTestA2()
223 CHK(context.CheckMainArgsMessage(caller3, team3, cookie, &ref3, false)); in BroadcastTestA2()
224 CHK(context.CheckNextMessage(caller3, team3, cookie, MSG_READY_TO_RUN)); in BroadcastTestA2()
225 CHK(context.CheckMessageMessage(caller3, team3, cookie, &message)); in BroadcastTestA2()
226 CHK(context.CheckNextMessage(caller3, team3, cookie, MSG_2)); in BroadcastTestA2()
227 CHK(context.CheckNextMessage(caller3, team3, cookie, MSG_QUIT_REQUESTED)); in BroadcastTestA2()
228 CHK(context.CheckNextMessage(caller3, team3, cookie, MSG_TERMINATED)); in BroadcastTestA2()
231 CHK(context.CheckNextMessage(caller4, team4, cookie, MSG_STARTED)); in BroadcastTestA2()
232 CHK(context.CheckMainArgsMessage(caller4, team4, cookie, &ref4, false)); in BroadcastTestA2()
233 CHK(context.CheckNextMessage(caller4, team4, cookie, MSG_READY_TO_RUN)); in BroadcastTestA2()
234 CHK(context.CheckMessageMessage(caller4, team4, cookie, &message)); in BroadcastTestA2()
235 CHK(context.CheckNextMessage(caller4, team4, cookie, MSG_2)); in BroadcastTestA2()
236 CHK(context.CheckNextMessage(caller4, team4, cookie, MSG_QUIT_REQUESTED)); in BroadcastTestA2()
237 CHK(context.CheckNextMessage(caller4, team4, cookie, MSG_TERMINATED)); in BroadcastTestA2()
263 LaunchContext context; in BroadcastTestB2() local
269 CHK(context(caller1, appType1, &team1) == B_OK); in BroadcastTestB2()
275 CHK(context(caller2, appType2, &team2) == B_OK); in BroadcastTestB2()
280 CHK(context(caller3, appType3, &team3) == B_OK); in BroadcastTestB2()
285 CHK(context(caller4, appType4, &team4) == B_OK); in BroadcastTestB2()
287 context.WaitForMessage(team1, MSG_READY_TO_RUN); in BroadcastTestB2()
288 context.WaitForMessage(team2, MSG_READY_TO_RUN); in BroadcastTestB2()
289 context.WaitForMessage(team3, MSG_READY_TO_RUN); in BroadcastTestB2()
290 context.WaitForMessage(team4, MSG_READY_TO_RUN); in BroadcastTestB2()
296 context.WaitForMessage(team1, MSG_MESSAGE_RECEIVED); in BroadcastTestB2()
297 context.WaitForMessage(team2, MSG_MESSAGE_RECEIVED); in BroadcastTestB2()
298 context.WaitForMessage(team3, MSG_MESSAGE_RECEIVED); in BroadcastTestB2()
299 context.WaitForMessage(team4, MSG_MESSAGE_RECEIVED); in BroadcastTestB2()
301 context.Terminate(); in BroadcastTestB2()
304 CHK(context.CheckNextMessage(caller1, team1, cookie, MSG_STARTED)); in BroadcastTestB2()
305 CHK(context.CheckMainArgsMessage(caller1, team1, cookie, &ref1, false)); in BroadcastTestB2()
306 CHK(context.CheckNextMessage(caller1, team1, cookie, MSG_READY_TO_RUN)); in BroadcastTestB2()
307 CHK(context.CheckMessageMessage(caller1, team1, cookie, &message)); in BroadcastTestB2()
308 CHK(context.CheckNextMessage(caller1, team1, cookie, MSG_REPLY)); in BroadcastTestB2()
309 CHK(context.CheckNextMessage(caller1, team1, cookie, MSG_QUIT_REQUESTED)); in BroadcastTestB2()
310 CHK(context.CheckNextMessage(caller1, team1, cookie, MSG_TERMINATED)); in BroadcastTestB2()
313 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_STARTED)); in BroadcastTestB2()
314 CHK(context.CheckMainArgsMessage(caller2, team2, cookie, &ref2, false)); in BroadcastTestB2()
315 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_READY_TO_RUN)); in BroadcastTestB2()
316 CHK(context.CheckMessageMessage(caller2, team2, cookie, &message)); in BroadcastTestB2()
317 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_REPLY)); in BroadcastTestB2()
318 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_QUIT_REQUESTED)); in BroadcastTestB2()
319 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_TERMINATED)); in BroadcastTestB2()
322 CHK(context.CheckNextMessage(caller3, team3, cookie, MSG_STARTED)); in BroadcastTestB2()
323 CHK(context.CheckMainArgsMessage(caller3, team3, cookie, &ref3, false)); in BroadcastTestB2()
324 CHK(context.CheckNextMessage(caller3, team3, cookie, MSG_READY_TO_RUN)); in BroadcastTestB2()
325 CHK(context.CheckMessageMessage(caller3, team3, cookie, &message)); in BroadcastTestB2()
326 CHK(context.CheckNextMessage(caller3, team3, cookie, MSG_REPLY)); in BroadcastTestB2()
327 CHK(context.CheckNextMessage(caller3, team3, cookie, MSG_QUIT_REQUESTED)); in BroadcastTestB2()
328 CHK(context.CheckNextMessage(caller3, team3, cookie, MSG_TERMINATED)); in BroadcastTestB2()
331 CHK(context.CheckNextMessage(caller4, team4, cookie, MSG_STARTED)); in BroadcastTestB2()
332 CHK(context.CheckMainArgsMessage(caller4, team4, cookie, &ref4, false)); in BroadcastTestB2()
333 CHK(context.CheckNextMessage(caller4, team4, cookie, MSG_READY_TO_RUN)); in BroadcastTestB2()
334 CHK(context.CheckMessageMessage(caller4, team4, cookie, &message)); in BroadcastTestB2()
335 CHK(context.CheckNextMessage(caller4, team4, cookie, MSG_REPLY)); in BroadcastTestB2()
336 CHK(context.CheckNextMessage(caller4, team4, cookie, MSG_QUIT_REQUESTED)); in BroadcastTestB2()
337 CHK(context.CheckNextMessage(caller4, team4, cookie, MSG_TERMINATED)); in BroadcastTestB2()
349 LaunchContext context; in BroadcastTestB3() local
355 CHK(context(caller1, appType1, &team1) == B_OK); in BroadcastTestB3()
361 CHK(context(caller2, appType2, &team2) == B_OK); in BroadcastTestB3()
366 CHK(context(caller3, appType3, &team3) == B_OK); in BroadcastTestB3()
371 CHK(context(caller4, appType4, &team4) == B_OK); in BroadcastTestB3()
373 context.WaitForMessage(team1, MSG_READY_TO_RUN); in BroadcastTestB3()
374 context.WaitForMessage(team2, MSG_READY_TO_RUN); in BroadcastTestB3()
375 context.WaitForMessage(team3, MSG_READY_TO_RUN); in BroadcastTestB3()
376 context.WaitForMessage(team4, MSG_READY_TO_RUN); in BroadcastTestB3()
382 context.WaitForMessage(team1, MSG_MESSAGE_RECEIVED); in BroadcastTestB3()
383 context.WaitForMessage(team2, MSG_MESSAGE_RECEIVED); in BroadcastTestB3()
384 context.WaitForMessage(team3, MSG_MESSAGE_RECEIVED); in BroadcastTestB3()
385 context.WaitForMessage(team4, MSG_MESSAGE_RECEIVED); in BroadcastTestB3()
387 context.Terminate(); in BroadcastTestB3()
390 CHK(context.CheckNextMessage(caller1, team1, cookie, MSG_STARTED)); in BroadcastTestB3()
391 CHK(context.CheckMainArgsMessage(caller1, team1, cookie, &ref1, false)); in BroadcastTestB3()
392 CHK(context.CheckNextMessage(caller1, team1, cookie, MSG_READY_TO_RUN)); in BroadcastTestB3()
393 CHK(context.CheckMessageMessage(caller1, team1, cookie, &message)); in BroadcastTestB3()
395 CHK(context.CheckNextMessage(caller1, team1, cookie, MSG_QUIT_REQUESTED)); in BroadcastTestB3()
396 CHK(context.CheckNextMessage(caller1, team1, cookie, MSG_TERMINATED)); in BroadcastTestB3()
399 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_STARTED)); in BroadcastTestB3()
400 CHK(context.CheckMainArgsMessage(caller2, team2, cookie, &ref2, false)); in BroadcastTestB3()
401 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_READY_TO_RUN)); in BroadcastTestB3()
402 CHK(context.CheckMessageMessage(caller2, team2, cookie, &message)); in BroadcastTestB3()
404 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_QUIT_REQUESTED)); in BroadcastTestB3()
405 CHK(context.CheckNextMessage(caller2, team2, cookie, MSG_TERMINATED)); in BroadcastTestB3()
408 CHK(context.CheckNextMessage(caller3, team3, cookie, MSG_STARTED)); in BroadcastTestB3()
409 CHK(context.CheckMainArgsMessage(caller3, team3, cookie, &ref3, false)); in BroadcastTestB3()
410 CHK(context.CheckNextMessage(caller3, team3, cookie, MSG_READY_TO_RUN)); in BroadcastTestB3()
411 CHK(context.CheckMessageMessage(caller3, team3, cookie, &message)); in BroadcastTestB3()
413 CHK(context.CheckNextMessage(caller3, team3, cookie, MSG_QUIT_REQUESTED)); in BroadcastTestB3()
414 CHK(context.CheckNextMessage(caller3, team3, cookie, MSG_TERMINATED)); in BroadcastTestB3()
417 CHK(context.CheckNextMessage(caller4, team4, cookie, MSG_STARTED)); in BroadcastTestB3()
418 CHK(context.CheckMainArgsMessage(caller4, team4, cookie, &ref4, false)); in BroadcastTestB3()
419 CHK(context.CheckNextMessage(caller4, team4, cookie, MSG_READY_TO_RUN)); in BroadcastTestB3()
420 CHK(context.CheckMessageMessage(caller4, team4, cookie, &message)); in BroadcastTestB3()
422 CHK(context.CheckNextMessage(caller4, team4, cookie, MSG_QUIT_REQUESTED)); in BroadcastTestB3()
423 CHK(context.CheckNextMessage(caller4, team4, cookie, MSG_TERMINATED)); in BroadcastTestB3()