THRIFT-1495 PHP TestClient fatals on missing class
authorRoger Meier <roger@apache.org>
Fri, 20 Jan 2012 15:31:45 +0000 (15:31 +0000)
committerRoger Meier <roger@apache.org>
Fri, 20 Jan 2012 15:31:45 +0000 (15:31 +0000)
Patch: Andrew Grumet

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1233958 13f79535-47bb-0310-9956-ffa450edef68

test/php/TestClient.php [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 653b865..009137b
@@ -72,17 +72,17 @@ $socket->setDebug(TRUE);
 
 if ($MODE == 'inline') {
   $transport = $socket;
-  $testClient = new ThriftTestClient($transport);
+  $testClient = new ThriftTest_ThriftTestClient($transport);
 } else if ($MODE == 'framed') {
   $framedSocket = new TFramedTransport($socket);
   $transport = $framedSocket;
   $protocol = new TBinaryProtocol($transport);
-  $testClient = new ThriftTestClient($protocol);
+  $testClient = new ThriftTest_ThriftTestClient($protocol);
 } else {
   $bufferedSocket = new TBufferedTransport($socket, 1024, 1024);
   $transport = $bufferedSocket;
   $protocol = new TBinaryProtocol($transport);
-  $testClient = new ThriftTestClient($protocol);
+  $testClient = new ThriftTest_ThriftTestClient($protocol);
 }
 
 $transport->open();