mirror of
https://github.com/google/nomulus.git
synced 2025-05-07 23:38:21 +02:00
In [] a change would have been made to your project that is incompatible with your open source integration. To make sure the open source variant of your project remains working, we have eagerly updated your open source copy to use Mockito 2. This CL integrates that change into []. Please read []and understand the consequences of this change. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=238445356
34 lines
924 B
Text
34 lines
924 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.
|
|
"@com_google_appengine_api_1_0_sdk//:testonly",
|
|
],
|
|
deps = [
|
|
"//java/google/registry/module/backend",
|
|
"//java/google/registry/request",
|
|
"//javatests/google/registry/testing",
|
|
"@com_google_truth",
|
|
"@com_google_truth_extensions_truth_java8_extension",
|
|
"@javax_servlet_api",
|
|
"@junit",
|
|
"@org_mockito_core",
|
|
],
|
|
)
|
|
|
|
load("//java/com/google/testing/builddefs:GenTestRules.bzl", "GenTestRules")
|
|
|
|
GenTestRules(
|
|
name = "GeneratedTestRules",
|
|
test_files = glob(["*Test.java"]),
|
|
deps = [":backend"],
|
|
)
|