diff options
author | 2016-08-01 12:51:31 -0700 | |
---|---|---|
committer | 2016-08-01 12:51:31 -0700 | |
commit | 9e83d7ef0f6bfb392d7b564e7edac8931cb3ad12 (patch) | |
tree | ab1216aee995fe987576ac07aa7ed037bff3e42c /src/objective-c/tests/GRPCClientTests.m | |
parent | 32fde7af294808f43dc92749b1c008eaba5f65b9 (diff) |
Fix local server tests & exceptions tests
Diffstat (limited to 'src/objective-c/tests/GRPCClientTests.m')
-rw-r--r-- | src/objective-c/tests/GRPCClientTests.m | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/objective-c/tests/GRPCClientTests.m b/src/objective-c/tests/GRPCClientTests.m index 1167a715bb..916a335802 100644 --- a/src/objective-c/tests/GRPCClientTests.m +++ b/src/objective-c/tests/GRPCClientTests.m @@ -292,15 +292,6 @@ static GRPCProtoMethod *kUnaryCallMethod; // TODO(makarandd): Move to a different file that contains only unit tests - (void)testExceptions { - // Try to set userAgentPrefix for host that is nil. This should cause - // an exception. - @try { - [GRPCCall setUserAgentPrefix:@"Foo" forHost:nil]; - XCTFail(@"Did not receive an exception when host is nil"); - } @catch(NSException *theException) { - NSLog(@"Received exception as expected: %@", theException.name); - } - // Try to set parameters to nil for GRPCCall. This should cause an exception @try { (void)[[GRPCCall alloc] initWithHost:nil |