Class EPPRegistryTst
java.lang.Object
com.verisign.epp.codec.registry.v02.EPPRegistryTst
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidJUNITsuitestatic method, which returns the tests associated withEPPRegistryTst.static EPPRegistryContactBuilds aEPPRegistryContactinstance for use in Registry Mapping tests or Registry Mapping extension tests.static EPPRegistryDomainBuilds aEPPRegistryDomaininstance for use in Registry Mapping tests or Registry Mapping extension tests.static EPPRegistryDomainbuildInfoDomain(boolean aDsDataInterface, boolean aHostObjModel) Builds aEPPRegistryDomaininstance for use in Registry Mapping tests or Registry Mapping extension tests.static EPPRegistryHostbuildInfoHost(boolean aHostObjModel) Builds aEPPRegistryHostinstance for use in Registry Mapping tests or Registry Mapping extension tests.static EPPRegistrySystemInfoCreates aEPPRegistrySystemInfotest instance.static EPPRegistryZoneCreates aEPPRegistryZonetest instance.static EPPRegistryZonecreateZone(boolean aContactPolicy, boolean aDsDataInterface, boolean aHostObjModel) Creates aEPPRegistryZonetest instance.static voidsetNumIterations(long aNumIterations) Sets the number of iterations to run per test.voidvoidvoidvoidTest the registry info command and response for the system info.voidTest the registry info command and response for the zone info.voidTest the registry info command and response for the zone list.void
-
Constructor Details
-
EPPRegistryTst
public EPPRegistryTst()
-
-
Method Details
-
testRegistryInfoZoneList
public void testRegistryInfoZoneList()Test the registry info command and response for the zone list. -
testRegistryInfoZoneInfo
public void testRegistryInfoZoneInfo()Test the registry info command and response for the zone info. -
testRegistryInfoSystemInfo
public void testRegistryInfoSystemInfo()Test the registry info command and response for the system info. -
testRegistryCheck
public void testRegistryCheck() -
testRegistryCreate
public void testRegistryCreate() -
testRegistryUpdate
public void testRegistryUpdate() -
testRegistryDelete
public void testRegistryDelete() -
createZone
Creates aEPPRegistryZonetest instance. This can be used to bootstrap testing of the Registry Mapping or a Registry Mapping extension. The response will include the contact policy information and the DS Data interface information. The most likely options are used, which include inclusion of contact policies (thick), support for the DNSSEC DS Data Interface, and support for the host object model of RFC 5731.- Returns:
EPPRegistryZoneinstance that is populated with an initial set of .COM zone information.
-
createZone
public static EPPRegistryZone createZone(boolean aContactPolicy, boolean aDsDataInterface, boolean aHostObjModel) Creates aEPPRegistryZonetest instance. This can be used to bootstrap testing of the Registry Mapping or a Registry Mapping extension.- Parameters:
aContactPolicy- Include the contact policy? Iftruethe contact policy information will be included in the response; otherwise there will be no contact policy information.aDsDataInterface- Is the DNSSEC DS data interface supported? Iftruethe DS data interface is supported; otherwise the Key data interface is supported.aHostObjModel- Is the host object model used in RFC 5731? Iftruethen the host object model is used; otherwise the host attribute model is used.- Returns:
EPPRegistryZoneinstance that is populated with an initial set of .COM zone information.
-
createSystemInfo
Creates aEPPRegistrySystemInfotest instance. This can be used to bootstrap testing of the Registry Mapping or a Registry Mapping extension.- Returns:
EPPRegistrySystemInfoinstance that is populated system data.
-
buildInfoDomain
Builds aEPPRegistryDomaininstance for use in Registry Mapping tests or Registry Mapping extension tests.- Returns:
EPPRegistryDomaininstance populated with an initial set of domain policy information.
-
buildInfoDomain
Builds aEPPRegistryDomaininstance for use in Registry Mapping tests or Registry Mapping extension tests.- Parameters:
aDsDataInterface- Is the DNSSEC DS data interface supported? IFtruethe DS data interface is supported; otherwise the Key data interface is supported.aHostObjModel- Is the host object model used in RFC 5731? Iftruethen the host object model is used; otherwise the host attribute model is used.- Returns:
EPPRegistryDomaininstance populated with an initial set of domain policy information.
-
buildInfoHost
Builds aEPPRegistryHostinstance for use in Registry Mapping tests or Registry Mapping extension tests.- Parameters:
aHostObjModel- Is the host object model used in RFC 5731? Iftruethen the host object model is used; otherwise the host attribute model is used.- Returns:
EPPRegistryHostinstance populated with an initial set of host policy information.
-
buildContact
Builds aEPPRegistryContactinstance for use in Registry Mapping tests or Registry Mapping extension tests.- Returns:
EPPRegistryContactinstance populated with an initial set of contact policy information.
-
beforeClass
public static void beforeClass()JUNITsuitestatic method, which returns the tests associated withEPPRegistryTst. -
setNumIterations
public static void setNumIterations(long aNumIterations) Sets the number of iterations to run per test.- Parameters:
aNumIterations- number of iterations to run per test
-