From 2f41909aeb6a01ae1a0b5ebabe9a9afc1360744a Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Tue, 7 Sep 2021 18:12:26 +0300 Subject: Initial commit for the GRPC plugin Signed-off-by: Valery Piashchynski --- .../testdata/import/Import/ServiceInterface.php | 32 ++++++++++++++++++++++ tests/plugins/grpc/testdata/import/service.proto | 17 ++++++++++++ .../plugins/grpc/testdata/import/sub/message.proto | 7 +++++ .../Test/CustomImport/ServiceInterface.php | 32 ++++++++++++++++++++++ .../grpc/testdata/import_custom/service.proto | 19 +++++++++++++ .../grpc/testdata/import_custom/sub/message.proto | 14 ++++++++++ .../Test/CustomNamespace/ServiceInterface.php | 22 +++++++++++++++ .../grpc/testdata/php_namespace/service.proto | 15 ++++++++++ .../simple/TestSimple/SimpleServiceInterface.php | 22 +++++++++++++++ tests/plugins/grpc/testdata/simple/simple.proto | 13 +++++++++ .../testdata/use_empty/Test/ServiceInterface.php | 23 ++++++++++++++++ .../plugins/grpc/testdata/use_empty/service.proto | 10 +++++++ 12 files changed, 226 insertions(+) create mode 100644 tests/plugins/grpc/testdata/import/Import/ServiceInterface.php create mode 100644 tests/plugins/grpc/testdata/import/service.proto create mode 100644 tests/plugins/grpc/testdata/import/sub/message.proto create mode 100644 tests/plugins/grpc/testdata/import_custom/Test/CustomImport/ServiceInterface.php create mode 100644 tests/plugins/grpc/testdata/import_custom/service.proto create mode 100644 tests/plugins/grpc/testdata/import_custom/sub/message.proto create mode 100644 tests/plugins/grpc/testdata/php_namespace/Test/CustomNamespace/ServiceInterface.php create mode 100644 tests/plugins/grpc/testdata/php_namespace/service.proto create mode 100644 tests/plugins/grpc/testdata/simple/TestSimple/SimpleServiceInterface.php create mode 100644 tests/plugins/grpc/testdata/simple/simple.proto create mode 100644 tests/plugins/grpc/testdata/use_empty/Test/ServiceInterface.php create mode 100644 tests/plugins/grpc/testdata/use_empty/service.proto (limited to 'tests/plugins/grpc/testdata') diff --git a/tests/plugins/grpc/testdata/import/Import/ServiceInterface.php b/tests/plugins/grpc/testdata/import/Import/ServiceInterface.php new file mode 100644 index 00000000..13e58daf --- /dev/null +++ b/tests/plugins/grpc/testdata/import/Import/ServiceInterface.php @@ -0,0 +1,32 @@ +