blob: 324082c2308f4b49c977bf84f24730f0e3d93179 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
java_test(
name = "BazelJavaCompilerTest",
size = "small",
srcs = ["BazelJavaCompilerTest.java"],
data = [
"//third_party/java/jdk/langtools:javac_jar",
],
jvm_flags = [
# Simulates how Bazel invokes JavaBuilder
"-Xbootclasspath/p:$(location //third_party/java/jdk/langtools:javac_jar)",
],
tags = ["jdk8"],
test_class = "com.google.devtools.build.java.bazel.BazelJavaCompilerTest",
deps = [
"//src/java_tools/buildjar/java/com/google/devtools/build/java/bazel:BazelJavaCompiler",
"//third_party:guava",
"//third_party:junit4",
"//third_party:truth",
],
)
test_suite(name = "all_tests")
|