This is an automated email from the ASF dual-hosted git repository.
jensg pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
from 58c2785d7 expose qt5 targets if available
add 99130046c [THRIFT-5757] Unit tests for php lib
No new revisions were added by this update.
Summary of changes:
.github/workflows/build.yml | 2 +-
composer.json | 4 +-
lib/php/lib/Transport/TBufferedTransport.php | 1 +
lib/php/lib/Transport/TCurlClient.php | 11 +-
lib/php/lib/Transport/THttpClient.php | 14 +-
lib/php/lib/Transport/TMemoryBuffer.php | 5 +-
lib/php/lib/Transport/TPhpStream.php | 5 +-
lib/php/lib/Transport/TSSLSocket.php | 9 +-
lib/php/lib/Transport/TSocket.php | 6 +-
lib/php/lib/Transport/TSocketPool.php | 61 +-
lib/php/phpunit.xml | 9 +-
lib/php/test/Fixtures/Fixtures.php | 2 -
lib/php/test/Fixtures/TJSONProtocolFixtures.php | 2 -
.../test/Fixtures/TSimpleJSONProtocolFixtures.php | 2 -
.../Unit/Lib/ClassLoader/Fixtures/A/TestClass.php | 5 -
.../Unit/Lib/ClassLoader/Fixtures/B/TestClass.php | 5 -
.../Unit/Lib/ClassLoader/Fixtures/C/TestClass.php | 5 -
.../Unit/Lib/ClassLoader/Fixtures/D/TestClass.php | 5 -
.../Unit/Lib/ClassLoader/Fixtures/E/TestClass.php | 5 -
.../Unit/Lib/ClassLoader/ThriftClassLoaderTest.php | 53 +-
.../Lib/Factory/TBinaryProtocolFactoryTest.php | 2 -
.../Lib/Factory/TCompactProtocolFactoryTest.php | 2 -
.../Lib/Factory/TFramedTransportFactoryTest.php | 2 -
.../Unit/Lib/Factory/TJSONProtocolFactoryTest.php | 2 -
.../Unit/Lib/Factory/TStringFuncFactoryTest.php | 50 +-
.../Unit/Lib/Factory/TTransportFactoryTest.php | 2 -
.../Unit/Lib/Transport/TBufferedTransportTest.php | 286 +++++++++
.../test/Unit/Lib/Transport/TCurlClientTest.php | 423 +++++++++++++
.../Unit/Lib/Transport/TFramedTransportTest.php | 240 ++++++++
.../test/Unit/Lib/Transport/THttpClientTest.php | 332 ++++++++++
.../test/Unit/Lib/Transport/TMemoryBufferTest.php | 143 +++++
.../Unit/Lib/Transport/TNullTransportTest.php} | 40 +-
lib/php/test/Unit/Lib/Transport/TPhpStreamTest.php | 296 +++++++++
lib/php/test/Unit/Lib/Transport/TSSLSocketTest.php | 247 ++++++++
.../test/Unit/Lib/Transport/TSocketPoolTest.php | 541 +++++++++++++++++
lib/php/test/Unit/Lib/Transport/TSocketTest.php | 669 +++++++++++++++++++++
36 files changed, 3327 insertions(+), 161 deletions(-)
create mode 100644 lib/php/test/Unit/Lib/Transport/TBufferedTransportTest.php
create mode 100644 lib/php/test/Unit/Lib/Transport/TCurlClientTest.php
create mode 100644 lib/php/test/Unit/Lib/Transport/TFramedTransportTest.php
create mode 100644 lib/php/test/Unit/Lib/Transport/THttpClientTest.php
create mode 100644 lib/php/test/Unit/Lib/Transport/TMemoryBufferTest.php
copy lib/php/{lib/Transport/TNullTransport.php =>
test/Unit/Lib/Transport/TNullTransportTest.php} (50%)
create mode 100644 lib/php/test/Unit/Lib/Transport/TPhpStreamTest.php
create mode 100644 lib/php/test/Unit/Lib/Transport/TSSLSocketTest.php
create mode 100644 lib/php/test/Unit/Lib/Transport/TSocketPoolTest.php
create mode 100644 lib/php/test/Unit/Lib/Transport/TSocketTest.php