aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/java-native/src/test/java/com/example/myproject/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'examples/java-native/src/test/java/com/example/myproject/BUILD')
-rw-r--r--examples/java-native/src/test/java/com/example/myproject/BUILD10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/java-native/src/test/java/com/example/myproject/BUILD b/examples/java-native/src/test/java/com/example/myproject/BUILD
index 9a91a8288b..b9d81a1ff8 100644
--- a/examples/java-native/src/test/java/com/example/myproject/BUILD
+++ b/examples/java-native/src/test/java/com/example/myproject/BUILD
@@ -17,6 +17,16 @@ java_test(
)
java_test(
+ name = "custom_with_test_class",
+ srcs = glob(["Test*.java"]),
+ test_class = "com.example.myproject.TestCustomGreeting",
+ deps = [
+ "//examples/java-native/src/main/java/com/example/myproject:custom-greeting",
+ "//third_party:junit4",
+ ],
+)
+
+java_test(
name = "fail",
srcs = ["Fail.java"],
deps = ["//third_party:junit4"],