public class EPPRegistryTst
extends junit.framework.TestCase
| Constructor and Description |
|---|
EPPRegistryTst(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static EPPRegistryContact |
buildContact()
Builds a
EPPRegistryContact instance for use in Registry Mapping
tests or Registry Mapping extension tests. |
static EPPRegistryDomain |
buildInfoDomain()
Builds a
EPPRegistryDomain instance for use in Registry Mapping
tests or Registry Mapping extension tests. |
static EPPRegistryDomain |
buildInfoDomain(boolean aDsDataInterface,
boolean aHostObjModel)
Builds a
EPPRegistryDomain instance for use in Registry Mapping
tests or Registry Mapping extension tests. |
static EPPRegistryHost |
buildInfoHost(boolean aHostObjModel)
Builds a
EPPRegistryHost instance for use in Registry Mapping
tests or Registry Mapping extension tests. |
static EPPRegistrySystemInfo |
createSystemInfo()
Creates a
EPPRegistrySystemInfo test instance. |
static EPPRegistryZone |
createZone()
Creates a
EPPRegistryZone test instance. |
static EPPRegistryZone |
createZone(boolean aContactPolicy,
boolean aDsDataInterface,
boolean aHostObjModel)
Creates a
EPPRegistryZone test instance. |
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). |
static void |
setNumIterations(long aNumIterations)
Sets the number of iterations to run per test.
|
protected void |
setUp()
JUNIT
setUp, which currently does nothing. |
static junit.framework.Test |
suite()
JUNIT
suite static method, which returns the tests associated
with EPPRegistryTst. |
protected void |
tearDown()
JUNIT
tearDown, which currently does nothing. |
void |
testRegistryCheck() |
void |
testRegistryCreate() |
void |
testRegistryDelete() |
void |
testRegistryInfoSystemInfo()
Test the registry info command and response for the system info.
|
void |
testRegistryInfoZoneInfo()
Test the registry info command and response for the zone info.
|
void |
testRegistryInfoZoneList()
Test the registry info command and response for the zone list.
|
void |
testRegistryUpdate() |
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 void testRegistryInfoZoneList()
public void testRegistryInfoZoneInfo()
public void testRegistryInfoSystemInfo()
public void testRegistryCheck()
public void testRegistryCreate()
public void testRegistryUpdate()
public void testRegistryDelete()
public static EPPRegistryZone createZone()
EPPRegistryZone test instance. This can be used to
bootstrap testing of the Registry Mapping or a Registry Mapping extension.
The response will include the contact policy information and the DS Data
interface information. The most likely options are used, which include
inclusion of contact policies (thick), support for the DNSSEC DS Data
Interface, and support for the host object model of RFC 5731.EPPRegistryZone instance that is populated with an initial
set of .COM zone information.public static EPPRegistryZone createZone(boolean aContactPolicy, boolean aDsDataInterface, boolean aHostObjModel)
EPPRegistryZone test instance. This can be used to
bootstrap testing of the Registry Mapping or a Registry Mapping extension.aContactPolicy - Include the contact policy? If true the contact policy
information will be included in the response; otherwise there
will be no contact policy information.aDsDataInterface - Is the DNSSEC DS data interface supported? If true the
DS data interface is supported; otherwise the Key data interface
is supported.aHostObjModel - Is the host object model used in RFC 5731? If true then
the host object model is used; otherwise the host attribute
model is used.EPPRegistryZone instance that is populated with an initial
set of .COM zone information.public static EPPRegistrySystemInfo createSystemInfo()
EPPRegistrySystemInfo test instance. This can be used to
bootstrap testing of the Registry Mapping or a Registry Mapping extension.EPPRegistrySystemInfo instance that is populated system
data.public static EPPRegistryDomain buildInfoDomain()
EPPRegistryDomain instance for use in Registry Mapping
tests or Registry Mapping extension tests.public static EPPRegistryDomain buildInfoDomain(boolean aDsDataInterface, boolean aHostObjModel)
EPPRegistryDomain instance for use in Registry Mapping
tests or Registry Mapping extension tests.aDsDataInterface - Is the DNSSEC DS data interface supported? IF true the
DS data interface is supported; otherwise the Key data interface
is supported.aHostObjModel - Is the host object model used in RFC 5731? If true then
the host object model is used; otherwise the host attribute
model is used.public static EPPRegistryHost buildInfoHost(boolean aHostObjModel)
EPPRegistryHost instance for use in Registry Mapping
tests or Registry Mapping extension tests.aHostObjModel - Is the host object model used in RFC 5731? If true then
the host object model is used; otherwise the host attribute
model is used.public static EPPRegistryContact buildContact()
EPPRegistryContact instance for use in Registry Mapping
tests or Registry Mapping extension tests.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 junit.framework.Test suite()
suite static method, which returns the tests associated
with EPPRegistryTst.protected void setUp()
setUp, which currently does nothing.setUp in class junit.framework.TestCaseprotected void tearDown()
tearDown, which currently does nothing.tearDown in class junit.framework.TestCasepublic static void setNumIterations(long aNumIterations)
aNumIterations - number of iterations to run per testCopyright © VeriSign Inc. All Rights Reserved.