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
Constructors Constructor Description EPPLoginSecPolicyRegistryTst(java.lang.String name)
Allocates anEPPLoginSecPolicyRegistryTst
with a logical name.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleException(java.lang.Exception aException)
Handle anEPPCommandException
, which can be either a server generated error or a general exception.protected void
setUp()
static junit.framework.Test
suite()
protected void
tearDown()
JUNITtearDown
, which currently does nothing.void
testInfo()
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
-
-
-
-
Method Detail
-
testInfo
public void testInfo()
Test for the registry system info command that expects the system to include the Login Security Extension.
-
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
-
suite
public static junit.framework.Test suite()
-
setUp
protected void setUp()
- Overrides:
setUp
in classjunit.framework.TestCase
-
tearDown
protected void tearDown()
JUNITtearDown
, which currently does nothing.- Overrides:
tearDown
in classjunit.framework.TestCase
-
-