Package com.verisign.epp.interfaces
Class EPPRegistryTst
java.lang.Object
com.verisign.epp.interfaces.EPPRegistryTst
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvoidhandleException(Exception aException) Handle anEPPCommandException, which can be either a server generated error or a general exception.voidregistryCheck(Map tldNames) Unit test ofEPPRegistry.sendCheck.voidregistryCreate(String tldName, boolean shouldSucceed) Unit test ofEPPRegistry.sendCreate.voidregistryDelete(String tldName, boolean shouldSucceed) Unit test ofEPPRegistry.sendDelete.voidregistryInfo(String tldName) Unit test ofEPPRegistry.sendInfo.voidregistryUpdate(String tldName, boolean shouldSucceed) Unit test ofEPPRegistry.sendUpdate.voidsetUp()voidtearDown()JUNITtearDown, which currently does nothing.void
-
Constructor Details
-
EPPRegistryTst
public EPPRegistryTst()
-
-
Method Details
-
testRegistry
public void testRegistry() -
registryCheck
Unit test ofEPPRegistry.sendCheck.- Parameters:
tldNames- TLDs to check
-
registryCreate
Unit test ofEPPRegistry.sendCreate.- Parameters:
tldName- TLD name to createshouldSucceed-trueif the create should succeed;falseotherwise.
-
registryDelete
Unit test ofEPPRegistry.sendDelete.- Parameters:
tldName- TLD name to deleteshouldSucceed-trueif the delete should succeed;falseotherwise.
-
registryUpdate
Unit test ofEPPRegistry.sendUpdate.- Parameters:
tldName- TLD name to updateshouldSucceed-trueif the update should succeed;falseotherwise.
-
registryInfo
Unit test ofEPPRegistry.sendInfo.- Parameters:
tldName- TLD name to info
-
makeTldName
-
handleException
Handle anEPPCommandException, which can be either a server generated error or a general exception. If the exception was caused by a server error, "Server Error :<Response XML>" will be specified. If the exception was caused by a general algorithm error, "General Error :<Exception Description>" will be specified.- Parameters:
aException- Exception thrown during test
-
beforeClass
public static void beforeClass() -
setUp
public void setUp() -
tearDown
public void tearDown()JUNITtearDown, which currently does nothing.
-