@@ 601-605 (lines=5) @@ | ||
598 | $this->assertTrue(count($r) == 4, "wrong number of return values"); |
|
599 | } |
|
600 | $this->assertTrue($r[0]->faultCode() == 0, "fault from good1"); |
|
601 | if (!$r[0]->faultCode()) { |
|
602 | $val = $r[0]->value(); |
|
603 | $this->assertTrue( |
|
604 | is_string($val), "good1 did not return string"); |
|
605 | } |
|
606 | $this->assertTrue($r[1]->faultCode() != 0, "no fault from bad"); |
|
607 | $this->assertTrue($r[2]->faultCode() != 0, "no fault from recursive system.multicall"); |
|
608 | $this->assertTrue($r[3]->faultCode() == 0, "fault from good2"); |
|
@@ 609-612 (lines=4) @@ | ||
606 | $this->assertTrue($r[1]->faultCode() != 0, "no fault from bad"); |
|
607 | $this->assertTrue($r[2]->faultCode() != 0, "no fault from recursive system.multicall"); |
|
608 | $this->assertTrue($r[3]->faultCode() == 0, "fault from good2"); |
|
609 | if (!$r[3]->faultCode()) { |
|
610 | $val = $r[3]->value(); |
|
611 | $this->assertTrue(is_array($val), "good2 did not return array"); |
|
612 | } |
|
613 | //$this->client->return_type = 'xmlrpcvals'; |
|
614 | } |
|
615 |