[ 
https://issues.apache.org/jira/browse/THRIFT-1478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190954#comment-13190954
 ] 

Andrew Grumet commented on THRIFT-1478:
---------------------------------------

Notes on the php unit tests:

1. The tests require compiling ThriftTest.thrift

lib/php/test$ mkdir ../src/packages
lib/php/test$ ../../../compiler/cpp/thrift --gen php -r --out ../src/packages 
../../../test/ThriftTest.thrift

2. Run the tests like so:

/lib/php/test$ phpunit protocol/TestTJSONProtocol.php
phpunit protocol/TestTJSONProtocol.php
PHPUnit 3.6.8 by Sebastian Bergmann.

................................

Time: 2 seconds, Memory: 5.25Mb

OK (32 tests, 30 assertions)


                
> TJSONProtocol in PHP
> --------------------
>
>                 Key: THRIFT-1478
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1478
>             Project: Thrift
>          Issue Type: Improvement
>          Components: PHP - Library
>    Affects Versions: 0.8
>            Reporter: Greg Fodor
>            Priority: Minor
>         Attachments: THRIFT-1478.patch, THRIFT-1478.patch, THRIFT-1478.patch, 
> THRIFT-1478.patch
>
>
> We needed to be able to serialize and deserialize javascript thrift calls 
> from within PHP, so I spent a few hours porting over the Java implementation 
> of TJSONProtocol to PHP. It has not been exhaustively tested but it seems to 
> be in reasonable working order. Please let me know what steps are necessary 
> to get this onto trunk. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to