| package( |
| default_testonly = 1, |
| default_visibility = ["//src:__subpackages__"], |
| ) |
| |
| filegroup( |
| name = "srcs", |
| testonly = 0, |
| srcs = glob(["**"]), |
| visibility = ["//src/test/java/com/google/devtools/build/lib:__pkg__"], |
| ) |
| |
| java_test( |
| name = "BuildEventServiceTest", |
| srcs = glob(["*.java"]), |
| test_class = "com.google.devtools.build.lib.AllTests", |
| runtime_deps = ["//src/test/java/com/google/devtools/build/lib:test_runner"], |
| deps = [ |
| "//src/main/java/com/google/devtools/build/lib:events", |
| "//src/main/java/com/google/devtools/build/lib:runtime", |
| "//src/main/java/com/google/devtools/build/lib/actions", |
| "//src/main/java/com/google/devtools/build/lib/authandtls", |
| "//src/main/java/com/google/devtools/build/lib/buildeventservice", |
| "//src/main/java/com/google/devtools/build/lib/buildeventservice/client", |
| "//src/main/java/com/google/devtools/build/lib/buildeventstream", |
| "//src/main/java/com/google/devtools/build/lib/buildeventstream/transports", |
| "//src/main/java/com/google/devtools/build/lib/clock", |
| "//src/main/java/com/google/devtools/build/lib/vfs", |
| "//src/main/java/com/google/devtools/common/options", |
| "//src/test/java/com/google/devtools/build/lib:actions_testutil", |
| "//src/test/java/com/google/devtools/build/lib:testutil", |
| "//third_party:guava", |
| "//third_party:junit4", |
| "//third_party:mockito", |
| "//third_party:truth", |
| "//third_party/grpc:grpc-jar", |
| "@com_google_protobuf//:protobuf_java", |
| "@com_google_protobuf//:protobuf_java_util", |
| "@googleapis//:google_devtools_build_v1_build_events_java_proto", |
| "@googleapis//:google_devtools_build_v1_build_status_java_proto", |
| "@googleapis//:google_devtools_build_v1_publish_build_event_java_grpc", |
| "@googleapis//:google_devtools_build_v1_publish_build_event_java_proto", |
| ], |
| ) |
| |
| test_suite( |
| name = "windows_tests", |
| tags = [ |
| "-no_windows", |
| "-slow", |
| ], |
| visibility = ["//visibility:private"], |
| ) |
| |
| test_suite( |
| name = "all_windows_tests", |
| tests = [ |
| ":windows_tests", |
| ], |
| visibility = ["//src/test/java/com/google/devtools/build/lib:__pkg__"], |
| ) |