| srcs = ["TestHello.java"], |
| "//examples/java-native/src/main/java/com/example/myproject:hello-lib", |
| srcs = ["TestCustomGreeting.java"], |
| "//examples/java-native/src/main/java/com/example/myproject:custom-greeting", |
| name = "custom_with_test_class", |
| srcs = glob(["Test*.java"]), |
| test_class = "com.example.myproject.TestCustomGreeting", |
| "//examples/java-native/src/main/java/com/example/myproject:custom-greeting", |
| deps = ["//third_party:junit4"], |
| # This attempts to run TestCustomGreeting.java without any resources, so fails. |
| srcs = glob(["Test*.java"]), |
| "//examples/java-native/src/main/java/com/example/myproject:hello-lib", |
| srcs = glob(["**/*.java"]) + ["BUILD"], |
| visibility = ["//examples/java-native:__pkg__"], |