google-nomulus/javatests/google/registry/module/backend/BUILD
shikhman b45c2ca2ee Wire in MetricReporter into the backend servlet to publish metrics
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=130468842
2016-08-22 14:07:45 -04:00

33 lines
882 B
Text

package(
default_testonly = 1,
default_visibility = ["//java/google/registry:registry_project"],
)
licenses(["notice"]) # Apache 2.0
java_library(
name = "backend",
srcs = glob(["*.java"]),
resources = glob(["testdata/*"]),
runtime_deps = [
# TODO(b/19332643): Remove this dependency when Modules is lazy.
"//third_party/java/appengine:appengine-api-testonly",
],
deps = [
"//third_party/java/junit",
"//third_party/java/mockito",
"//third_party/java/servlet/servlet_api",
"//third_party/java/truth",
"//java/google/registry/module/backend",
"//javatests/google/registry/testing",
],
)
load("//java/com/google/testing/builddefs:GenTestRules.bzl", "GenTestRules")
GenTestRules(
name = "GeneratedTestRules",
test_files = glob(["*Test.java"]),
deps = [":backend"],
)