aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/tsi
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2018-12-06 14:05:38 -0800
committerGravatar yang-g <yangg@google.com>2018-12-06 14:37:52 -0800
commit67742ef63fd13630461abb1287298e8f262276bb (patch)
tree917db810d8ae5d0e179d0ca337dbc44fe4d4f561 /test/core/tsi
parent88045f8440610676daa9cf429ba0cf55b4041bc5 (diff)
Fix BUILD files. Manually edit bzl files
Diffstat (limited to 'test/core/tsi')
-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
6 files changed, 44 insertions, 38 deletions
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",
],
)