public class EPPSecureAuthInfoTst
extends junit.framework.TestCase
Constructor and Description |
---|
EPPSecureAuthInfoTst(java.lang.String name)
Creates a new EPPSecureAuthInfoTst 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 |
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 EPPDomainMapFactory with the
EPPCodec . |
static junit.framework.Test |
suite()
JUNIT
suite static method, which returns the tests associated with
EPPSecureAuthInfoTst . |
protected void |
tearDown()
JUNIT
tearDown , which currently does nothing. |
void |
testContactCreate()
Unit test of the example of passing empty authorization information in an
[RFC5733] contact create command.
|
void |
testContactUpdateUnsetEmpty()
Unit test of the example of unsetting the authorization information with
an empty authorization information in an [RFC5733] contact update command
|
void |
testDomainCreate()
Unit test of the example of passing empty authorization information in an
[RFC5731] domain name create command.
|
void |
testDomainInfo()
Unit test of the example of passing a non-empty authorization information
in an [RFC5731] domain name info command to verify the authorization
information value.
|
void |
testDomainTransfer()
Unit test of the example of passing a non-empty authorization information
in an [RFC5731] domain name transfer request command to authorize the
transfer.
|
void |
testDomainUpdateSet()
Unit test of the example of removing the "clientTransferProhibited" status
and setting the authorization information in an [RFC5731] domain name
update command.
|
void |
testDomainUpdateUnsetEmpty()
Unit test of the example of unsetting the authorization information with
an empty authorization information in an [RFC5731] domain name update
command.
|
void |
testDomainUpdateUnsetNull()
Unit test of the example of unsetting the authorization information
explicitly in an [RFC5731] domain name update command.
|
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 EPPSecureAuthInfoTst(java.lang.String name)
name
- Name of testpublic void testDomainCreate()
public void testContactCreate()
public void testDomainUpdateSet()
public void testDomainUpdateUnsetNull()
public void testDomainUpdateUnsetEmpty()
public void testContactUpdateUnsetEmpty()
public void testDomainInfo()
public void testDomainTransfer()
protected void setUp()
setUp
method, which sets the default client Id to
"theRegistrar" and initializes the EPPDomainMapFactory
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
EPPSecureAuthInfoTst
.public static void main(java.lang.String[] args)
true
) or off (
false
). If validate is not specified, validation will be off.args
- Command line argumentspublic static void setNumIterations(long aNumIterations)
aNumIterations
- number of iterations to run per test