From 1a9f91ed9ee6f71f731f2a6776f14a65bf7c1bb2 Mon Sep 17 00:00:00 2001 From: mountford Date: Wed, 12 Oct 2016 09:04:30 -0700 Subject: [PATCH] Add TLD extra create flow logic This CL implements the TLD-specific extra flow logic for Create commands, including tests. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135922961 --- .../testdata/domain_create_no_flags.xml | 21 +++++++++++++++ .../testdata/domain_create_one_flag.xml | 26 ++++++++++++++++++ .../testdata/domain_create_two_flags.xml | 27 +++++++++++++++++++ 3 files changed, 74 insertions(+) create mode 100644 javatests/google/registry/flows/dotapp/testdata/domain_create_no_flags.xml create mode 100644 javatests/google/registry/flows/dotapp/testdata/domain_create_one_flag.xml create mode 100644 javatests/google/registry/flows/dotapp/testdata/domain_create_two_flags.xml diff --git a/javatests/google/registry/flows/dotapp/testdata/domain_create_no_flags.xml b/javatests/google/registry/flows/dotapp/testdata/domain_create_no_flags.xml new file mode 100644 index 000000000..34901f3cb --- /dev/null +++ b/javatests/google/registry/flows/dotapp/testdata/domain_create_no_flags.xml @@ -0,0 +1,21 @@ + + + + + example.tld + 1 + + ns1.example.net + ns2.example.net + + jd1234 + sh8013 + sh8013 + + 2fooBAR + + + + ABC-12345 + + diff --git a/javatests/google/registry/flows/dotapp/testdata/domain_create_one_flag.xml b/javatests/google/registry/flows/dotapp/testdata/domain_create_one_flag.xml new file mode 100644 index 000000000..4ca90ca72 --- /dev/null +++ b/javatests/google/registry/flows/dotapp/testdata/domain_create_one_flag.xml @@ -0,0 +1,26 @@ + + + + + example.tld + 1 + + ns1.example.net + ns2.example.net + + jd1234 + sh8013 + sh8013 + + 2fooBAR + + + + + + %FLAG% + + + ABC-12345 + + diff --git a/javatests/google/registry/flows/dotapp/testdata/domain_create_two_flags.xml b/javatests/google/registry/flows/dotapp/testdata/domain_create_two_flags.xml new file mode 100644 index 000000000..3ef52cef0 --- /dev/null +++ b/javatests/google/registry/flows/dotapp/testdata/domain_create_two_flags.xml @@ -0,0 +1,27 @@ + + + + + example.tld + 1 + + ns1.example.net + ns2.example.net + + jd1234 + sh8013 + sh8013 + + 2fooBAR + + + + + + %FLAG1% + %FLAG2% + + + ABC-12345 + +