aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-12-20 16:16:39 -0800
committerGravatar Yash Tibrewal <yashkt@google.com>2018-12-20 16:16:39 -0800
commit0c7eb8daf8414a8efcb742d9af59d8e38c1b1b22 (patch)
tree0517062d2fab7a01be0a53f1999403e87e80d8a4 /test/core
parentb09ed93d02197235471e6e65df2df2cbeb506f50 (diff)
parent102d5d88a626e29f1dccc4ffdb977d1bcd7a5937 (diff)
Merge branch 'master' into fathom
Diffstat (limited to 'test/core')
-rw-r--r--test/core/avl/BUILD2
-rw-r--r--test/core/backoff/BUILD1
-rwxr-xr-xtest/core/bad_client/gen_build_yaml.py2
-rwxr-xr-xtest/core/bad_ssl/gen_build_yaml.py3
-rw-r--r--test/core/channel/BUILD33
-rw-r--r--test/core/client_channel/BUILD1
-rw-r--r--test/core/client_channel/resolvers/BUILD5
-rw-r--r--test/core/compression/BUILD4
-rw-r--r--test/core/debug/BUILD1
-rw-r--r--test/core/end2end/BUILD9
-rwxr-xr-xtest/core/end2end/gen_build_yaml.py2
-rwxr-xr-xtest/core/end2end/generate_tests.bzl2
-rw-r--r--test/core/fling/BUILD4
-rw-r--r--test/core/gpr/BUILD28
-rw-r--r--test/core/gprpp/BUILD16
-rw-r--r--test/core/handshake/BUILD16
-rw-r--r--test/core/http/BUILD16
-rw-r--r--test/core/iomgr/BUILD24
-rw-r--r--test/core/json/BUILD8
-rw-r--r--test/core/memory_usage/BUILD11
-rw-r--r--test/core/network_benchmarks/BUILD9
-rw-r--r--test/core/security/BUILD27
-rw-r--r--test/core/security/credentials_test.cc22
-rw-r--r--test/core/slice/BUILD7
-rw-r--r--test/core/surface/BUILD13
-rw-r--r--test/core/transport/BUILD34
-rw-r--r--test/core/transport/chttp2/BUILD17
-rw-r--r--test/core/tsi/BUILD22
-rw-r--r--test/core/tsi/alts/crypt/BUILD10
-rw-r--r--test/core/tsi/alts/fake_handshaker/BUILD7
-rw-r--r--test/core/tsi/alts/frame_protector/BUILD12
-rw-r--r--test/core/tsi/alts/handshaker/BUILD23
-rw-r--r--test/core/tsi/alts/zero_copy_frame_protector/BUILD8
-rw-r--r--test/core/util/BUILD34
34 files changed, 151 insertions, 282 deletions
diff --git a/test/core/avl/BUILD b/test/core/avl/BUILD
index 48f5baeb1a..c31abebcbe 100644
--- a/test/core/avl/BUILD
+++ b/test/core/avl/BUILD
@@ -25,6 +25,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/backoff/BUILD b/test/core/backoff/BUILD
index 6fbd6542d4..e4fc287105 100644
--- a/test/core/backoff/BUILD
+++ b/test/core/backoff/BUILD
@@ -33,7 +33,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/bad_client/gen_build_yaml.py b/test/core/bad_client/gen_build_yaml.py
index 32afba5b1f..6a40b4e5e9 100755
--- a/test/core/bad_client/gen_build_yaml.py
+++ b/test/core/bad_client/gen_build_yaml.py
@@ -56,7 +56,6 @@ def main():
'deps': [
'grpc_test_util_unsecure',
'grpc_unsecure',
- 'gpr_test_util',
'gpr'
]
}],
@@ -74,7 +73,6 @@ def main():
'bad_client_test',
'grpc_test_util_unsecure',
'grpc_unsecure',
- 'gpr_test_util',
'gpr'
]
}
diff --git a/test/core/bad_ssl/gen_build_yaml.py b/test/core/bad_ssl/gen_build_yaml.py
index 6b78e9c7aa..52f49bea2a 100755
--- a/test/core/bad_ssl/gen_build_yaml.py
+++ b/test/core/bad_ssl/gen_build_yaml.py
@@ -45,7 +45,6 @@ def main():
'deps': [
'grpc_test_util',
'grpc',
- 'gpr_test_util',
'gpr'
]
}
@@ -63,7 +62,6 @@ def main():
'bad_ssl_test_server',
'grpc_test_util',
'grpc',
- 'gpr_test_util',
'gpr'
]
}
@@ -79,7 +77,6 @@ def main():
'deps': [
'grpc_test_util',
'grpc',
- 'gpr_test_util',
'gpr'
]
}
diff --git a/test/core/channel/BUILD b/test/core/channel/BUILD
index da419f00cf..3249a16edd 100644
--- a/test/core/channel/BUILD
+++ b/test/core/channel/BUILD
@@ -25,7 +25,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -37,7 +36,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -49,7 +47,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -61,7 +58,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -69,62 +65,59 @@ grpc_cc_test(
grpc_cc_test(
name = "channel_trace_test",
srcs = ["channel_trace_test.cc"],
+ external_deps = [
+ "gtest",
+ ],
language = "C++",
deps = [
"//:gpr",
"//:grpc",
"//:grpc++",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
"//test/cpp/util:channel_trace_proto_helper",
],
- external_deps = [
- "gtest",
- ],
)
grpc_cc_test(
name = "channelz_test",
srcs = ["channelz_test.cc"],
+ external_deps = [
+ "gtest",
+ ],
language = "C++",
deps = [
"//:gpr",
"//:grpc",
"//:grpc++",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
"//test/cpp/util:channel_trace_proto_helper",
],
- external_deps = [
- "gtest",
- ],
)
grpc_cc_test(
name = "channelz_registry_test",
srcs = ["channelz_registry_test.cc"],
+ external_deps = [
+ "gtest",
+ ],
language = "C++",
deps = [
"//:gpr",
"//:grpc",
"//:grpc++",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
- external_deps = [
- "gtest",
- ],
)
grpc_cc_test(
name = "status_util_test",
srcs = ["status_util_test.cc"],
+ external_deps = [
+ "gtest",
+ ],
language = "C++",
deps = [
"//:grpc",
- "//test/core/util:gpr_test_util",
- ],
- external_deps = [
- "gtest",
+ "//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/client_channel/BUILD b/test/core/client_channel/BUILD
index db98ffab77..04485f5240 100644
--- a/test/core/client_channel/BUILD
+++ b/test/core/client_channel/BUILD
@@ -64,7 +64,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/client_channel/resolvers/BUILD b/test/core/client_channel/resolvers/BUILD
index d8b0395846..3dbee5c9e6 100644
--- a/test/core/client_channel/resolvers/BUILD
+++ b/test/core/client_channel/resolvers/BUILD
@@ -25,7 +25,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -37,7 +36,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -49,7 +47,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -61,7 +58,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -74,7 +70,6 @@ grpc_cc_test(
"//:gpr",
"//:grpc",
"//:grpc_resolver_fake",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/compression/BUILD b/test/core/compression/BUILD
index 532972c784..03c82689a8 100644
--- a/test/core/compression/BUILD
+++ b/test/core/compression/BUILD
@@ -25,7 +25,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -37,7 +36,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -49,7 +47,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -61,7 +58,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/debug/BUILD b/test/core/debug/BUILD
index 1592472532..c420929670 100644
--- a/test/core/debug/BUILD
+++ b/test/core/debug/BUILD
@@ -28,7 +28,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/end2end/BUILD b/test/core/end2end/BUILD
index 9d7f96683e..16f987e847 100644
--- a/test/core/end2end/BUILD
+++ b/test/core/end2end/BUILD
@@ -91,7 +91,6 @@ grpc_cc_test(
":cq_verifier",
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -104,7 +103,6 @@ grpc_cc_test(
":cq_verifier",
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -117,7 +115,6 @@ grpc_cc_test(
":cq_verifier",
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -130,7 +127,6 @@ grpc_cc_test(
":cq_verifier",
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -143,7 +139,6 @@ grpc_cc_test(
":end2end_tests",
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -156,7 +151,6 @@ grpc_cc_test(
":cq_verifier",
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -169,7 +163,6 @@ grpc_cc_test(
":cq_verifier",
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -182,7 +175,6 @@ grpc_cc_test(
":cq_verifier",
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -203,7 +195,6 @@ grpc_cc_test(
"//:gpr",
"//:grpc",
"//:tsi",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/end2end/gen_build_yaml.py b/test/core/end2end/gen_build_yaml.py
index c9518d9b81..28a7a4e25d 100755
--- a/test/core/end2end/gen_build_yaml.py
+++ b/test/core/end2end/gen_build_yaml.py
@@ -283,13 +283,11 @@ def main():
sec_deps = [
'grpc_test_util',
'grpc',
- 'gpr_test_util',
'gpr'
]
unsec_deps = [
'grpc_test_util_unsecure',
'grpc_unsecure',
- 'gpr_test_util',
'gpr'
]
json = {
diff --git a/test/core/end2end/generate_tests.bzl b/test/core/end2end/generate_tests.bzl
index 8f194b2825..853619fcda 100755
--- a/test/core/end2end/generate_tests.bzl
+++ b/test/core/end2end/generate_tests.bzl
@@ -391,7 +391,6 @@ def grpc_end2end_tests():
":end2end_tests",
"//test/core/util:grpc_test_util",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//:gpr",
],
)
@@ -444,7 +443,6 @@ def grpc_end2end_nosec_tests():
":end2end_nosec_tests",
"//test/core/util:grpc_test_util_unsecure",
"//:grpc_unsecure",
- "//test/core/util:gpr_test_util",
"//:gpr",
],
)
diff --git a/test/core/fling/BUILD b/test/core/fling/BUILD
index 268e94aacc..5c6930cc85 100644
--- a/test/core/fling/BUILD
+++ b/test/core/fling/BUILD
@@ -29,7 +29,6 @@ grpc_cc_binary(
"//:gpr",
"//:grpc",
"//test/core/end2end:ssl_test_data",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -43,7 +42,6 @@ grpc_cc_binary(
"//:gpr",
"//:grpc",
"//test/core/end2end:ssl_test_data",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -59,7 +57,6 @@ grpc_cc_test(
"//:gpr",
"//:grpc",
"//test/core/end2end:ssl_test_data",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -75,7 +72,6 @@ grpc_cc_test(
"//:gpr",
"//:grpc",
"//test/core/end2end:ssl_test_data",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/gpr/BUILD b/test/core/gpr/BUILD
index 67657ee1ce..434d55e045 100644
--- a/test/core/gpr/BUILD
+++ b/test/core/gpr/BUILD
@@ -24,7 +24,7 @@ grpc_cc_test(
language = "C++",
deps = [
"//:gpr",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -34,7 +34,7 @@ grpc_cc_test(
language = "C++",
deps = [
"//:gpr",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -44,7 +44,7 @@ grpc_cc_test(
language = "C++",
deps = [
"//:gpr",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -54,7 +54,7 @@ grpc_cc_test(
language = "C++",
deps = [
"//:gpr",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -64,7 +64,7 @@ grpc_cc_test(
language = "C++",
deps = [
"//:gpr",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -74,7 +74,7 @@ grpc_cc_test(
language = "C++",
deps = [
"//:gpr",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -85,7 +85,7 @@ grpc_cc_test(
language = "C++",
deps = [
"//:gpr",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -95,7 +95,7 @@ grpc_cc_test(
language = "C++",
deps = [
"//:gpr",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -105,7 +105,7 @@ grpc_cc_test(
language = "C++",
deps = [
"//:gpr",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -115,7 +115,7 @@ grpc_cc_test(
language = "C++",
deps = [
"//:gpr",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -125,7 +125,7 @@ grpc_cc_test(
language = "C++",
deps = [
"//:gpr",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -135,7 +135,7 @@ grpc_cc_test(
language = "C++",
deps = [
"//:gpr",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -145,7 +145,7 @@ grpc_cc_test(
language = "C++",
deps = [
"//:gpr",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -155,6 +155,6 @@ grpc_cc_test(
language = "C++",
deps = [
"//:gpr",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/gprpp/BUILD b/test/core/gprpp/BUILD
index e7232d9df8..fe3fea1df8 100644
--- a/test/core/gprpp/BUILD
+++ b/test/core/gprpp/BUILD
@@ -24,7 +24,7 @@ grpc_cc_test(
language = "C++",
deps = [
"//:gpr",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -34,7 +34,7 @@ grpc_cc_test(
language = "C++",
deps = [
"//:gpr",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -47,7 +47,7 @@ grpc_cc_test(
language = "C++",
deps = [
"//:gpr_base",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -60,7 +60,7 @@ grpc_cc_test(
language = "C++",
deps = [
"//:inlined_vector",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -73,7 +73,7 @@ grpc_cc_test(
language = "C++",
deps = [
"//:orphanable",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -86,7 +86,7 @@ grpc_cc_test(
language = "C++",
deps = [
"//:ref_counted",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -100,7 +100,7 @@ grpc_cc_test(
deps = [
"//:ref_counted",
"//:ref_counted_ptr",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -110,6 +110,6 @@ grpc_cc_test(
language = "C++",
deps = [
"//:gpr",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/handshake/BUILD b/test/core/handshake/BUILD
index 712cd59197..b9d2f31515 100644
--- a/test/core/handshake/BUILD
+++ b/test/core/handshake/BUILD
@@ -21,28 +21,26 @@ licenses(["notice"]) # Apache v2
grpc_cc_test(
name = "client_ssl",
srcs = ["client_ssl.cc"],
- language = "C++",
data = [
"//src/core/tsi/test_creds:ca.pem",
"//src/core/tsi/test_creds:server1.key",
"//src/core/tsi/test_creds:server1.pem",
],
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
grpc_cc_library(
name = "server_ssl_common",
- hdrs = ["server_ssl_common.h"],
srcs = ["server_ssl_common.cc"],
+ hdrs = ["server_ssl_common.h"],
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -50,17 +48,16 @@ grpc_cc_library(
grpc_cc_test(
name = "server_ssl",
srcs = ["server_ssl.cc"],
- language = "C++",
data = [
"//src/core/tsi/test_creds:ca.pem",
"//src/core/tsi/test_creds:server1.key",
"//src/core/tsi/test_creds:server1.pem",
],
+ language = "C++",
deps = [
":server_ssl_common",
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -68,17 +65,16 @@ grpc_cc_test(
grpc_cc_test(
name = "handshake_server_with_readahead_handshaker",
srcs = ["readahead_handshaker_server_ssl.cc"],
- language = "C++",
data = [
"//src/core/tsi/test_creds:ca.pem",
"//src/core/tsi/test_creds:server1.key",
"//src/core/tsi/test_creds:server1.pem",
],
+ language = "C++",
deps = [
":server_ssl_common",
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -86,17 +82,15 @@ grpc_cc_test(
grpc_cc_test(
name = "handshake_verify_peer_options",
srcs = ["verify_peer_options.cc"],
- language = "C++",
data = [
"//src/core/tsi/test_creds:ca.pem",
"//src/core/tsi/test_creds:server1.key",
"//src/core/tsi/test_creds:server1.pem",
],
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
-
diff --git a/test/core/http/BUILD b/test/core/http/BUILD
index be51ea0737..3e67926255 100644
--- a/test/core/http/BUILD
+++ b/test/core/http/BUILD
@@ -23,8 +23,8 @@ load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer")
grpc_fuzzer(
name = "response_fuzzer",
srcs = ["response_fuzzer.cc"],
- language = "C++",
corpus = "response_corpus",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -35,8 +35,8 @@ grpc_fuzzer(
grpc_fuzzer(
name = "request_fuzzer",
srcs = ["request_fuzzer.cc"],
- language = "C++",
corpus = "request_corpus",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -65,18 +65,17 @@ load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer")
grpc_cc_test(
name = "httpcli_test",
srcs = ["httpcli_test.cc"],
- language = "C++",
data = [
"python_wrapper.sh",
"test_server.py",
+ "//src/core/tsi/test_creds:server1.key",
"//src/core/tsi/test_creds:server1.pem",
- "//src/core/tsi/test_creds:server1.key"
],
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
"//test/core/end2end:ssl_test_data",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -84,19 +83,18 @@ grpc_cc_test(
grpc_cc_test(
name = "httpscli_test",
srcs = ["httpscli_test.cc"],
- language = "C++",
data = [
"python_wrapper.sh",
"test_server.py",
"//src/core/tsi/test_creds:ca.pem",
+ "//src/core/tsi/test_creds:server1.key",
"//src/core/tsi/test_creds:server1.pem",
- "//src/core/tsi/test_creds:server1.key"
],
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
"//test/core/end2end:ssl_test_data",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -109,7 +107,6 @@ grpc_cc_test(
"//:gpr",
"//:grpc",
"//test/core/end2end:ssl_test_data",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -122,7 +119,6 @@ grpc_cc_test(
"//:gpr",
"//:grpc",
"//test/core/end2end:ssl_test_data",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/iomgr/BUILD b/test/core/iomgr/BUILD
index e278632e50..e920ceacf0 100644
--- a/test/core/iomgr/BUILD
+++ b/test/core/iomgr/BUILD
@@ -32,7 +32,6 @@ grpc_cc_library(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -45,7 +44,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -58,7 +56,6 @@ grpc_cc_test(
":endpoint_tests",
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -71,7 +68,6 @@ grpc_cc_test(
":endpoint_tests",
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -83,7 +79,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -95,7 +90,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -107,7 +101,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -119,7 +112,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -131,7 +123,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -143,7 +134,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -158,7 +148,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -173,7 +162,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -185,7 +173,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -197,7 +184,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -209,7 +195,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -221,7 +206,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -234,7 +218,6 @@ grpc_cc_test(
":endpoint_tests",
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -246,7 +229,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -259,7 +241,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -271,7 +252,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -283,7 +263,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -295,7 +274,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -307,7 +285,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -319,7 +296,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/json/BUILD b/test/core/json/BUILD
index b8b36c0652..5684505cbc 100644
--- a/test/core/json/BUILD
+++ b/test/core/json/BUILD
@@ -23,8 +23,8 @@ load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer")
grpc_fuzzer(
name = "json_fuzzer",
srcs = ["fuzzer.cc"],
- language = "C++",
corpus = "corpus",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -40,7 +40,6 @@ grpc_cc_binary(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -48,17 +47,16 @@ grpc_cc_binary(
grpc_cc_test(
name = "json_rewrite_test",
srcs = ["json_rewrite_test.cc"],
- language = "C++",
data = [
"rewrite_test_input.json",
"rewrite_test_output_condensed.json",
"rewrite_test_output_indented.json",
":json_stream_error_test",
],
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -70,7 +68,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -82,7 +79,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/memory_usage/BUILD b/test/core/memory_usage/BUILD
index f39c309e36..2fe94dfa12 100644
--- a/test/core/memory_usage/BUILD
+++ b/test/core/memory_usage/BUILD
@@ -25,7 +25,6 @@ grpc_cc_library(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -37,24 +36,22 @@ grpc_cc_library(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
+ "//test/core/end2end:ssl_test_data",
"//test/core/util:grpc_test_util",
- "//test/core/end2end:ssl_test_data"
],
)
grpc_cc_test(
name = "memory_usage_test",
srcs = ["memory_usage_test.cc"],
- language = "C++",
data = [
- ":client",
- ":server",
+ ":client",
+ ":server",
],
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/network_benchmarks/BUILD b/test/core/network_benchmarks/BUILD
index e1b4953608..fbc611d5fe 100644
--- a/test/core/network_benchmarks/BUILD
+++ b/test/core/network_benchmarks/BUILD
@@ -14,8 +14,12 @@
load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_cc_binary", "grpc_package")
-grpc_package(name = "test/core/network_benchmarks",
- features = ["-layering_check", "-parse_headers" ]
+grpc_package(
+ name = "test/core/network_benchmarks",
+ features = [
+ "-layering_check",
+ "-parse_headers",
+ ],
)
licenses(["notice"]) # Apache v2
@@ -27,7 +31,6 @@ grpc_cc_binary(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/security/BUILD b/test/core/security/BUILD
index b7de955cdb..d8dcdc2523 100644
--- a/test/core/security/BUILD
+++ b/test/core/security/BUILD
@@ -23,8 +23,8 @@ load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer")
grpc_fuzzer(
name = "alts_credentials_fuzzer",
srcs = ["alts_credentials_fuzzer.cc"],
- language = "C++",
corpus = "corpus/alts_credentials_corpus",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -35,8 +35,8 @@ grpc_fuzzer(
grpc_fuzzer(
name = "ssl_server_fuzzer",
srcs = ["ssl_server_fuzzer.cc"],
- language = "C++",
corpus = "corpus/ssl_server_corpus",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -50,8 +50,8 @@ grpc_cc_library(
srcs = ["oauth2_utils.cc"],
hdrs = ["oauth2_utils.h"],
language = "C++",
- deps = ["//:grpc"],
visibility = ["//test/cpp:__subpackages__"],
+ deps = ["//:grpc"],
)
grpc_cc_test(
@@ -61,7 +61,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -73,7 +72,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -85,7 +83,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -97,12 +94,10 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
-
grpc_cc_test(
name = "secure_endpoint_test",
srcs = ["secure_endpoint_test.cc"],
@@ -111,7 +106,6 @@ grpc_cc_test(
"//:gpr",
"//:grpc",
"//test/core/iomgr:endpoint_tests",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -123,7 +117,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -137,14 +130,13 @@ grpc_cc_test(
"//test/core/security/etc:test_roots/cert2.pem",
"//test/core/security/etc:test_roots/cert3.pem",
],
- language = "C++",
external_deps = [
"gtest",
],
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -156,9 +148,8 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
- ]
+ ],
)
grpc_cc_binary(
@@ -204,7 +195,7 @@ grpc_cc_test(
"//:gpr",
"//:gpr_base",
"//:grpc",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -217,7 +208,7 @@ grpc_cc_test(
"//:gpr",
"//:gpr_base",
"//:grpc",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -229,7 +220,7 @@ grpc_cc_test(
"//:alts_util",
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -244,6 +235,6 @@ grpc_cc_test(
"//:grpc_secure",
"//:tsi",
"//:tsi_interface",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/security/credentials_test.cc b/test/core/security/credentials_test.cc
index b3a8161786..b655535335 100644
--- a/test/core/security/credentials_test.cc
+++ b/test/core/security/credentials_test.cc
@@ -465,14 +465,14 @@ static void test_oauth2_google_iam_composite_creds(void) {
google_iam_creds->Unref();
GPR_ASSERT(strcmp(composite_creds->type(),
GRPC_CALL_CREDENTIALS_TYPE_COMPOSITE) == 0);
- const grpc_call_credentials_array& creds_array =
+ const grpc_composite_call_credentials::CallCredentialsList& creds_list =
static_cast<const grpc_composite_call_credentials*>(composite_creds)
->inner();
- GPR_ASSERT(creds_array.size() == 2);
- GPR_ASSERT(strcmp(creds_array.get(0)->type(),
- GRPC_CALL_CREDENTIALS_TYPE_OAUTH2) == 0);
- GPR_ASSERT(
- strcmp(creds_array.get(1)->type(), GRPC_CALL_CREDENTIALS_TYPE_IAM) == 0);
+ GPR_ASSERT(creds_list.size() == 2);
+ GPR_ASSERT(strcmp(creds_list[0]->type(), GRPC_CALL_CREDENTIALS_TYPE_OAUTH2) ==
+ 0);
+ GPR_ASSERT(strcmp(creds_list[1]->type(), GRPC_CALL_CREDENTIALS_TYPE_IAM) ==
+ 0);
run_request_metadata_test(composite_creds, auth_md_ctx, state);
composite_creds->Unref();
}
@@ -492,13 +492,13 @@ class check_channel_oauth2_google_iam final : public grpc_channel_credentials {
GPR_ASSERT(call_creds != nullptr);
GPR_ASSERT(
strcmp(call_creds->type(), GRPC_CALL_CREDENTIALS_TYPE_COMPOSITE) == 0);
- const grpc_call_credentials_array& creds_array =
+ const grpc_composite_call_credentials::CallCredentialsList& creds_list =
static_cast<const grpc_composite_call_credentials*>(call_creds.get())
->inner();
- GPR_ASSERT(strcmp(creds_array.get(0)->type(),
- GRPC_CALL_CREDENTIALS_TYPE_OAUTH2) == 0);
- GPR_ASSERT(strcmp(creds_array.get(1)->type(),
- GRPC_CALL_CREDENTIALS_TYPE_IAM) == 0);
+ GPR_ASSERT(
+ strcmp(creds_list[0]->type(), GRPC_CALL_CREDENTIALS_TYPE_OAUTH2) == 0);
+ GPR_ASSERT(strcmp(creds_list[1]->type(), GRPC_CALL_CREDENTIALS_TYPE_IAM) ==
+ 0);
return nullptr;
}
};
diff --git a/test/core/slice/BUILD b/test/core/slice/BUILD
index 9a1a506a43..12ee42ba9c 100644
--- a/test/core/slice/BUILD
+++ b/test/core/slice/BUILD
@@ -51,7 +51,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -63,7 +62,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -75,7 +73,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -87,7 +84,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -102,7 +98,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -117,7 +112,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -129,7 +123,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/surface/BUILD b/test/core/surface/BUILD
index 77df1cc989..34777806cf 100644
--- a/test/core/surface/BUILD
+++ b/test/core/surface/BUILD
@@ -25,7 +25,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -37,7 +36,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -49,7 +47,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -61,7 +58,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -73,7 +69,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -85,7 +80,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -98,7 +92,6 @@ grpc_cc_test(
"//:gpr",
"//:grpc",
"//test/core/end2end:cq_verifier",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -111,7 +104,6 @@ grpc_cc_test(
"//:gpr",
"//:grpc",
"//test/core/end2end:ssl_test_data",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -123,7 +115,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -135,7 +126,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -148,7 +138,6 @@ grpc_cc_test(
"//:gpr",
"//:grpc",
"//test/core/end2end:ssl_test_data",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -160,7 +149,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -172,7 +160,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/transport/BUILD b/test/core/transport/BUILD
index 7ca1c1d943..f38ecf2f66 100644
--- a/test/core/transport/BUILD
+++ b/test/core/transport/BUILD
@@ -21,31 +21,29 @@ grpc_package(name = "test/core/transport")
grpc_cc_test(
name = "bdp_estimator_test",
srcs = ["bdp_estimator_test.cc"],
+ external_deps = [
+ "gtest",
+ ],
language = "C++",
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
- external_deps = [
- "gtest",
- ],
)
grpc_cc_test(
name = "byte_stream_test",
srcs = ["byte_stream_test.cc"],
+ external_deps = [
+ "gtest",
+ ],
language = "C++",
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
- external_deps = [
- "gtest",
- ],
)
grpc_cc_test(
@@ -55,7 +53,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -67,7 +64,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -75,16 +71,15 @@ grpc_cc_test(
grpc_cc_test(
name = "pid_controller_test",
srcs = ["pid_controller_test.cc"],
+ external_deps = [
+ "gtest",
+ ],
language = "C++",
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
- external_deps = [
- "gtest",
- ],
)
grpc_cc_test(
@@ -94,7 +89,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -106,7 +100,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -118,7 +111,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -126,12 +118,12 @@ grpc_cc_test(
grpc_cc_test(
name = "status_metadata_test",
srcs = ["status_metadata_test.cc"],
+ external_deps = [
+ "gtest",
+ ],
language = "C++",
deps = [
"//:grpc",
- "//test/core/util:gpr_test_util",
- ],
- external_deps = [
- "gtest",
+ "//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/transport/chttp2/BUILD b/test/core/transport/chttp2/BUILD
index 33437373e4..e5c1a7cff7 100644
--- a/test/core/transport/chttp2/BUILD
+++ b/test/core/transport/chttp2/BUILD
@@ -37,7 +37,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -49,7 +48,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -61,7 +59,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -76,12 +73,10 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
-
grpc_cc_test(
name = "hpack_encoder_test",
srcs = ["hpack_encoder_test.cc"],
@@ -89,7 +84,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -101,7 +95,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -113,7 +106,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -125,7 +117,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
@@ -133,16 +124,15 @@ grpc_cc_test(
grpc_cc_test(
name = "settings_timeout_test",
srcs = ["settings_timeout_test.cc"],
+ external_deps = [
+ "gtest",
+ ],
language = "C++",
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
- external_deps = [
- "gtest",
- ],
)
grpc_cc_test(
@@ -152,7 +142,6 @@ grpc_cc_test(
deps = [
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/tsi/BUILD b/test/core/tsi/BUILD
index ae6e8fdc32..14578c0e48 100644
--- a/test/core/tsi/BUILD
+++ b/test/core/tsi/BUILD
@@ -16,7 +16,10 @@ load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_c
licenses(["notice"]) # Apache v2
-grpc_package(name = "test/core/tsi", visibility = "public")
+grpc_package(
+ name = "test/core/tsi",
+ visibility = "public",
+)
grpc_cc_library(
name = "transport_security_test_lib",
@@ -34,25 +37,25 @@ grpc_cc_test(
language = "C++",
deps = [
":transport_security_test_lib",
- "//:grpc",
"//:gpr",
+ "//:grpc",
"//:tsi",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
grpc_cc_test(
name = "ssl_session_cache_test",
srcs = ["ssl_session_cache_test.cc"],
- language = "C++",
external_deps = [
"gtest",
],
+ language = "C++",
deps = [
- "//:grpc",
"//:gpr",
+ "//:grpc",
"//:tsi",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -75,10 +78,10 @@ grpc_cc_test(
language = "C++",
deps = [
":transport_security_test_lib",
- "//:grpc",
"//:gpr",
+ "//:grpc",
"//:tsi",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -87,9 +90,8 @@ grpc_cc_test(
srcs = ["transport_security_test.cc"],
language = "C++",
deps = [
- "//:grpc",
"//:gpr",
- "//test/core/util:gpr_test_util",
+ "//:grpc",
"//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/tsi/alts/crypt/BUILD b/test/core/tsi/alts/crypt/BUILD
index abe1e83656..767368a2f8 100644
--- a/test/core/tsi/alts/crypt/BUILD
+++ b/test/core/tsi/alts/crypt/BUILD
@@ -1,5 +1,5 @@
# Copyright 2018 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
@@ -16,7 +16,10 @@ load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_p
licenses(["notice"]) # Apache v2
-grpc_package(name = "test/core/tsi/alts/crypt", visibility = "public")
+grpc_package(
+ name = "test/core/tsi/alts/crypt",
+ visibility = "public",
+)
grpc_cc_test(
name = "alts_crypt_test",
@@ -27,7 +30,7 @@ grpc_cc_test(
"//:alts_frame_protector",
"//:gpr",
"//:grpc",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -40,4 +43,3 @@ grpc_cc_library(
"//:grpc",
],
)
-
diff --git a/test/core/tsi/alts/fake_handshaker/BUILD b/test/core/tsi/alts/fake_handshaker/BUILD
index 98cd628a7d..8bf9c654d4 100644
--- a/test/core/tsi/alts/fake_handshaker/BUILD
+++ b/test/core/tsi/alts/fake_handshaker/BUILD
@@ -16,7 +16,10 @@ licenses(["notice"]) # Apache v2
load("//bazel:grpc_build_system.bzl", "grpc_proto_library", "grpc_cc_library", "grpc_cc_binary", "grpc_package")
-grpc_package(name = "test/core/tsi/alts/fake_handshaker", visibility = "public")
+grpc_package(
+ name = "test/core/tsi/alts/fake_handshaker",
+ visibility = "public",
+)
grpc_proto_library(
name = "transport_security_common_proto",
@@ -52,7 +55,7 @@ grpc_cc_binary(
srcs = ["fake_handshaker_server_main.cc"],
language = "C++",
deps = [
- "//test/cpp/util:test_config",
"fake_handshaker_lib",
+ "//test/cpp/util:test_config",
],
)
diff --git a/test/core/tsi/alts/frame_protector/BUILD b/test/core/tsi/alts/frame_protector/BUILD
index 6ff3015f4d..1e3d16df02 100644
--- a/test/core/tsi/alts/frame_protector/BUILD
+++ b/test/core/tsi/alts/frame_protector/BUILD
@@ -1,5 +1,5 @@
# Copyright 2018 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
@@ -27,7 +27,7 @@ grpc_cc_test(
"//:gpr",
"//:grpc",
"//test/core/tsi/alts/crypt:alts_crypt_test_util",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -40,7 +40,7 @@ grpc_cc_test(
"//:gpr",
"//:grpc",
"//test/core/tsi/alts/crypt:alts_crypt_test_util",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -54,9 +54,9 @@ grpc_cc_test(
"//:grpc",
"//:tsi",
"//:tsi_interface",
- "//test/core/tsi/alts/crypt:alts_crypt_test_util",
"//test/core/tsi:transport_security_test_lib",
- "//test/core/util:gpr_test_util",
+ "//test/core/tsi/alts/crypt:alts_crypt_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -70,6 +70,6 @@ grpc_cc_test(
"//:gpr_base",
"//:grpc",
"//test/core/tsi/alts/crypt:alts_crypt_test_util",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/tsi/alts/handshaker/BUILD b/test/core/tsi/alts/handshaker/BUILD
index 3f1a681c1a..61ba16ad6d 100644
--- a/test/core/tsi/alts/handshaker/BUILD
+++ b/test/core/tsi/alts/handshaker/BUILD
@@ -1,5 +1,5 @@
# Copyright 2018 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
@@ -14,10 +14,10 @@
load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_package")
-licenses(["notice"]) # Apache v2
-
+licenses(["notice"]) # Apache v2
+
grpc_package(name = "test/core/tsi/alts/handshaker")
-
+
grpc_cc_library(
name = "alts_handshaker_service_api_test_lib",
srcs = ["alts_handshaker_service_api_test_lib.cc"],
@@ -25,7 +25,7 @@ grpc_cc_library(
deps = [
"//:alts_util",
"//:grpc",
- ],
+ ],
)
grpc_cc_test(
@@ -34,10 +34,10 @@ grpc_cc_test(
language = "C++",
deps = [
":alts_handshaker_service_api_test_lib",
+ "//:grpc",
"//:tsi",
"//:tsi_interface",
- "//:grpc",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -48,7 +48,7 @@ grpc_cc_test(
deps = [
":alts_handshaker_service_api_test_lib",
"//:grpc",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -62,7 +62,7 @@ grpc_cc_test(
"//:gpr_base",
"//:grpc",
"//:tsi",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -74,7 +74,7 @@ grpc_cc_test(
":alts_handshaker_service_api_test_lib",
"//:grpc",
"//:tsi",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -85,7 +85,6 @@ grpc_cc_test(
deps = [
"//:alts_util",
"//:grpc",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
-
diff --git a/test/core/tsi/alts/zero_copy_frame_protector/BUILD b/test/core/tsi/alts/zero_copy_frame_protector/BUILD
index a3b797327e..696fc8dc06 100644
--- a/test/core/tsi/alts/zero_copy_frame_protector/BUILD
+++ b/test/core/tsi/alts/zero_copy_frame_protector/BUILD
@@ -1,5 +1,5 @@
# Copyright 2018 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
@@ -28,7 +28,7 @@ grpc_cc_test(
"//:grpc",
"//:grpc_base_c",
"//test/core/tsi/alts/crypt:alts_crypt_test_util",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -41,7 +41,7 @@ grpc_cc_test(
"//:gpr",
"//:grpc",
"//test/core/tsi/alts/crypt:alts_crypt_test_util",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
@@ -55,6 +55,6 @@ grpc_cc_test(
"//:grpc",
"//:grpc_base_c",
"//test/core/tsi/alts/crypt:alts_crypt_test_util",
- "//test/core/util:gpr_test_util",
+ "//test/core/util:grpc_test_util",
],
)
diff --git a/test/core/util/BUILD b/test/core/util/BUILD
index 5492dcfa79..226e41aea7 100644
--- a/test/core/util/BUILD
+++ b/test/core/util/BUILD
@@ -22,24 +22,6 @@ grpc_package(
)
grpc_cc_library(
- name = "gpr_test_util",
- srcs = [
- "memory_counters.cc",
- "test_config.cc",
- ],
- hdrs = [
- "memory_counters.h",
- "test_config.h",
- ],
- deps = ["//:gpr"],
- data = [
- "lsan_suppressions.txt",
- "tsan_suppressions.txt",
- "ubsan_suppressions.txt",
- ],
-)
-
-grpc_cc_library(
name = "grpc_debugger_macros",
srcs = [
"debugger_macros.cc",
@@ -48,7 +30,6 @@ grpc_cc_library(
"debugger_macros.h",
],
deps = [
- ":gpr_test_util",
"//:grpc_common",
],
)
@@ -60,6 +41,7 @@ grpc_cc_library(
"fuzzer_util.cc",
"grpc_profiler.cc",
"histogram.cc",
+ "memory_counters.cc",
"mock_endpoint.cc",
"parse_hexstring.cc",
"passthru_endpoint.cc",
@@ -70,6 +52,7 @@ grpc_cc_library(
"slice_splitter.cc",
"subprocess_posix.cc",
"subprocess_windows.cc",
+ "test_config.cc",
"test_tcp_server.cc",
"tracer_util.cc",
"trickle_endpoint.cc",
@@ -79,24 +62,31 @@ grpc_cc_library(
"fuzzer_util.h",
"grpc_profiler.h",
"histogram.h",
+ "memory_counters.h",
"mock_endpoint.h",
"parse_hexstring.h",
"passthru_endpoint.h",
"port.h",
"port_server_client.h",
"reconnect_server.h",
- "subprocess.h",
"slice_splitter.h",
+ "subprocess.h",
+ "test_config.h",
"test_tcp_server.h",
"tracer_util.h",
"trickle_endpoint.h",
],
language = "C++",
deps = [
- ":gpr_test_util",
":grpc_debugger_macros",
+ "//:gpr",
"//:grpc_common",
],
+ data = [
+ "lsan_suppressions.txt",
+ "tsan_suppressions.txt",
+ "ubsan_suppressions.txt",
+ ],
)
grpc_cc_library(
@@ -140,7 +130,7 @@ grpc_cc_library(
"gflags",
],
deps = [
- ":gpr_test_util",
+ ":grpc_test_util",
"//:grpc",
],
)