mirror of
https://github.com/google/nomulus
synced 2026-09-12 19:16:25 +00:00
Add XML support for new Flags EPP extension
For the .app discounting logic, we need a new extension which will let registrars set, clear and query custom flags on a domain. Hopefully this will be reusable for other custom TLDs later. This CL adds the XSD, the associated classes for marshalling and unmarshalling, and some marshalling tests, and links the classes into the system-wide extension lists. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128178999
This commit is contained in:
committed by
Justine Tunney
parent
9c28534b64
commit
64bcad3f21
@@ -59,6 +59,11 @@ public class DomainCommandTest extends ResourceCommandTestCase {
|
||||
doXmlRoundtripTest("domain_create_fee.xml");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testCreate_flags() throws Exception {
|
||||
doXmlRoundtripTest("domain_create_flags.xml");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testDelete() throws Exception {
|
||||
doXmlRoundtripTest("domain_delete.xml");
|
||||
@@ -74,6 +79,11 @@ public class DomainCommandTest extends ResourceCommandTestCase {
|
||||
doXmlRoundtripTest("domain_update_fee.xml");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testUpdate_flags() throws Exception {
|
||||
doXmlRoundtripTest("domain_update_flags.xml");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testInfo() throws Exception {
|
||||
doXmlRoundtripTest("domain_info.xml");
|
||||
@@ -119,6 +129,11 @@ public class DomainCommandTest extends ResourceCommandTestCase {
|
||||
doXmlRoundtripTest("domain_check_fee.xml");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testCheck_flags() throws Exception {
|
||||
doXmlRoundtripTest("domain_check_flags.xml");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testTransferApprove() throws Exception {
|
||||
doXmlRoundtripTest("domain_transfer_approve.xml");
|
||||
@@ -149,6 +164,11 @@ public class DomainCommandTest extends ResourceCommandTestCase {
|
||||
doXmlRoundtripTest("domain_transfer_request_fee.xml");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testTransferRequest_flags() throws Exception {
|
||||
doXmlRoundtripTest("domain_transfer_request_flags.xml");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testRenew() throws Exception {
|
||||
doXmlRoundtripTest("domain_renew.xml");
|
||||
|
||||
Reference in New Issue
Block a user