| load("@rules_java//java:defs.bzl", "java_test") |
| |
| package( |
| default_testonly = 1, |
| default_visibility = ["//src:__subpackages__"], |
| ) |
| |
| filegroup( |
| name = "srcs", |
| testonly = 0, |
| srcs = glob(["**"]), |
| visibility = ["//src:__subpackages__"], |
| ) |
| |
| java_test( |
| name = "DynamicSpawnStrategyUnitTest", |
| size = "small", |
| srcs = ["DynamicSpawnStrategyUnitTest.java"], |
| deps = [ |
| "//src/main/java/com/google/devtools/build/lib/actions", |
| "//src/main/java/com/google/devtools/build/lib/actions:artifacts", |
| "//src/main/java/com/google/devtools/build/lib/dynamic", |
| "//src/main/java/com/google/devtools/build/lib/exec:execution_policy", |
| "//src/main/java/com/google/devtools/build/lib/vfs", |
| "//src/main/java/com/google/devtools/build/lib/vfs:pathfragment", |
| "//src/main/protobuf:failure_details_java_proto", |
| "//src/test/java/com/google/devtools/build/lib/exec/util", |
| "//src/test/java/com/google/devtools/build/lib/testutil", |
| "//src/test/java/com/google/devtools/build/lib/testutil:TestUtils", |
| "//third_party:guava", |
| "//third_party:junit4", |
| "//third_party:mockito", |
| "//third_party:truth", |
| ], |
| ) |
| |
| java_test( |
| name = "DynamicSpawnStrategyTest", |
| size = "small", |
| srcs = ["DynamicSpawnStrategyTest.java"], |
| deps = [ |
| "//src/main/java/com/google/devtools/build/lib/actions", |
| "//src/main/java/com/google/devtools/build/lib/actions:artifacts", |
| "//src/main/java/com/google/devtools/build/lib/actions:localhost_capacity", |
| "//src/main/java/com/google/devtools/build/lib/bugreport", |
| "//src/main/java/com/google/devtools/build/lib/dynamic", |
| "//src/main/java/com/google/devtools/build/lib/events", |
| "//src/main/java/com/google/devtools/build/lib/exec:blaze_executor", |
| "//src/main/java/com/google/devtools/build/lib/exec:execution_options", |
| "//src/main/java/com/google/devtools/build/lib/exec:module_action_context_registry", |
| "//src/main/java/com/google/devtools/build/lib/exec:spawn_strategy_registry", |
| "//src/main/java/com/google/devtools/build/lib/util:abrupt_exit_exception", |
| "//src/main/java/com/google/devtools/build/lib/util/io", |
| "//src/main/java/com/google/devtools/build/lib/vfs", |
| "//src/main/java/com/google/devtools/common/options", |
| "//src/main/protobuf:failure_details_java_proto", |
| "//src/test/java/com/google/devtools/build/lib/actions/util", |
| "//src/test/java/com/google/devtools/build/lib/testutil:TestThread", |
| "//src/test/java/com/google/devtools/build/lib/testutil:TestUtils", |
| "//src/test/java/com/google/devtools/build/lib/vfs/util", |
| "//third_party:auto_value", |
| "//third_party:flogger", |
| "//third_party:guava", |
| "//third_party:jsr305", |
| "//third_party:junit4", |
| "//third_party:truth", |
| ], |
| ) |
| |
| java_test( |
| name = "DynamicExecutionModuleTest", |
| size = "small", |
| srcs = ["DynamicExecutionModuleTest.java"], |
| deps = [ |
| "//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/actions:artifacts", |
| "//src/main/java/com/google/devtools/build/lib/actions:localhost_capacity", |
| "//src/main/java/com/google/devtools/build/lib/dynamic", |
| "//src/main/java/com/google/devtools/build/lib/events", |
| "//src/main/java/com/google/devtools/build/lib/exec:spawn_strategy_registry", |
| "//src/main/java/com/google/devtools/build/lib/util:abrupt_exit_exception", |
| "//src/main/java/com/google/devtools/build/lib/util:detailed_exit_code", |
| "//src/main/java/com/google/devtools/build/lib/util:exit_code", |
| "//src/main/java/com/google/devtools/build/lib/vfs", |
| "//src/main/java/com/google/devtools/common/options", |
| "//src/main/protobuf:failure_details_java_proto", |
| "//src/test/java/com/google/devtools/build/lib/actions/util", |
| "//src/test/java/com/google/devtools/build/lib/testutil:TestUtils", |
| "//src/test/java/com/google/devtools/build/lib/vfs/util", |
| "//third_party:guava", |
| "//third_party:jsr305", |
| "//third_party:junit4", |
| "//third_party:truth", |
| ], |
| ) |