public class ChinaVerificationCodeTst
extends junit.framework.TestCase
NSDomain
,
EPPNameVerification
Constructor and Description |
---|
ChinaVerificationCodeTst(java.lang.String name)
Allocates an
ChinaVerificationCodeTst 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 |
makeClientTransId()
Make unique client transaction identifier.
|
java.lang.String |
makeDomainName(java.lang.String aPrefix,
java.lang.String aTld)
This method tries to generate a unique String as Domain Name and Name
Server
|
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 ChinaVerificationCodeTst . |
protected void |
tearDown()
JUNIT
tearDown , which currently does nothing. |
void |
testDelayedDomainVerification()
Execute the China Delayed Domain Verification Flow that includes the
following steps:
Check availability of domain name in Registry, where the domain must be available Create Real Name Verification Code (RNVC) with VSP using test registrant data. |
void |
testDelayedRealNameVerification()
Execute the China Delayed Real-Name Verification Flow that includes the
following steps:
Check availability of domain name in Registry, where the domain must be available Check availability (not restricted or prohibited) of domain label in VSP, where the domain label must be available Create Domain Name Verification Code (DNVC) with VSP using the domain label Create Domain Name in Registry with DNVC After Real-Name Compliance Grace Period, Poll Request to get the Change Poll Message. |
void |
testExpedientRegistration()
Execute the China Expedient Registration Flow that includes the following
steps:
Check availability of domain name in Registry, where the domain must be available Create Domain Name in Registry with no codes Check availability (not restricted or prohibited) of domain label in VSP, where the domain label must be available Create Domain Name Verification Code (DNVC) with VSP using the domain label Create Real Name Verification Code (RNVC) with VSP using test registrant data. |
void |
testNormalRegistrationOperations()
Execute the China Normal Registration Operations Flow that includes the
following steps:
Check availability of domain name in Registry, where the domain must be available Check availability (not restricted or prohibited) of domain label in VSP, where the domain label must be available Create Domain Name Verification Code (DNVC) with VSP using the domain label Create Domain Name in Registry with DNVC Create Real Name Verification Code (RNVC) with VSP using test registrant data. |
void |
testTransferOfCompliantDomain()
Execute the China Transfer of Compliant Domain Flow that includes the
following steps:
Gaining Registrar Info Domain for Verification Compliance Information, which is compliant. |
void |
testTransferOfNonCompliantDomain()
Execute the China Transfer of Non-Compliant Domain Flow that includes the
following steps:
Gaining Registrar Info Domain for Verification Compliance Information, which is not compliant (pending compliance in test). |
void |
testUpfrontVerification()
Execute the China Upfront Verification Flow that includes the following
steps:
Check availability of domain name in Registry, where the domain must be available Check availability (not restricted or prohibited) of domain label in VSP, where the domain label must be available Create Domain Name Verification Code (DNVC) with VSP using the domain label Create Real Name Verification Code (RNVC) with VSP using test registrant data. |
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 ChinaVerificationCodeTst(java.lang.String name)
ChinaVerificationCodeTst
with a logical name.
The constructor will initialize the base class TestCase
with
the logical name.name
- Logical name of the testpublic void testNormalRegistrationOperations()
public void testUpfrontVerification()
public void testExpedientRegistration()
public void testDelayedRealNameVerification()
public void testDelayedDomainVerification()
public void testTransferOfCompliantDomain()
public void testTransferOfNonCompliantDomain()
protected void setUp()
setUp
methodsetUp
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 ChinaVerificationCodeTst
.public static void main(java.lang.String[] args)
true
) or off (
false
). If validate is not specified, validation will be
off.args
- Program argumentspublic 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(java.lang.String aPrefix, java.lang.String aTld)
aPrefix
- Domain name prefix to useaTld
- TLD to use in the domain nameaPrefix
and
aTld
.public java.lang.String makeClientTransId()
Copyright © VeriSign Inc. All Rights Reserved.