Daniel Alm
|
308287ea94
Rename the "generate_mock_code" codegen option to "TestStubs" and rename the stub classes to `...TestStub` as well.
|
7 years ago |
Daniel Alm
|
518031b2b3
Merge branch 'master' of github.com:grpc/grpc-swift into protocols-for-testability
|
7 years ago |
Daniel Alm
|
8079b70084
Also remove trailing whitespace in empty lines.
|
7 years ago |
Daniel Alm
|
bd313d8cd9
Code formatting: Run
|
7 years ago |
Daniel Alm
|
2e00c363cc
Extract the interface of generated code for the `...Call`, `...Session` and `...Service` classes into protocols and make the implementing classes conform to those protocols. This lets us create custom implementations of those protocols, e.g. mocks/stubs/fakes/spies for testing purposes. In particular, this commit also includes an option to have simple fake implementations generated for the above protocols in addition to the "real" implementations (see #120 for a detailed discussion).
|
7 years ago |
Davis Deaton
|
b798520a3c
Allows passing \'--swiftgrpc_opt=Visibility=Public\' to protoc to change the visibility of the generated code for use in projects using multiple modules.
|
8 years ago |