blob: d16811aae7af9bde2996c1af4cf61fad8f0ea2b0 [file] [log] [blame]
load("@rules_java//java:defs.bzl", "java_library", "java_test")
package(
default_applicable_licenses = ["//:license"],
default_testonly = 1,
default_visibility = ["//src:__subpackages__"],
)
filegroup(
name = "srcs",
testonly = 0,
srcs = glob(["**"]) + [
"//src/test/java/com/google/devtools/build/lib/authandtls/credentialhelper:srcs",
],
visibility = ["//src:__subpackages__"],
)
java_library(
name = "AuthAndTlsTests_lib",
srcs = glob(
[
"*.java",
],
),
deps = [
"//src/main/java/com/google/devtools/build/lib:runtime/command_line_path_factory",
"//src/main/java/com/google/devtools/build/lib/authandtls",
"//src/main/java/com/google/devtools/build/lib/authandtls/credentialhelper",
"//src/main/java/com/google/devtools/build/lib/events",
"//src/main/java/com/google/devtools/build/lib/vfs",
"//src/main/java/com/google/devtools/build/lib/vfs/inmemoryfs",
"//src/main/java/com/google/devtools/common/options",
"//src/test/java/com/google/devtools/build/lib/testutil",
"//third_party:auth",
"//third_party:guava",
"//third_party:junit4",
"//third_party:truth",
"@maven//:com_google_testparameterinjector_test_parameter_injector",
],
)
java_test(
name = "AuthAndTlsTests",
test_class = "com.google.devtools.build.lib.AllTests",
runtime_deps = [
":AuthAndTlsTests_lib",
"//src/test/java/com/google/devtools/build/lib:test_runner",
],
)