mirror of
https://github.com/google/nomulus
synced 2026-05-28 18:50:35 +00: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
35 lines
921 B
Python
35 lines
921 B
Python
package(
|
|
default_testonly = 1,
|
|
default_visibility = ["//java/google/registry:registry_project"],
|
|
)
|
|
|
|
licenses(["notice"]) # Apache 2.0
|
|
|
|
java_library(
|
|
name = "pubapi",
|
|
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/pubapi",
|
|
"//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 = [":pubapi"],
|
|
)
|