aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2016-03-03 19:29:54 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-03-04 12:16:45 +0000
commit191d9804047fe2d19c6ca561b6f8de6ccbdc93fb (patch)
tree88040f41422bf751d9da36f158c68fb129a83491 /examples
parentd39569538562986205c5eb208f1c2bd6a73922ea (diff)
RELNOTES: Set --legacy_bazel_java_test to off by default.
-- MOS_MIGRATED_REVID=116272974
Diffstat (limited to 'examples')
-rw-r--r--examples/java-native/src/test/java/com/example/myproject/BUILD3
1 files changed, 3 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 b9d81a1ff8..f3a262db99 100644
--- a/examples/java-native/src/test/java/com/example/myproject/BUILD
+++ b/examples/java-native/src/test/java/com/example/myproject/BUILD
@@ -1,6 +1,7 @@
java_test(
name = "hello",
srcs = ["TestHello.java"],
+ test_class = "com.example.myproject.TestHello",
deps = [
"//examples/java-native/src/main/java/com/example/myproject:hello-lib",
"//third_party:junit4",
@@ -10,6 +11,7 @@ java_test(
java_test(
name = "custom",
srcs = ["TestCustomGreeting.java"],
+ test_class = "com.example.myproject.TestCustomGreeting",
deps = [
"//examples/java-native/src/main/java/com/example/myproject:custom-greeting",
"//third_party:junit4",
@@ -36,6 +38,7 @@ java_test(
java_test(
name = "resource-fail",
srcs = glob(["Test*.java"]),
+ test_class = "com.example.myproject.TestCustomGreeting",
deps = [
"//examples/java-native/src/main/java/com/example/myproject:hello-lib",
"//third_party:junit4",