public class EPPPersRegTst
extends junit.framework.TestCase
EPPCodecComponent
's. The Domain and Email Forwarding commands
and responses are used to test extending both.Constructor and Description |
---|
EPPPersRegTst(java.lang.String name)
Creates a new EPPPersRegTst object.
|
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 ). |
static void |
setFactory(javax.xml.parsers.DocumentBuilderFactory aFactory)
Sets the XML document builder factory to use during the test.
|
static void |
setNumIterations(long aNumIterations)
Sets the number of iterations to run per test.
|
protected void |
setUp()
JUNIT
setUp method, which sets the default client Id to
"theRegistrar" and initializes the
EPPPersRegMapFactory with the EPPCodec . |
static void |
setValidate(boolean aValidate)
Sets XML parser validation on/off.
|
static junit.framework.Test |
suite()
JUNIT
suite static method, which returns the tests
associated with EPPPersRegTst . |
protected void |
tearDown()
JUNIT
tearDown , which currently does nothing. |
void |
testPersRegCreate()
Unit test of extending the Domain and Email Forwarding create commands
and responses.
|
void |
testPersRegInfo()
Unit test of extending the Domain and Email Forwarding info responses.
|
void |
testPersRegRenew()
Unit test of extending the Domain and Email Forwarding renew responses.
|
void |
testPersRegTransfer()
Unit test of extending the Domain and Email Forwarding transfer
responses.
|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
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
public EPPPersRegTst(java.lang.String name)
name
- DOCUMENT ME!public void testPersRegInfo()
public void testPersRegCreate()
public void testPersRegRenew()
public void testPersRegTransfer()
protected void setUp()
setUp
method, which sets the default client Id to
"theRegistrar" and initializes the
EPPPersRegMapFactory
with the EPPCodec
.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 EPPPersRegTst
.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 setNumIterations(long aNumIterations)
aNumIterations
- number of iterations to run per testpublic static void setValidate(boolean aValidate)
aValidate
- true
to turn XML parser validation on;
false
otherwise.public static void setFactory(javax.xml.parsers.DocumentBuilderFactory aFactory)
aFactory
- Initialized instance of
DocumentBuilderFactory
. The
DocumentBuilderFactory
is used to turn on/off
attributes like validation and namespace awareness.Copyright © VeriSign Inc. All Rights Reserved.