Package com.verisign.epp.codec.whois
Class EPPWhoisTst
java.lang.Object
com.verisign.epp.codec.whois.EPPWhoisTst
Is a unit test of the com.verisign.epp.codec.whois package. The unit test
will execute, gather statistics, and output the results of a test of each
com.verisign.epp.codec.whois package. The unit test is dependent on the use
of JUNIT 3.5
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetNumIterations(long aNumIterations) Sets the number of iterations to run per test.static voidsetup()JUNITsuitestatic method, which returns the tests associated withEPPWhoisTst.voidTests theEPPWhoisInfoinfo command extension.voidTests theEPPWhoisInfoDatainfo response extension.
-
Constructor Details
-
EPPWhoisTst
public EPPWhoisTst()
-
-
Method Details
-
testWhoisInf
public void testWhoisInf()Tests theEPPWhoisInfoinfo command extension. The tests include the following:
- Test adding the extension with a
trueflag value - Test adding the extension with a
falseflag value
- Test adding the extension with a
-
testWhoisInfData
public void testWhoisInfData()Tests theEPPWhoisInfoDatainfo response extension. The tests include the following:
- Test adding the extension with most common attributes set
- Test adding the extension with all attributes set
-
setup
public static void setup()JUNITsuitestatic method, which returns the tests associated withEPPWhoisTst. -
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
-