Package com.verisign.epp.interfaces.v01
Class EPPServerValTst
java.lang.Object
com.verisign.epp.interfaces.v01.EPPServerValTst
EPPServerValTst is a unit test of the Server Validation extension interface.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidJUNITsuitestatic method, which returns the tests associated withEPPServerValDomainTst.voidUtility method to clear any messages currently left in the poll queue.voidUnit test ofEPPDomain.sendCreatewith Server Validation extension.voidUnit test ofEPPDomain.sendUpdatewith Server Validation extension.voidhandleException(Exception aException) Handle anEPPCommandException, which can be either a server generated error or a general exception.voidsetUp()JUNITsetUpmethod, which sets the default client Id to "theRegistrar".voidtearDown()JUNITtearDown, which currently does nothing.voidJUNIT test method to implement theEPPServerValDomainTst TestCase.
-
Constructor Details
-
EPPServerValTst
public EPPServerValTst()
-
-
Method Details
-
testServerVal
public void testServerVal()JUNIT test method to implement theEPPServerValDomainTst TestCase. Each sub-test will be invoked in order to satisfy testing the EPPDomain interface. -
domainCreate
public void domainCreate()Unit test ofEPPDomain.sendCreatewith Server Validation extension. -
domainUpdate
public void domainUpdate()Unit test ofEPPDomain.sendUpdatewith Server Validation extension. -
setUp
public void setUp()JUNITsetUpmethod, which sets the default client Id to "theRegistrar". -
tearDown
public void tearDown()JUNITtearDown, which currently does nothing. -
beforeClass
public static void beforeClass()JUNITsuitestatic method, which returns the tests associated withEPPServerValDomainTst. -
clearPollQueue
public void clearPollQueue()Utility method to clear any messages currently left in the poll queue. -
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
-