MCPcopy Create free account
hub / github.com/apache/thrift / roundtrip

Function roundtrip

test/php/TestClient.php:139–148  ·  view source on GitHub ↗
($testClient, $method, $value)

Source from the content-addressed store, hash-verified

137print_r(" = void\n");
138
139function roundtrip($testClient, $method, $value) {
140 global $exitcode;
141 print_r("$method($value)");
142 $ret = $testClient->$method($value);
143 print_r(" = \"$ret\"\n");
144 if ($value !== $ret) {
145 print_r("*** FAILED ***\n");
146 $exitcode |= ERR_BASETYPES;
147 }
148}
149
150/**
151 * STRING TEST

Callers 1

TestClient.phpFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected