aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c
diff options
context:
space:
mode:
authorGravatar Nate Kibler <nkibler@google.com>2015-09-25 11:56:05 -0700
committerGravatar Nate Kibler <nkibler@google.com>2015-09-25 11:56:05 -0700
commit2d32771a1b82400877d1aefe01c82705a3e10a7b (patch)
tree1a155ad8ce9a3bc9cd8a61dfd7bf811ad3b42997 /src/objective-c
parent8d282a2f45b38899c7574d1304576283e95cc955 (diff)
Removed comment from code generation and updated tests
Diffstat (limited to 'src/objective-c')
-rw-r--r--src/objective-c/tests/InteropTests.m12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/objective-c/tests/InteropTests.m b/src/objective-c/tests/InteropTests.m
index 1b63fe2059..af58e2bd04 100644
--- a/src/objective-c/tests/InteropTests.m
+++ b/src/objective-c/tests/InteropTests.m
@@ -89,7 +89,7 @@ static NSString * const kRemoteSSLHost = @"grpc-test.sandbox.google.com";
}
- (void)setUp {
- _service = [[RMTTestService alloc] initWithHost:self.class.host];
+ _service = [RMTTestService serviceWithHost:self.class.host];
}
- (void)testEmptyUnaryRPC {
@@ -274,17 +274,17 @@ static NSString * const kRemoteSSLHost = @"grpc-test.sandbox.google.com";
- (void)testCancelAfterFirstResponseRPC {
__weak XCTestExpectation *expectation = [self expectationWithDescription:@"CancelAfterFirstResponse"];
-
+
// A buffered pipe to which we write a single value but never close
GRXBufferedPipe *requestsBuffer = [[GRXBufferedPipe alloc] init];
-
+
__block BOOL receivedResponse = NO;
-
+
id request = [RMTStreamingOutputCallRequest messageWithPayloadSize:@21782
requestedResponseSize:@31415];
-
+
[requestsBuffer writeValue:request];
-
+
__block ProtoRPC *call =
[_service RPCToFullDuplexCallWithRequestsWriter:requestsBuffer
eventHandler:^(BOOL done,