mirror of
https://github.com/google/nomulus.git
synced 2025-07-23 19:20:44 +02:00
Break out EppResourceInput subclasses
This frankenclass was starting to get a little cluttered, especially once I add the ChildEntityInput/Reader. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=117266882
This commit is contained in:
parent
57fa57968d
commit
77dd730400
31 changed files with 876 additions and 20 deletions
|
@ -6,12 +6,12 @@ load("//java/com/google/testing/builddefs:GenTestRules.bzl", "GenTestRules")
|
|||
|
||||
|
||||
java_library(
|
||||
name = "mapreduce",
|
||||
name = "inputs",
|
||||
srcs = glob(["*.java"]),
|
||||
deps = [
|
||||
"//java/com/google/common/base",
|
||||
"//java/com/google/domain/registry/config",
|
||||
"//java/com/google/domain/registry/mapreduce",
|
||||
"//java/com/google/domain/registry/mapreduce/inputs",
|
||||
"//java/com/google/domain/registry/model",
|
||||
"//javatests/com/google/domain/registry/testing",
|
||||
"//third_party/java/appengine:appengine-api-testonly",
|
||||
|
@ -28,5 +28,5 @@ GenTestRules(
|
|||
default_test_size = "medium",
|
||||
jvm_flags = ["-XX:MaxPermSize=256m"],
|
||||
test_files = glob(["*Test.java"]),
|
||||
deps = [":mapreduce"],
|
||||
deps = [":inputs"],
|
||||
)
|
|
@ -12,12 +12,12 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package com.google.domain.registry.mapreduce;
|
||||
package com.google.domain.registry.mapreduce.inputs;
|
||||
|
||||
import static com.google.common.truth.Truth.assertThat;
|
||||
import static com.google.common.truth.Truth.assert_;
|
||||
import static com.google.domain.registry.mapreduce.EppResourceInputs.createEntityInput;
|
||||
import static com.google.domain.registry.mapreduce.EppResourceInputs.createKeyInput;
|
||||
import static com.google.domain.registry.mapreduce.inputs.EppResourceInputs.createEntityInput;
|
||||
import static com.google.domain.registry.mapreduce.inputs.EppResourceInputs.createKeyInput;
|
||||
import static com.google.domain.registry.model.index.EppResourceIndexBucket.getBucketKey;
|
||||
import static com.google.domain.registry.testing.DatastoreHelper.createTld;
|
||||
import static com.google.domain.registry.testing.DatastoreHelper.newDomainApplication;
|
Loading…
Add table
Add a link
Reference in a new issue