blob: 8017bbc6676573e6f5e95c56f777e2598d5ce7c3 [file] [log] [blame]
load("/tools/rules/java_tests", "java_tests")
load("/tools/rules/heron_deps", "heron_java_proto_files")
common_deps_files = [
"//third_party/java:powermock",
"@commons_io_commons_io//jar",
"//third_party/java:mockito",
"//third_party/java:junit4",
]
apiserver_test_deps_files = \
common_deps_files + [
"//heron/tools/apiserver/src/java:heron-apiserver"
]
java_library(
name = "tests",
srcs = glob(["**/apiserver/**/*.java"]),
deps = apiserver_test_deps_files,
)
java_tests(
test_classes = [
"com.twitter.heron.apiserver.utils.ConfigUtilsTests",
],
runtime_deps = [ ":tests" ],
size = "small",
)