| Constructor and Description |
|---|
NSHostTst(java.lang.String name)
Allocates an
NSHostTst with a logical name. |
| Modifier and Type | Method and Description |
|---|---|
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 |
makeDomainName()
This method generates a unique domain name.
|
java.lang.String |
makeExternalHost()
This method generates a unique external Host Name (i.e.
|
java.lang.String |
makeInternalHost()
This method generates a unique internal Host Name.
|
java.lang.String |
makeInternalHost(java.lang.String newDomainName)
This method generates a unique internal Host Name for a given Domain Name
|
java.lang.String |
makeIP()
This method generates a unique IPV4 address.
|
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 NSHostTst. |
protected void |
tearDown()
JUNIT
tearDown, which currently does nothing. |
void |
testEndSession()
Unit test of
EPPSession.endSession. |
void |
testHostCheck()
Unit test of
NSHost.sendHostCheck command. |
void |
testHostCreate()
Unit test of
NSHost.sendCreate command. |
void |
testHostDelete()
Unit test of
NSHost.sendDelete command. |
void |
testHostInfo()
Unit test of
NSHost.sendHostInfo command. |
void |
testHostUpdate()
Unit test of
NSHost.sendUpdate command. |
void |
testResellerId()
Unit test using
NSHost#setResellerId(String) to set the reseller
identifier on create and
NSHost#updateResellerId(com.verisign.epp.codec.resellerext.EPPResellerExtUpdate.Action, String)
to update the reseller identifier of an existing host. |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toStringassertEquals, 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, failpublic NSHostTst(java.lang.String name)
NSHostTst with a logical name. The constructor
will initialize the base class TestCase with the logical
name.name - Logical name of the testpublic void testHostCreate()
NSHost.sendCreate command.public void testHostCheck()
NSHost.sendHostCheck command.public void testHostInfo()
NSHost.sendHostInfo command.public void testHostDelete()
NSHost.sendDelete command.public void testHostUpdate()
NSHost.sendUpdate command.public void testResellerId()
NSHost#setResellerId(String) to set the reseller
identifier on create and
NSHost#updateResellerId(com.verisign.epp.codec.resellerext.EPPResellerExtUpdate.Action, String)
to update the reseller identifier of an existing host.public void testEndSession()
EPPSession.endSession. One session in the
session pool wil be ended.protected void setUp()
setUp methodsetUp in class junit.framework.TestCaseprotected void tearDown()
tearDown, which currently does nothing.tearDown in class junit.framework.TestCasepublic static junit.framework.Test suite()
suite static method, which returns the tests
associated with NSHostTst.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()
public java.lang.String makeInternalHost(java.lang.String newDomainName)
newDomainName - Domain name to based host name onpublic java.lang.String makeInternalHost()
public java.lang.String makeExternalHost()
Copyright © VeriSign Inc. All Rights Reserved.