aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/tests/GRPCClientTests.m
diff options
context:
space:
mode:
authorGravatar Jorge Canizales <jcanizales@google.com>2016-08-01 12:51:31 -0700
committerGravatar Jorge Canizales <jcanizales@google.com>2016-08-01 12:51:31 -0700
commit9e83d7ef0f6bfb392d7b564e7edac8931cb3ad12 (patch)
treeab1216aee995fe987576ac07aa7ed037bff3e42c /src/objective-c/tests/GRPCClientTests.m
parent32fde7af294808f43dc92749b1c008eaba5f65b9 (diff)
Fix local server tests & exceptions tests
Diffstat (limited to 'src/objective-c/tests/GRPCClientTests.m')
-rw-r--r--src/objective-c/tests/GRPCClientTests.m9
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