Package com.verisign.epp.interfaces
Class EPPRegistryTst
- java.lang.Object
-
- com.verisign.epp.interfaces.EPPRegistryTst
-
public class EPPRegistryTst extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description EPPRegistryTst()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidbeforeClass()voidhandleException(java.lang.Exception aException)Handle anEPPCommandException, which can be either a server generated error or a general exception.java.lang.StringmakeTldName()voidregistryCheck(java.util.Map tldNames)Unit test ofEPPRegistry.sendCheck.voidregistryCreate(java.lang.String tldName, boolean shouldSucceed)Unit test ofEPPRegistry.sendCreate.voidregistryDelete(java.lang.String tldName, boolean shouldSucceed)Unit test ofEPPRegistry.sendDelete.voidregistryInfo(java.lang.String tldName)Unit test ofEPPRegistry.sendInfo.voidregistryUpdate(java.lang.String tldName, boolean shouldSucceed)Unit test ofEPPRegistry.sendUpdate.voidsetUp()voidtearDown()JUNITtearDown, which currently does nothing.voidtestRegistry()
-
-
-
Method Detail
-
testRegistry
public void testRegistry()
-
registryCheck
public void registryCheck(java.util.Map tldNames)
Unit test ofEPPRegistry.sendCheck.- Parameters:
tldNames- TLDs to check
-
registryCreate
public void registryCreate(java.lang.String tldName, boolean shouldSucceed)Unit test ofEPPRegistry.sendCreate.- Parameters:
tldName- TLD name to createshouldSucceed-trueif the create should succeed;falseotherwise.
-
registryDelete
public void registryDelete(java.lang.String tldName, boolean shouldSucceed)Unit test ofEPPRegistry.sendDelete.- Parameters:
tldName- TLD name to deleteshouldSucceed-trueif the delete should succeed;falseotherwise.
-
registryUpdate
public void registryUpdate(java.lang.String tldName, boolean shouldSucceed)Unit test ofEPPRegistry.sendUpdate.- Parameters:
tldName- TLD name to updateshouldSucceed-trueif the update should succeed;falseotherwise.
-
registryInfo
public void registryInfo(java.lang.String tldName)
Unit test ofEPPRegistry.sendInfo.- Parameters:
tldName- TLD name to info
-
makeTldName
public java.lang.String makeTldName()
-
handleException
public void handleException(java.lang.Exception aException)
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.
-
-