aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/tests/ChannelTests/ChannelTests.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-11-14 14:03:50 -0800
committerGravatar Muxi Yan <mxyan@google.com>2018-11-14 14:03:50 -0800
commit8d0cf9ec0aaa9e9efd23254d189d78fbaead2702 (patch)
treec5b578e0cad66e6d12e25b22199d231443de49ae /src/objective-c/tests/ChannelTests/ChannelTests.m
parent94d220d32c0db708a3afa36a17aae25d93c2636b (diff)
clang-format
Diffstat (limited to 'src/objective-c/tests/ChannelTests/ChannelTests.m')
-rw-r--r--src/objective-c/tests/ChannelTests/ChannelTests.m18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/objective-c/tests/ChannelTests/ChannelTests.m b/src/objective-c/tests/ChannelTests/ChannelTests.m
index 27e76d4179..5daafcdf3f 100644
--- a/src/objective-c/tests/ChannelTests/ChannelTests.m
+++ b/src/objective-c/tests/ChannelTests/ChannelTests.m
@@ -33,12 +33,13 @@
}
- (void)testTimedDisconnection {
- NSString * const kHost = @"grpc-test.sandbox.googleapis.com";
+ NSString *const kHost = @"grpc-test.sandbox.googleapis.com";
const NSTimeInterval kDestroyDelay = 1;
GRPCCallOptions *options = [[GRPCCallOptions alloc] init];
- GRPCChannelConfiguration *configuration = [[GRPCChannelConfiguration alloc] initWithHost:kHost callOptions:options];
- GRPCChannel *channel = [[GRPCChannel alloc] initWithChannelConfiguration:configuration
- destroyDelay:kDestroyDelay];
+ GRPCChannelConfiguration *configuration =
+ [[GRPCChannelConfiguration alloc] initWithHost:kHost callOptions:options];
+ GRPCChannel *channel =
+ [[GRPCChannel alloc] initWithChannelConfiguration:configuration destroyDelay:kDestroyDelay];
BOOL disconnected;
grpc_call *call = [channel unmanagedCallWithPath:@"dummy.path"
completionQueue:[GRPCCompletionQueue completionQueue]
@@ -61,12 +62,13 @@
}
- (void)testForceDisconnection {
- NSString * const kHost = @"grpc-test.sandbox.googleapis.com";
+ NSString *const kHost = @"grpc-test.sandbox.googleapis.com";
const NSTimeInterval kDestroyDelay = 1;
GRPCCallOptions *options = [[GRPCCallOptions alloc] init];
- GRPCChannelConfiguration *configuration = [[GRPCChannelConfiguration alloc] initWithHost:kHost callOptions:options];
- GRPCChannel *channel = [[GRPCChannel alloc] initWithChannelConfiguration:configuration
- destroyDelay:kDestroyDelay];
+ GRPCChannelConfiguration *configuration =
+ [[GRPCChannelConfiguration alloc] initWithHost:kHost callOptions:options];
+ GRPCChannel *channel =
+ [[GRPCChannel alloc] initWithChannelConfiguration:configuration destroyDelay:kDestroyDelay];
grpc_call *call = [channel unmanagedCallWithPath:@"dummy.path"
completionQueue:[GRPCCompletionQueue completionQueue]
callOptions:options