diff options
author | Muxi Yan <mxyan@google.com> | 2018-10-08 15:47:22 -0700 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2018-10-08 15:47:22 -0700 |
commit | 9fbc9105a62e5ca309d5152407dea0db86cc1709 (patch) | |
tree | 574e154981a6b66668e4e7542da8f75088a38c4e /src/objective-c/tests/InteropTests.h | |
parent | af1b4d6b486e527497158e4f35c1003b2a48ea60 (diff) |
Update tests
Diffstat (limited to 'src/objective-c/tests/InteropTests.h')
-rw-r--r-- | src/objective-c/tests/InteropTests.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/objective-c/tests/InteropTests.h b/src/objective-c/tests/InteropTests.h index 039d92a8d3..e223839d3a 100644 --- a/src/objective-c/tests/InteropTests.h +++ b/src/objective-c/tests/InteropTests.h @@ -18,6 +18,8 @@ #import <XCTest/XCTest.h> +#import <GRPCClient/GRPCCallOptions.h> + /** * Implements tests as described here: * https://github.com/grpc/grpc/blob/master/doc/interop-test-descriptions.md @@ -38,4 +40,23 @@ * remote servers enconde responses with different overhead (?), so this is defined per-subclass. */ - (int32_t)encodingOverhead; + +/** + * The type of transport to be used. The base implementation returns default. Subclasses should + * override to appropriate settings. + */ ++ (GRPCTransportType)transportType; + +/** + * The root certificates to be used. The base implementation returns nil. Subclasses should override + * to appropriate settings. + */ ++ (NSString *)pemRootCert; + +/** + * The root certificates to be used. The base implementation returns nil. Subclasses should override + * to appropriate settings. + */ ++ (NSString *)hostNameOverride; + @end |