|
|
|
@ -193,6 +193,35 @@ grpc_objc_testing_library( |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
grpc_objc_testing_library( |
|
|
|
|
name = "PerfTests-lib-Posix", |
|
|
|
|
srcs = [ |
|
|
|
|
"ConfigureCronet.m", |
|
|
|
|
"PerfTests/PerfTests.m", |
|
|
|
|
"PerfTests/PerfTestsBlockCallbacks.m", |
|
|
|
|
"PerfTests/PerfTestsNoCFStreamSSL.m", |
|
|
|
|
], |
|
|
|
|
hdrs = ["ConfigureCronet.h"] + glob(["PerfTests/*.h"]), |
|
|
|
|
deps = [ |
|
|
|
|
"//src/objective-c:grpc_objc_client_core_cronet_testing", |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
grpc_objc_testing_library( |
|
|
|
|
name = "PerfTests-lib", |
|
|
|
|
srcs = [ |
|
|
|
|
"ConfigureCronet.m", |
|
|
|
|
"PerfTests/PerfTests.m", |
|
|
|
|
"PerfTests/PerfTestsBlockCallbacks.m", |
|
|
|
|
"PerfTests/PerfTestsCFStreamSSL.m", |
|
|
|
|
"PerfTests/PerfTestsCronet.m", |
|
|
|
|
], |
|
|
|
|
hdrs = ["ConfigureCronet.h"] + glob(["PerfTests/*.h"]), |
|
|
|
|
deps = [ |
|
|
|
|
"//src/objective-c:grpc_objc_client_core_cronet_testing", |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
grpc_objc_testing_library( |
|
|
|
|
name = "UnitTests", |
|
|
|
|
deps = [ |
|
|
|
@ -234,6 +263,23 @@ grpc_objc_ios_unit_test( |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
grpc_objc_ios_unit_test( |
|
|
|
|
name = "PerfTestsPosix", |
|
|
|
|
deps = [ |
|
|
|
|
"PerfTests-lib-Posix", |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
grpc_objc_ios_unit_test( |
|
|
|
|
name = "PerfTests", |
|
|
|
|
env = { |
|
|
|
|
"GRPC_CFSTREAM_RUN_LOOP": "1", |
|
|
|
|
}, |
|
|
|
|
deps = [ |
|
|
|
|
"PerfTests-lib", |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
macos_unit_test( |
|
|
|
|
name = "MacTests", |
|
|
|
|
minimum_os_version = "10.10", |
|
|
|
|