blob: cedb53f6faff0624d142a3f997e835f25e88ffa9 [file]
load("@rules_java//java:defs.bzl", "java_library", "java_test")
# Description:
# Tests of the testing tools for the devtools-common options parser.
package(
default_applicable_licenses = ["//:license"],
default_testonly = 1,
default_visibility = ["//src:__subpackages__"],
)
filegroup(
name = "srcs",
testonly = 0,
srcs = glob(
["**"],
),
visibility = ["//src:__subpackages__"],
)
java_library(
name = "OptionsTesterTest_lib",
srcs = glob(["*.java"]),
javacopts = [
],
deps = [
"//src/main/java/com/google/devtools/common/options",
"//src/main/java/com/google/devtools/common/options/testing",
"//src/test/java/com/google/devtools/build/lib/testutil:TestSuite",
"//third_party/java/guava:collect",
"//third_party/java/junit",
"//third_party/java/truth",
],
)
java_test(
name = "OptionsTesterTest",
test_class = "com.google.devtools.common.options.testing.AllTests",
runtime_deps = [":OptionsTesterTest_lib"],
)