# Copyright 2017 gRPC authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. load("//bazel:grpc_build_system.bzl", "grpc_cc_test", "grpc_package") licenses(["notice"]) grpc_package(name = "test/core/transport") grpc_cc_test( name = "bdp_estimator_test", srcs = ["bdp_estimator_test.cc"], external_deps = [ "gtest", ], language = "C++", tags = ["no_windows"], # TODO(jtattermusch): investigate the timeout on windows uses_event_engine = False, uses_polling = False, deps = [ "//:gpr", "//:grpc", "//test/core/test_util:grpc_test_util", ], ) grpc_cc_test( name = "interception_chain_test", srcs = ["interception_chain_test.cc"], external_deps = [ "gtest", ], language = "C++", uses_event_engine = False, uses_polling = False, deps = [ "//:grpc_base", "//src/core:interception_chain", "//src/core:resource_quota", "//test/core/promise:poll_matcher", ], ) grpc_cc_test( name = "call_filters_test", srcs = ["call_filters_test.cc"], external_deps = [ "gtest", ], language = "C++", uses_event_engine = False, uses_polling = False, deps = [ "//src/core:call_filters", "//test/core/promise:poll_matcher", ], ) grpc_cc_test( name = "connectivity_state_test", srcs = ["connectivity_state_test.cc"], external_deps = [ "gtest", ], language = "C++", deps = [ "//:gpr", "//:grpc", "//test/core/test_util:grpc_test_util", "//test/core/test_util:grpc_test_util_base", ], ) grpc_cc_test( name = "error_utils_test", srcs = ["error_utils_test.cc"], external_deps = [ "gtest", ], language = "C++", deps = [ "//:gpr", "//:grpc", "//test/core/test_util:grpc_test_util", "//test/core/test_util:grpc_test_util_base", ], ) grpc_cc_test( name = "metadata_map_test", srcs = ["metadata_map_test.cc"], external_deps = [ "gtest", ], language = "C++", deps = [ "//:gpr", "//:grpc", "//test/core/test_util:grpc_test_util", "//test/core/test_util:grpc_test_util_base", ], ) grpc_cc_test( name = "parsed_metadata_test", srcs = ["parsed_metadata_test.cc"], external_deps = [ "absl/log:check", "gtest", ], language = "C++", deps = [ "//:gpr", "//:grpc", "//test/core/test_util:grpc_test_util", ], ) grpc_cc_test( name = "promise_endpoint_test", srcs = ["promise_endpoint_test.cc"], external_deps = [ "gtest", ], language = "C++", deps = [ "//:grpc", "//src/core:activity", "//src/core:grpc_promise_endpoint", "//src/core:join", "//src/core:seq", "//test/core/promise:test_wakeup_schedulers", ], ) grpc_cc_test( name = "status_conversion_test", srcs = ["status_conversion_test.cc"], external_deps = ["gtest"], language = "C++", uses_event_engine = False, uses_polling = False, deps = [ "//:gpr", "//:grpc", "//test/core/test_util:grpc_test_util", "//test/core/test_util:grpc_test_util_base", ], ) grpc_cc_test( name = "timeout_encoding_test", srcs = ["timeout_encoding_test.cc"], external_deps = [ "gtest", ], language = "C++", uses_event_engine = False, uses_polling = False, deps = [ "//:gpr", "//:grpc", "//test/core/test_util:grpc_test_util", "//test/core/test_util:grpc_test_util_base", ], )