diff options
author | jiangtaoli2016 <jiangtao@google.com> | 2017-04-15 10:20:51 -0700 |
---|---|---|
committer | jiangtaoli2016 <jiangtao@google.com> | 2017-04-15 10:20:51 -0700 |
commit | e223a6a042b3123a2aee25ec0d3fe42ffd0c43e2 (patch) | |
tree | 041120a077b83bae9f461f8e62dac5b531babaa1 /src/objective-c/tests/InteropTests.m | |
parent | c953b62d396d6168507520d837550f6b12d7e729 (diff) | |
parent | 644e05e79ba04fb0f424cbb8dffce6c3cd3913ec (diff) |
Merge branch 'master' into new_tsi
Diffstat (limited to 'src/objective-c/tests/InteropTests.m')
-rw-r--r-- | src/objective-c/tests/InteropTests.m | 9 |
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; |