diff options
author | Muxi Yan <mxyan@google.com> | 2016-10-25 13:28:12 -0700 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2016-10-25 13:37:19 -0700 |
commit | bd19fc7e30abcd9ea7cb2bad8217e1b405e8e14f (patch) | |
tree | d8bf4ad7e8ae5d420b217216ebc3de4eeb4ef20a /src/objective-c/GRPCClient/GRPCCall+Tests.h | |
parent | ad93106da012bcd2080d229ab5b6c61dd2f59fed (diff) |
clang-format format clean
Diffstat (limited to 'src/objective-c/GRPCClient/GRPCCall+Tests.h')
-rw-r--r-- | src/objective-c/GRPCClient/GRPCCall+Tests.h | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/src/objective-c/GRPCClient/GRPCCall+Tests.h b/src/objective-c/GRPCClient/GRPCCall+Tests.h index 184ad09c5c..f517f3aac8 100644 --- a/src/objective-c/GRPCClient/GRPCCall+Tests.h +++ b/src/objective-c/GRPCClient/GRPCCall+Tests.h @@ -34,33 +34,36 @@ #import "GRPCCall.h" /** - * Methods to let tune down the security of gRPC connections for specific hosts. These shouldn't be - * used in releases, but are sometimes needed for testing. + * Methods to let tune down the security of gRPC connections for specific hosts. + * These shouldn't be used in releases, but are sometimes needed for testing. */ @interface GRPCCall (Tests) /** - * Establish all SSL connections to the provided host using the passed SSL target name and the root - * certificates found in the file at |certsPath|. + * Establish all SSL connections to the provided host using the passed SSL + * target name and the root certificates found in the file at |certsPath|. * - * Must be called before any gRPC call to that host is made. It's illegal to pass the same host to - * more than one invocation of the methods of this category. + * Must be called before any gRPC call to that host is made. It's illegal to + * pass the same host to more than one invocation of the methods of this + * category. */ + (void)useTestCertsPath:(NSString *)certsPath testName:(NSString *)testName forHost:(NSString *)host; /** - * Establish all connections to the provided host using cleartext instead of SSL. + * Establish all connections to the provided host using cleartext instead of + * SSL. * - * Must be called before any gRPC call to that host is made. It's illegal to pass the same host to - * more than one invocation of the methods of this category. + * Must be called before any gRPC call to that host is made. It's illegal to + * pass the same host to more than one invocation of the methods of this + * category. */ + (void)useInsecureConnectionsForHost:(NSString *)host; /** - * Resets all host configurations to their default values, and flushes all connections from the - * cache. + * Resets all host configurations to their default values, and flushes all + * connections from the cache. */ + (void)resetHostSettings; @end |