Class EPPLoginSecPolicyRegistryTst
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.verisign.epp.interfaces.loginsecpolicy.v04.EPPLoginSecPolicyRegistryTst
- All Implemented Interfaces:
junit.framework.Test
public class EPPLoginSecPolicyRegistryTst
extends junit.framework.TestCase
Tests connecting to EPP SDK Stub Server, sending a registry system info
command and asserting that the Login Security Policy Extension is returned in
the response.
-
Constructor Summary
ConstructorsConstructorDescriptionAllocates anEPPLoginSecPolicyRegistryTstwith a logical name. -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleException(Exception aException) Handle anEPPCommandException, which can be either a server generated error or a general exception.protected voidsetUp()static junit.framework.Testsuite()protected voidtearDown()JUNITtearDown, which currently does nothing.voidtestInfo()Test for the registry system info command that expects the system to include the Login Security Extension.Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
Constructor Details
-
EPPLoginSecPolicyRegistryTst
Allocates anEPPLoginSecPolicyRegistryTstwith a logical name. The constructor will initialize the base classTestCasewith the logical name.- Parameters:
name- Logical name of the test
-
-
Method Details
-
testInfo
public void testInfo()Test for the registry system info command that expects the system to include the Login Security Extension. -
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
-
suite
public static junit.framework.Test suite() -
setUp
protected void setUp()- Overrides:
setUpin classjunit.framework.TestCase
-
tearDown
protected void tearDown()JUNITtearDown, which currently does nothing.- Overrides:
tearDownin classjunit.framework.TestCase
-