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 1d886ca4a THRIFT-5772: UUID support for c++ #2952 Client: cpp Patch:
CJCombrink
add 68139d117 [THRIFT-5757] Unit tests for php lib Client: php Patch:
Volodymyr Panivko
No new revisions were added by this update.
Summary of changes:
.github/workflows/build.yml | 10 +-
lib/php/lib/Protocol/TCompactProtocol.php | 1 +
lib/php/lib/Protocol/TJSONProtocol.php | 88 +-
lib/php/lib/Protocol/TSimpleJSONProtocol.php | 1 +
lib/php/phpunit.xml | 7 +-
lib/php/test/Fixtures/Fixtures.php | 192 ----
lib/php/test/Fixtures/TJSONProtocolFixtures.php | 72 --
.../test/Fixtures/TSimpleJSONProtocolFixtures.php | 65 --
.../{Unit => Integration}/BaseValidatorTest.php | 37 +-
.../Lib/ClassLoader/ThriftClassLoaderTest.php | 139 +++
.../Integration/Lib/Protocol/TJSONProtocolTest.php | 646 +++++++++++++
.../Lib/Protocol/TSimpleJSONProtocolTest.php | 319 +++++++
.../Lib/Serializer}/BinarySerializerTest.php | 19 +-
.../Lib/Serializer}/JsonSerializeTest.php | 36 +-
.../Integration/ValidatorOopTest.php} | 22 +-
.../Integration/ValidatorTest.php} | 22 +-
lib/php/test/Makefile.am | 10 +-
.../Unit/Lib/ClassLoader/ThriftClassLoaderTest.php | 108 ---
.../Protocol/TBinaryProtocolAcceleratedTest.php | 73 ++
.../test/Unit/Lib/Protocol/TBinaryProtocolTest.php | 1009 ++++++++++++++++++++
.../Unit/Lib/Protocol/TCompactProtocolTest.php | 843 ++++++++++++++++
.../Unit/Lib/Protocol/TMultiplexedProtocolTest.php | 85 ++
.../Unit/Lib/Protocol/TProtocolDecoratorTest.php | 96 ++
.../Unit/Lib/Protocol/TSimpleJSONProtocolTest.php | 133 +++
.../TBinarySerializerTest.php} | 14 +-
lib/php/test/Unit/TJSONProtocolTest.php | 514 ----------
lib/php/test/Unit/TSimpleJSONProtocolTest.php | 247 -----
lib/php/test/Unit/ValidatorTest.php | 41 -
lib/php/test/Unit/ValidatorTestOop.php | 41 -
lib/php/test/bootstrap.php | 16 +
test/php/Client.php | 26 +
test/php/Handler.php | 114 +++
test/php/TestServer.php | 87 ++
test/php/test_php.ini | 6 +-
test/tests.json | 25 +
35 files changed, 3699 insertions(+), 1465 deletions(-)
delete mode 100644 lib/php/test/Fixtures/Fixtures.php
delete mode 100644 lib/php/test/Fixtures/TJSONProtocolFixtures.php
delete mode 100644 lib/php/test/Fixtures/TSimpleJSONProtocolFixtures.php
rename lib/php/test/{Unit => Integration}/BaseValidatorTest.php (76%)
create mode 100644
lib/php/test/Integration/Lib/ClassLoader/ThriftClassLoaderTest.php
create mode 100644 lib/php/test/Integration/Lib/Protocol/TJSONProtocolTest.php
create mode 100644
lib/php/test/Integration/Lib/Protocol/TSimpleJSONProtocolTest.php
rename lib/php/test/{Unit =>
Integration/Lib/Serializer}/BinarySerializerTest.php (66%)
rename lib/php/test/{Unit => Integration/Lib/Serializer}/JsonSerializeTest.php
(71%)
copy lib/php/{lib/Factory/TJSONProtocolFactory.php =>
test/Integration/ValidatorOopTest.php} (67%)
copy lib/php/{lib/Factory/TJSONProtocolFactory.php =>
test/Integration/ValidatorTest.php} (67%)
create mode 100644
lib/php/test/Unit/Lib/Protocol/TBinaryProtocolAcceleratedTest.php
create mode 100644 lib/php/test/Unit/Lib/Protocol/TBinaryProtocolTest.php
create mode 100644 lib/php/test/Unit/Lib/Protocol/TCompactProtocolTest.php
create mode 100644 lib/php/test/Unit/Lib/Protocol/TMultiplexedProtocolTest.php
create mode 100644 lib/php/test/Unit/Lib/Protocol/TProtocolDecoratorTest.php
create mode 100644 lib/php/test/Unit/Lib/Protocol/TSimpleJSONProtocolTest.php
copy lib/php/test/Unit/Lib/{Server/TForkingServerTest.php =>
Serializer/TBinarySerializerTest.php} (68%)
delete mode 100644 lib/php/test/Unit/TJSONProtocolTest.php
delete mode 100644 lib/php/test/Unit/TSimpleJSONProtocolTest.php
delete mode 100644 lib/php/test/Unit/ValidatorTest.php
delete mode 100644 lib/php/test/Unit/ValidatorTestOop.php
create mode 100644 lib/php/test/bootstrap.php
create mode 100644 test/php/Client.php
create mode 100644 test/php/Handler.php
create mode 100644 test/php/TestServer.php