Lines Matching refs:event
45 $event = $call->startBatch([
50 $this->assertTrue($event->send_metadata);
51 $this->assertTrue($event->send_close);
53 $event = $this->server->requestCall();
54 $this->assertSame('dummy_method', $event->method);
55 $server_call = $event->call;
57 $event = $server_call->startBatch([
67 $this->assertTrue($event->send_metadata);
68 $this->assertTrue($event->send_status);
69 $this->assertFalse($event->cancelled);
71 $event = $call->startBatch([
76 $status = $event->status;
94 $event = $call->startBatch([
101 $this->assertTrue($event->send_metadata);
102 $this->assertTrue($event->send_close);
104 $event = $this->server->requestCall();
105 $this->assertSame('dummy_method', $event->method);
106 $server_call = $event->call;
108 $event = $server_call->startBatch([
117 $event = $call->startBatch([
122 $status = $event->status;
142 $event = $call->startBatch([
148 $this->assertTrue($event->send_metadata);
149 $this->assertTrue($event->send_close);
150 $this->assertTrue($event->send_message);
152 $event = $this->server->requestCall();
153 $this->assertSame('dummy_method', $event->method);
154 $server_call = $event->call;
156 $event = $server_call->startBatch([
168 $this->assertTrue($event->send_metadata);
169 $this->assertTrue($event->send_status);
170 $this->assertTrue($event->send_message);
171 $this->assertFalse($event->cancelled);
172 $this->assertSame($req_text, $event->message);
174 $event = $call->startBatch([
180 $this->assertSame([], $event->metadata);
181 $this->assertSame($reply_text, $event->message);
182 $status = $event->status;
205 $event = $call->startBatch([
226 $event = $call->startBatch([
247 $event = $call->startBatch([
270 $event = $call->startBatch([
276 $this->assertTrue($event->send_metadata);
277 $this->assertTrue($event->send_close);
278 $this->assertTrue($event->send_message);
280 $event = $this->server->requestCall();
281 $this->assertSame('dummy_method', $event->method);
282 $server_call = $event->call;
284 $event = $server_call->startBatch([
311 $event = $call->startBatch([
317 $this->assertTrue($event->send_metadata);
318 $this->assertTrue($event->send_close);
319 $this->assertTrue($event->send_message);
321 $event = $this->server->requestCall();
322 $this->assertSame('dummy_method', $event->method);
323 $server_call = $event->call;
325 $event = $server_call->startBatch([
352 $event = $call->startBatch([
358 $this->assertTrue($event->send_metadata);
359 $this->assertTrue($event->send_close);
360 $this->assertTrue($event->send_message);
362 $event = $this->server->requestCall();
363 $this->assertSame('dummy_method', $event->method);
364 $server_call = $event->call;
366 $event = $server_call->startBatch([
392 $event = $call->startBatch([
398 $this->assertTrue($event->send_metadata);
399 $this->assertTrue($event->send_close);
400 $this->assertTrue($event->send_message);
402 $event = $this->server->requestCall();
403 $this->assertSame('dummy_method', $event->method);
404 $server_call = $event->call;
406 $event = $server_call->startBatch([
433 $event = $call->startBatch([
439 $this->assertTrue($event->send_metadata);
440 $this->assertTrue($event->send_close);
441 $this->assertTrue($event->send_message);
443 $event = $this->server->requestCall();
444 $this->assertSame('dummy_method', $event->method);
445 $server_call = $event->call;
447 $event = $server_call->startBatch([
473 $event = $call->startBatch([
492 $event = $call->startBatch([