This is an automated email from the ASF dual-hosted git repository.
sveneld pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
from c0e3298a8 Bump json from 2.18.1 to 2.19.2 in /lib/rb
add 9fac7633b THRIFT-5951: Add PHP runtime coverage tests
add f509e26b6 THRIFT-5951: Fix PHP inlined skipBinary handling
add 801d8c1f3 Merge pull request #3405 from sveneld/THRIFT-5951
No new revisions were added by this update.
Summary of changes:
.github/workflows/build.yml | 2 +
lib/php/lib/Protocol/TProtocol.php | 36 ++-
.../Lib/Protocol/TProtocolInlinedTest.php | 77 ++++++
lib/php/test/Makefile.am | 2 +
.../test/Unit/Lib/Base/Fixture/ComplexStruct.php | 112 ++++++++
.../Unit/Lib/Base/Fixture/NestedStruct.php} | 34 +--
lib/php/test/Unit/Lib/Base/TBaseTest.php | 136 ++++++++++
.../Unit/Lib/Exception/ExceptionTypesTest.php} | 43 ++--
.../Lib/Exception/TApplicationExceptionTest.php | 59 +++++
.../A/TestClass.php => Fixture/ProcessorSpy.php} | 9 +-
.../Lib/Protocol/Fixture/JsonProtocolStub.php} | 25 +-
.../Protocol/Fixture/SimpleJsonProtocolStub.php} | 20 +-
lib/php/test/Unit/Lib/Protocol/JsonContextTest.php | 116 +++++++++
.../Unit/Lib/Protocol/SimpleJsonContextTest.php | 94 +++++++
lib/php/test/Unit/Lib/Protocol/TProtocolTest.php | 284 +++++++++++++++++++++
.../Fixture/{TestProcessor.php => ServerStub.php} | 11 +-
.../{TestProcessor.php => ServerTransportStub.php} | 23 +-
lib/php/test/Unit/Lib/Server/TServerTest.php | 60 +++++
.../TServerTransportTest.php} | 31 +--
...ctoryTest.php => StoredMessageProtocolTest.php} | 35 +--
.../test/Unit/Lib/TMultiplexedProcessorTest.php | 146 +++++++++++
.../Transport/Fixture/BufferedReadTransport.php} | 27 +-
.../TTransportTest.php} | 19 +-
.../Unit/Lib/Type/Fixture/CachedConstantStub.php} | 20 +-
lib/php/test/Unit/Lib/Type/TypeConstantsTest.php | 70 +++++
lib/php/test/bootstrap.php | 1 +
26 files changed, 1359 insertions(+), 133 deletions(-)
create mode 100644
lib/php/test/Integration/Lib/Protocol/TProtocolInlinedTest.php
create mode 100644 lib/php/test/Unit/Lib/Base/Fixture/ComplexStruct.php
copy lib/php/{lib/Protocol/SimpleJSON/MapContext.php =>
test/Unit/Lib/Base/Fixture/NestedStruct.php} (63%)
create mode 100644 lib/php/test/Unit/Lib/Base/TBaseTest.php
copy lib/php/{lib/Transport/TNullTransport.php =>
test/Unit/Lib/Exception/ExceptionTypesTest.php} (50%)
create mode 100644
lib/php/test/Unit/Lib/Exception/TApplicationExceptionTest.php
copy lib/php/test/Unit/Lib/{ClassLoader/Fixtures/A/TestClass.php =>
Fixture/ProcessorSpy.php} (84%)
copy lib/php/{lib/Factory/TTransportFactory.php =>
test/Unit/Lib/Protocol/Fixture/JsonProtocolStub.php} (67%)
copy lib/php/{lib/Protocol/JSON/BaseContext.php =>
test/Unit/Lib/Protocol/Fixture/SimpleJsonProtocolStub.php} (72%)
create mode 100644 lib/php/test/Unit/Lib/Protocol/JsonContextTest.php
create mode 100644 lib/php/test/Unit/Lib/Protocol/SimpleJsonContextTest.php
create mode 100644 lib/php/test/Unit/Lib/Protocol/TProtocolTest.php
copy lib/php/test/Unit/Lib/Server/Fixture/{TestProcessor.php =>
ServerStub.php} (87%)
copy lib/php/test/Unit/Lib/Server/Fixture/{TestProcessor.php =>
ServerTransportStub.php} (68%)
create mode 100644 lib/php/test/Unit/Lib/Server/TServerTest.php
copy lib/php/test/Unit/Lib/{Factory/TCompactProtocolFactoryTest.php =>
Server/TServerTransportTest.php} (58%)
copy lib/php/test/Unit/Lib/{Factory/TJSONProtocolFactoryTest.php =>
StoredMessageProtocolTest.php} (53%)
create mode 100644 lib/php/test/Unit/Lib/TMultiplexedProcessorTest.php
copy lib/php/{lib/Transport/TNullTransport.php =>
test/Unit/Lib/Transport/Fixture/BufferedReadTransport.php} (73%)
copy lib/php/test/Unit/Lib/{Serializer/TBinarySerializerTest.php =>
Transport/TTransportTest.php} (61%)
copy lib/php/{lib/Factory/TFramedTransportFactory.php =>
test/Unit/Lib/Type/Fixture/CachedConstantStub.php} (66%)
create mode 100644 lib/php/test/Unit/Lib/Type/TypeConstantsTest.php