The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#) https://grpc.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

262 lines
6.0 KiB

# 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_library", "grpc_cc_test", "grpc_package")
load("//test/core/call/yodel:grpc_yodel_test.bzl", "grpc_yodel_simple_test")
load("//test/cpp/microbenchmarks:grpc_benchmark_config.bzl", "grpc_cc_benchmark")
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 = "call_arena_allocator_test",
srcs = ["call_arena_allocator_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 = [
"absl/log:log",
"gtest",
],
language = "C++",
uses_event_engine = False,
uses_polling = False,
deps = [
"//:grpc",
"//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 = "call_state_test",
srcs = ["call_state_test.cc"],
external_deps = [
"gtest",
],
language = "C++",
uses_event_engine = False,
uses_polling = False,
deps = [
"//src/core:call_state",
"//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",
],
)
grpc_yodel_simple_test(
name = "call_spine",
srcs = ["call_spine_test.cc"],
external_deps = [
"gtest",
],
language = "C++",
deps = [
"//src/core:call_spine",
"//test/core/call/yodel:yodel_test",
],
)
grpc_cc_library(
name = "call_spine_benchmarks",
testonly = 1,
hdrs = ["call_spine_benchmarks.h"],
external_deps = ["benchmark"],
visibility = ["//test/core:__subpackages__"],
deps = [
"//:exec_ctx",
"//src/core:all_ok",
"//src/core:call_spine",
"//src/core:default_event_engine",
"//src/core:map",
"//src/core:notification",
"//src/core:resource_quota",
],
)
grpc_cc_benchmark(
name = "bm_call_spine",
srcs = ["bm_call_spine.cc"],
deps = [
":call_spine_benchmarks",
"//:grpc",
"//src/core:default_event_engine",
],
)
grpc_cc_benchmark(
name = "bm_metadata",
srcs = ["bm_metadata.cc"],
deps = [
":call_spine_benchmarks",
"//:grpc",
"//src/core:default_event_engine",
],
)