aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2017-04-09 15:34:28 -0700
committerGravatar Muxi Yan <mxyan@google.com>2017-04-09 15:34:28 -0700
commitda2f0cf89242d83a3f3c3207d3554888bfebc5d7 (patch)
tree84738b46766f411ac3a954069154cd087d00a830 /src/objective-c
parent47b49ce9c403ae29ee8c1ef50c612bea3706b356 (diff)
Restore Cronet test accidentally removed
Diffstat (limited to 'src/objective-c')
-rw-r--r--src/objective-c/tests/InteropTests.m9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/objective-c/tests/InteropTests.m b/src/objective-c/tests/InteropTests.m
index 9105356869..69968dcb60 100644
--- a/src/objective-c/tests/InteropTests.m
+++ b/src/objective-c/tests/InteropTests.m
@@ -100,6 +100,15 @@
return 0;
}
++ (void)setUp {
+#ifdef GRPC_COMPILE_WITH_CRONET
+ // Cronet setup
+ [Cronet setHttp2Enabled:YES];
+ [Cronet start];
+ [GRPCCall useCronetWithEngine:[Cronet getGlobalEngine]];
+#endif
+}
+
- (void)setUp {
self.continueAfterFailure = NO;