Kristopher Wuollett 8a70336d12 Remove the gRPC Authors copyright header from generated swift files (#1612) před 2 roky
..
01-echo 8a70336d12 Remove the gRPC Authors copyright header from generated swift files (#1612) před 2 roky
02-multifile 8a70336d12 Remove the gRPC Authors copyright header from generated swift files (#1612) před 2 roky
03-multifile-with-module-map 8a70336d12 Remove the gRPC Authors copyright header from generated swift files (#1612) před 2 roky
04-service-with-message-import 8a70336d12 Remove the gRPC Authors copyright header from generated swift files (#1612) před 2 roky
05-service-only 8a70336d12 Remove the gRPC Authors copyright header from generated swift files (#1612) před 2 roky
06-test-client-only 8a70336d12 Remove the gRPC Authors copyright header from generated swift files (#1612) před 2 roky
README.md 3109a71355 Provide conformance for messages provided by SwiftProtobuf (#811) před 5 roky
run-tests.sh 3109a71355 Provide conformance for messages provided by SwiftProtobuf (#811) před 5 roky
test-boilerplate.sh 3109a71355 Provide conformance for messages provided by SwiftProtobuf (#811) před 5 roky

README.md

protoc-gen-grpc-swift Tests

This directory contains tests for the protoc-gen-grpc-swift plugin.

Each test runs protoc with the protoc-gen-grpc-swift plugin with input .proto files and compares the generated output to "good" output files. Each test directory must contain the following files/directories:

  • proto/ a directory containing the input .proto files
  • golden/ a directory containing the good generated code
  • generate-and-diff.sh for generating and diffing the generated files against the golden output

The tests also require that the absolute path of the plugin is set in the PROTOC_GEN_GRPC_SWIFT environment variable.

Running the Tests

All Tests can be run by invoking:

./run-tests.sh

Individual tests can be run by invoking the generate-and-diff.sh script in the relevant test directory:

./01-echo/generate-and-diff.sh