|
|
|
@ -776,7 +776,6 @@ protobuf_generate_grpc_cpp_with_import_path_correction( |
|
|
|
|
|
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
add_custom_target(buildtests_c) |
|
|
|
|
add_dependencies(buildtests_c b64_test) |
|
|
|
|
add_dependencies(buildtests_c bad_server_response_test) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_c bad_ssl_alpn_test) |
|
|
|
@ -785,7 +784,6 @@ if(gRPC_BUILD_TESTS) |
|
|
|
|
add_dependencies(buildtests_c bad_ssl_cert_test) |
|
|
|
|
endif() |
|
|
|
|
add_dependencies(buildtests_c buffer_list_test) |
|
|
|
|
add_dependencies(buildtests_c c_slice_buffer_test) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_c combiner_test) |
|
|
|
|
endif() |
|
|
|
@ -814,7 +812,6 @@ if(gRPC_BUILD_TESTS) |
|
|
|
|
add_dependencies(buildtests_c minimal_stack_is_minimal_test) |
|
|
|
|
add_dependencies(buildtests_c multiple_server_queues_test) |
|
|
|
|
add_dependencies(buildtests_c no_server_test) |
|
|
|
|
add_dependencies(buildtests_c percent_encoding_test) |
|
|
|
|
add_dependencies(buildtests_c public_headers_must_be_c89) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_c resolve_address_using_ares_resolver_posix_test) |
|
|
|
@ -822,7 +819,6 @@ if(gRPC_BUILD_TESTS) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_c resolve_address_using_native_resolver_posix_test) |
|
|
|
|
endif() |
|
|
|
|
add_dependencies(buildtests_c slice_string_helpers_test) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
add_dependencies(buildtests_c socket_utils_test) |
|
|
|
|
endif() |
|
|
|
@ -877,6 +873,7 @@ if(gRPC_BUILD_TESTS) |
|
|
|
|
add_dependencies(buildtests_cxx authorization_policy_provider_test) |
|
|
|
|
add_dependencies(buildtests_cxx avl_test) |
|
|
|
|
add_dependencies(buildtests_cxx aws_request_signer_test) |
|
|
|
|
add_dependencies(buildtests_cxx b64_test) |
|
|
|
|
add_dependencies(buildtests_cxx backoff_test) |
|
|
|
|
add_dependencies(buildtests_cxx bad_streaming_id_bad_client_test) |
|
|
|
|
add_dependencies(buildtests_cxx badreq_bad_client_test) |
|
|
|
@ -890,6 +887,7 @@ if(gRPC_BUILD_TESTS) |
|
|
|
|
add_dependencies(buildtests_cxx binder_transport_test) |
|
|
|
|
add_dependencies(buildtests_cxx bitset_test) |
|
|
|
|
add_dependencies(buildtests_cxx byte_buffer_test) |
|
|
|
|
add_dependencies(buildtests_cxx c_slice_buffer_test) |
|
|
|
|
add_dependencies(buildtests_cxx call_finalization_test) |
|
|
|
|
add_dependencies(buildtests_cxx call_push_pull_test) |
|
|
|
|
add_dependencies(buildtests_cxx cancel_ares_query_test) |
|
|
|
@ -1077,6 +1075,7 @@ if(gRPC_BUILD_TESTS) |
|
|
|
|
endif() |
|
|
|
|
add_dependencies(buildtests_cxx parsed_metadata_test) |
|
|
|
|
add_dependencies(buildtests_cxx parser_test) |
|
|
|
|
add_dependencies(buildtests_cxx percent_encoding_test) |
|
|
|
|
add_dependencies(buildtests_cxx periodic_update_test) |
|
|
|
|
add_dependencies(buildtests_cxx pid_controller_test) |
|
|
|
|
add_dependencies(buildtests_cxx pipe_test) |
|
|
|
@ -1137,6 +1136,7 @@ if(gRPC_BUILD_TESTS) |
|
|
|
|
add_dependencies(buildtests_cxx simple_request_bad_client_test) |
|
|
|
|
add_dependencies(buildtests_cxx single_set_ptr_test) |
|
|
|
|
add_dependencies(buildtests_cxx sleep_test) |
|
|
|
|
add_dependencies(buildtests_cxx slice_string_helpers_test) |
|
|
|
|
add_dependencies(buildtests_cxx smoke_test) |
|
|
|
|
add_dependencies(buildtests_cxx sockaddr_resolver_test) |
|
|
|
|
add_dependencies(buildtests_cxx sockaddr_utils_test) |
|
|
|
@ -4283,33 +4283,6 @@ target_link_libraries(gen_hpack_tables |
|
|
|
|
|
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(b64_test |
|
|
|
|
test/core/slice/b64_test.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(b64_test |
|
|
|
|
PRIVATE |
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR} |
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include |
|
|
|
|
${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
|
|
|
|
${_gRPC_RE2_INCLUDE_DIR} |
|
|
|
|
${_gRPC_SSL_INCLUDE_DIR} |
|
|
|
|
${_gRPC_UPB_GENERATED_DIR} |
|
|
|
|
${_gRPC_UPB_GRPC_GENERATED_DIR} |
|
|
|
|
${_gRPC_UPB_INCLUDE_DIR} |
|
|
|
|
${_gRPC_XXHASH_INCLUDE_DIR} |
|
|
|
|
${_gRPC_ZLIB_INCLUDE_DIR} |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_link_libraries(b64_test |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
grpc_test_util |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(bad_server_response_test |
|
|
|
|
test/core/end2end/bad_server_response_test.cc |
|
|
|
|
test/core/end2end/cq_verifier.cc |
|
|
|
@ -4422,33 +4395,6 @@ target_link_libraries(buffer_list_test |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(c_slice_buffer_test |
|
|
|
|
test/core/slice/c_slice_buffer_test.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(c_slice_buffer_test |
|
|
|
|
PRIVATE |
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR} |
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include |
|
|
|
|
${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
|
|
|
|
${_gRPC_RE2_INCLUDE_DIR} |
|
|
|
|
${_gRPC_SSL_INCLUDE_DIR} |
|
|
|
|
${_gRPC_UPB_GENERATED_DIR} |
|
|
|
|
${_gRPC_UPB_GRPC_GENERATED_DIR} |
|
|
|
|
${_gRPC_UPB_INCLUDE_DIR} |
|
|
|
|
${_gRPC_XXHASH_INCLUDE_DIR} |
|
|
|
|
${_gRPC_ZLIB_INCLUDE_DIR} |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_link_libraries(c_slice_buffer_test |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
grpc_test_util |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
@ -4908,33 +4854,6 @@ target_link_libraries(no_server_test |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(percent_encoding_test |
|
|
|
|
test/core/slice/percent_encoding_test.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(percent_encoding_test |
|
|
|
|
PRIVATE |
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR} |
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include |
|
|
|
|
${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
|
|
|
|
${_gRPC_RE2_INCLUDE_DIR} |
|
|
|
|
${_gRPC_SSL_INCLUDE_DIR} |
|
|
|
|
${_gRPC_UPB_GENERATED_DIR} |
|
|
|
|
${_gRPC_UPB_GRPC_GENERATED_DIR} |
|
|
|
|
${_gRPC_UPB_INCLUDE_DIR} |
|
|
|
|
${_gRPC_XXHASH_INCLUDE_DIR} |
|
|
|
|
${_gRPC_ZLIB_INCLUDE_DIR} |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_link_libraries(percent_encoding_test |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
grpc_test_util |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
@ -5022,36 +4941,6 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(slice_string_helpers_test |
|
|
|
|
src/core/lib/slice/slice.cc |
|
|
|
|
src/core/lib/slice/slice_refcount.cc |
|
|
|
|
src/core/lib/slice/slice_string_helpers.cc |
|
|
|
|
test/core/slice/slice_string_helpers_test.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(slice_string_helpers_test |
|
|
|
|
PRIVATE |
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR} |
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include |
|
|
|
|
${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
|
|
|
|
${_gRPC_RE2_INCLUDE_DIR} |
|
|
|
|
${_gRPC_SSL_INCLUDE_DIR} |
|
|
|
|
${_gRPC_UPB_GENERATED_DIR} |
|
|
|
|
${_gRPC_UPB_GRPC_GENERATED_DIR} |
|
|
|
|
${_gRPC_UPB_INCLUDE_DIR} |
|
|
|
|
${_gRPC_XXHASH_INCLUDE_DIR} |
|
|
|
|
${_gRPC_ZLIB_INCLUDE_DIR} |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_link_libraries(slice_string_helpers_test |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
gpr |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX) |
|
|
|
@ -6438,6 +6327,41 @@ target_link_libraries(aws_request_signer_test |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(b64_test |
|
|
|
|
test/core/slice/b64_test.cc |
|
|
|
|
third_party/googletest/googletest/src/gtest-all.cc |
|
|
|
|
third_party/googletest/googlemock/src/gmock-all.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(b64_test |
|
|
|
|
PRIVATE |
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR} |
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include |
|
|
|
|
${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
|
|
|
|
${_gRPC_RE2_INCLUDE_DIR} |
|
|
|
|
${_gRPC_SSL_INCLUDE_DIR} |
|
|
|
|
${_gRPC_UPB_GENERATED_DIR} |
|
|
|
|
${_gRPC_UPB_GRPC_GENERATED_DIR} |
|
|
|
|
${_gRPC_UPB_INCLUDE_DIR} |
|
|
|
|
${_gRPC_XXHASH_INCLUDE_DIR} |
|
|
|
|
${_gRPC_ZLIB_INCLUDE_DIR} |
|
|
|
|
third_party/googletest/googletest/include |
|
|
|
|
third_party/googletest/googletest |
|
|
|
|
third_party/googletest/googlemock/include |
|
|
|
|
third_party/googletest/googlemock |
|
|
|
|
${_gRPC_PROTO_GENS_DIR} |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_link_libraries(b64_test |
|
|
|
|
${_gRPC_PROTOBUF_LIBRARIES} |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
grpc_test_util |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
@ -6904,6 +6828,41 @@ target_link_libraries(byte_buffer_test |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(c_slice_buffer_test |
|
|
|
|
test/core/slice/c_slice_buffer_test.cc |
|
|
|
|
third_party/googletest/googletest/src/gtest-all.cc |
|
|
|
|
third_party/googletest/googlemock/src/gmock-all.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(c_slice_buffer_test |
|
|
|
|
PRIVATE |
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR} |
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include |
|
|
|
|
${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
|
|
|
|
${_gRPC_RE2_INCLUDE_DIR} |
|
|
|
|
${_gRPC_SSL_INCLUDE_DIR} |
|
|
|
|
${_gRPC_UPB_GENERATED_DIR} |
|
|
|
|
${_gRPC_UPB_GRPC_GENERATED_DIR} |
|
|
|
|
${_gRPC_UPB_INCLUDE_DIR} |
|
|
|
|
${_gRPC_XXHASH_INCLUDE_DIR} |
|
|
|
|
${_gRPC_ZLIB_INCLUDE_DIR} |
|
|
|
|
third_party/googletest/googletest/include |
|
|
|
|
third_party/googletest/googletest |
|
|
|
|
third_party/googletest/googlemock/include |
|
|
|
|
third_party/googletest/googlemock |
|
|
|
|
${_gRPC_PROTO_GENS_DIR} |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_link_libraries(c_slice_buffer_test |
|
|
|
|
${_gRPC_PROTOBUF_LIBRARIES} |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
grpc_test_util |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
@ -13624,6 +13583,41 @@ target_link_libraries(parser_test |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(percent_encoding_test |
|
|
|
|
test/core/slice/percent_encoding_test.cc |
|
|
|
|
third_party/googletest/googletest/src/gtest-all.cc |
|
|
|
|
third_party/googletest/googlemock/src/gmock-all.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(percent_encoding_test |
|
|
|
|
PRIVATE |
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR} |
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include |
|
|
|
|
${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
|
|
|
|
${_gRPC_RE2_INCLUDE_DIR} |
|
|
|
|
${_gRPC_SSL_INCLUDE_DIR} |
|
|
|
|
${_gRPC_UPB_GENERATED_DIR} |
|
|
|
|
${_gRPC_UPB_GRPC_GENERATED_DIR} |
|
|
|
|
${_gRPC_UPB_INCLUDE_DIR} |
|
|
|
|
${_gRPC_XXHASH_INCLUDE_DIR} |
|
|
|
|
${_gRPC_ZLIB_INCLUDE_DIR} |
|
|
|
|
third_party/googletest/googletest/include |
|
|
|
|
third_party/googletest/googletest |
|
|
|
|
third_party/googletest/googlemock/include |
|
|
|
|
third_party/googletest/googlemock |
|
|
|
|
${_gRPC_PROTO_GENS_DIR} |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_link_libraries(percent_encoding_test |
|
|
|
|
${_gRPC_PROTOBUF_LIBRARIES} |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
grpc_test_util |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
@ -15856,6 +15850,44 @@ target_link_libraries(sleep_test |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|
add_executable(slice_string_helpers_test |
|
|
|
|
src/core/lib/slice/slice.cc |
|
|
|
|
src/core/lib/slice/slice_refcount.cc |
|
|
|
|
src/core/lib/slice/slice_string_helpers.cc |
|
|
|
|
test/core/slice/slice_string_helpers_test.cc |
|
|
|
|
third_party/googletest/googletest/src/gtest-all.cc |
|
|
|
|
third_party/googletest/googlemock/src/gmock-all.cc |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_include_directories(slice_string_helpers_test |
|
|
|
|
PRIVATE |
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR} |
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include |
|
|
|
|
${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} |
|
|
|
|
${_gRPC_RE2_INCLUDE_DIR} |
|
|
|
|
${_gRPC_SSL_INCLUDE_DIR} |
|
|
|
|
${_gRPC_UPB_GENERATED_DIR} |
|
|
|
|
${_gRPC_UPB_GRPC_GENERATED_DIR} |
|
|
|
|
${_gRPC_UPB_INCLUDE_DIR} |
|
|
|
|
${_gRPC_XXHASH_INCLUDE_DIR} |
|
|
|
|
${_gRPC_ZLIB_INCLUDE_DIR} |
|
|
|
|
third_party/googletest/googletest/include |
|
|
|
|
third_party/googletest/googletest |
|
|
|
|
third_party/googletest/googlemock/include |
|
|
|
|
third_party/googletest/googlemock |
|
|
|
|
${_gRPC_PROTO_GENS_DIR} |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
target_link_libraries(slice_string_helpers_test |
|
|
|
|
${_gRPC_PROTOBUF_LIBRARIES} |
|
|
|
|
${_gRPC_ALLTARGETS_LIBRARIES} |
|
|
|
|
gpr |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif() |
|
|
|
|
if(gRPC_BUILD_TESTS) |
|
|
|
|
|
|
|
|
|