|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.verisign.epp.interfaces.EPPRegistryTst
public class EPPRegistryTst
Constructor Summary | |
---|---|
EPPRegistryTst(java.lang.String name)
Allocates an EPPRegistryTst with a logical name. |
Method Summary | |
---|---|
void |
handleException(java.lang.Exception aException)
Handle an EPPCommandException , which can be either a server
generated error or a general exception. |
java.lang.String |
makeTldName()
|
void |
registryCheck(java.util.Map tldNames)
Unit test of EPPRegistry.sendCheck . |
void |
registryCreate(java.lang.String tldName,
boolean shouldSucceed)
Unit test of EPPRegistry.sendCreate . |
void |
registryDelete(java.lang.String tldName,
boolean shouldSucceed)
Unit test of EPPRegistry.sendDelete . |
void |
registryInfo(java.lang.String tldName)
Unit test of EPPRegistry.sendInfo . |
void |
registryUpdate(java.lang.String tldName,
boolean shouldSucceed)
Unit test of EPPRegistry.sendUpdate . |
protected void |
setUp()
|
static junit.framework.Test |
suite()
|
protected void |
tearDown()
JUNIT tearDown , which currently does nothing. |
void |
testRegistry()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
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, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EPPRegistryTst(java.lang.String name)
EPPRegistryTst
with a logical name. The
constructor will initialize the base class TestCase
with the
logical name.
name
- Logical name of the testMethod Detail |
---|
public void testRegistry()
public void registryCheck(java.util.Map tldNames)
EPPRegistry.sendCheck
.
public void registryCreate(java.lang.String tldName, boolean shouldSucceed)
EPPRegistry.sendCreate
.
public void registryDelete(java.lang.String tldName, boolean shouldSucceed)
EPPRegistry.sendDelete
.
public void registryUpdate(java.lang.String tldName, boolean shouldSucceed)
EPPRegistry.sendUpdate
.
public void registryInfo(java.lang.String tldName)
EPPRegistry.sendInfo
.
public java.lang.String makeTldName()
public void handleException(java.lang.Exception aException)
EPPCommandException
, 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.
aException
- Exception thrown during testpublic static junit.framework.Test suite()
protected void setUp()
setUp
in class junit.framework.TestCase
protected void tearDown()
tearDown
, which currently does nothing.
tearDown
in class junit.framework.TestCase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |