google-nomulus/javatests/google/registry/module/frontend/BUILD
shikhman 180240ae04 Wire in MetricsReporter to FrontendServlet
This work is identical to the work done for BackendServlet in
[]

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=132100448
2016-09-07 11:52:59 -04:00

33 lines
885 B
Text

package(
default_testonly = 1,
default_visibility = ["//java/google/registry:registry_project"],
)
licenses(["notice"]) # Apache 2.0
java_library(
name = "frontend",
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/frontend",
"//javatests/google/registry/testing",
],
)
load("//java/com/google/testing/builddefs:GenTestRules.bzl", "GenTestRules")
GenTestRules(
name = "GeneratedTestRules",
test_files = glob(["*Test.java"]),
deps = [":frontend"],
)