|
||||||||||
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.namestore.interfaces.NSDomainTst
public class NSDomainTst
Test of the use of the NSDomain
interface. This
test utilizes the EPP session pool and exercises all of the
operations defined in NSDomain
and the base
class EPPDomain
.
NSDomain
,
EPPDomain
Constructor Summary | |
---|---|
NSDomainTst(java.lang.String name)
Allocates an NSDomainTst with a logical name. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Unit test main, which accepts the following system property options: iterations Number of unit test iterations to run validate Turn XML validation on ( true ) or off (
false ). |
java.lang.String |
makeContactName()
Makes a unique contact name using the current time. |
java.lang.String |
makeDomainName()
This method tries to generate a unique String as Domain Name and Name Server |
java.lang.String |
makeHostName(java.lang.String newDomainName)
Makes a unique host name for a domain using the current time. |
java.lang.String |
makeIP()
Makes a unique IP address based off of the current time. |
static void |
printEnd(java.lang.String aTest)
Print the end of a test with the Thread name if the current
thread is a TestThread . |
static void |
printStart(java.lang.String aTest)
Print the start of a test with the Thread name if the
current thread is a TestThread . |
protected void |
setUp()
JUNIT setUp method |
static junit.framework.Test |
suite()
JUNIT suite static method, which returns the tests
associated with NSDomainTst . |
protected void |
tearDown()
JUNIT tearDown , which currently does nothing. |
void |
testAsyncCommands()
Unit test processing responses asynchronous from the commands. |
void |
testCreateDsDataInterface()
Unit test of EPPDomain.sendCreate for secDNS 1.1 using the DS Data Interface. |
void |
testDomainCheck()
Unit test of NSDomain.sendDomainCheck command. |
void |
testDomainCoaCreate()
Unit test of NSDomain.sendCreate command with COA extension. |
void |
testDomainCoaUpdate()
Unit test of NSDomain.sendUpdate command with COA extension. |
void |
testDomainCreate()
Unit test of NSDomain.sendCreate command. |
void |
testDomainDelete()
Unit test of NSDomain.sendDelete command. |
void |
testDomainIDNCreate()
Unit test of NSDomain.sendCreate command with IDN tag extension. |
void |
testDomainInfo()
Unit test of NSDomain.sendDomainInfo command. |
void |
testDomainRenew()
Unit test of NSDomain.sendDomainRenew command. |
void |
testDomainRestoreReport()
Unit test of NSDomain.sendRestoreReport command. |
void |
testDomainRestoreRequest()
Unit test of NSDomain.sendRestoreRequest command. |
void |
testDomainSync()
Unit test of NSDomain.sendSync command. |
void |
testDomainTransfer()
Unit test of NSDomain.sendTransfer command. |
void |
testDomainUpdate()
Unit test of NSDomain.sendUpdate command. |
void |
testEndSession()
Unit test of EPPSession.endSession . |
void |
testSecDNS10()
Unit test of support secDNS-1.0 with NSDomain for backward compatibility. |
void |
testUpdateDsDataInterface()
Unit test of EPPDomain.sendUpdate for secDNS 1.1 using the DS Data Interface. |
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 NSDomainTst(java.lang.String name)
NSDomainTst
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 testDomainCreate()
NSDomain.sendCreate
command.
public void testCreateDsDataInterface()
EPPDomain.sendCreate
for secDNS 1.1 using the DS Data Interface.
The VeriSign servers only support the DS Data Interface.
The following tests will be executed:
public void testUpdateDsDataInterface()
EPPDomain.sendUpdate
for secDNS 1.1 using the DS Data Interface.
The VeriSign servers only support the DS Data Interface.
The following tests will be executed:
public void testDomainCheck()
NSDomain.sendDomainCheck
command.
public void testDomainInfo()
NSDomain.sendDomainInfo
command.
public void testDomainDelete()
NSDomain.sendDelete
command.
public void testDomainRenew()
NSDomain.sendDomainRenew
command.
public void testDomainUpdate()
NSDomain.sendUpdate
command.
public void testDomainTransfer()
NSDomain.sendTransfer
command.
public void testDomainSync()
NSDomain.sendSync
command.
public void testDomainRestoreRequest()
NSDomain.sendRestoreRequest
command.
public void testDomainRestoreReport()
NSDomain.sendRestoreReport
command.
public void testDomainIDNCreate()
NSDomain.sendCreate
command with IDN tag extension.
public void testEndSession()
EPPSession.endSession
. One session in the
session pool wil be ended.
public void testAsyncCommands()
public void testSecDNS10()
protected void setUp()
setUp
method
setUp
in class junit.framework.TestCase
protected void tearDown()
tearDown
, which currently does nothing.
tearDown
in class junit.framework.TestCase
public static junit.framework.Test suite()
suite
static method, which returns the tests
associated with NSDomainTst
.
public static void main(java.lang.String[] args)
true
) or off (
false
). If validate is not specified, validation will be
off.
args
- DOCUMENT ME!public static void printStart(java.lang.String aTest)
Thread
name if the
current thread is a TestThread
.
aTest
- name for the testpublic static void printEnd(java.lang.String aTest)
Thread
name if the current
thread is a TestThread
.
aTest
- name for the testpublic java.lang.String makeDomainName()
public java.lang.String makeIP()
String
public java.lang.String makeHostName(java.lang.String newDomainName)
newDomainName
- DOCUMENT ME!
String
public java.lang.String makeContactName()
String
public void testDomainCoaCreate()
NSDomain.sendCreate
command with COA extension.
public void testDomainCoaUpdate()
NSDomain.sendUpdate
command with COA extension.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |