blob: 115720c8ea8b095b5bdb82f0e4a2017934e2e550 [file] [log] [blame]
# Description:
#
# Common test utilities for IntelliJ plugins.
load(
"//tools/adt/idea/aswb:build-visibility.bzl",
"INTELLIJ_PLUGINS_VISIBILITY",
)
package(default_visibility = INTELLIJ_PLUGINS_VISIBILITY)
licenses(["notice"])
java_library(
name = "lib",
testonly = 1,
srcs = glob([
"src/**/*.java",
"studio/**/*.java",
"cidr/**/*.java",
]),
data = [
"//tools/adt/idea/studio:required_jvm_args", # Used by BlazeTestSystemProperties.
],
exports = ["//tools/adt/idea/aswb/testing/src/com/google/idea/testing/runfiles"],
deps = [
"//tools/adt/idea/aswb/common/experiments",
"//tools/adt/idea/aswb/common/experiments:unit_test_utils",
"//tools/adt/idea/aswb/third_party/java/junit",
"//tools/vendor/google/aswb/plugin_api:jsr305",
"//tools/vendor/google/aswb/plugin_api:plugin_api_for_tests",
"@maven//:com.google.guava.guava",
],
runtime_deps = [
"@maven//:org.opentest4j.opentest4j", # Needed by the IntelliJ test framework.
],
)
java_library(
name = "runfiles",
testonly = 1,
exports = ["//tools/adt/idea/aswb/testing/src/com/google/idea/testing/runfiles"],
)