Class RZExampleTst
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.verisign.epp.rootzone.interfaces.RZExampleTst
- All Implemented Interfaces:
junit.framework.Test
public class RZExampleTst
extends junit.framework.TestCase
Test of the use of the
RZDomain and EPPChange
interfaces. This test utilizes the EPP session pool and exercises some of the
operations defined in RZDomain and EPPChange.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidUnit 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 voidPrint the end of a test with theThreadname if the current thread is aTestThread.static voidprintStart(String aTest) Print the start of a test with theThreadname if the current thread is aTestThread.protected voidsetUp()JUNITsetUpmethodstatic junit.framework.Testsuite()JUNITsuitestatic method, which returns the tests associated withRZExampleTst.protected voidtearDown()JUNITtearDown, which currently does nothing.voidtest1()voidtest2()voidUnit test ofEPPSession.endSession.Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
Constructor Details
-
RZExampleTst
Allocates anRZExampleTstwith a logical name. The constructor will initialize the base classTestCasewith the logical name.- Parameters:
name- Logical name of the test
-
-
Method Details
-
test1
public void test1() -
test2
public void test2() -
testEndSession
public void testEndSession()Unit test ofEPPSession.endSession. One session in the session pool wil be ended. -
setUp
protected void setUp()JUNITsetUpmethod- Overrides:
setUpin classjunit.framework.TestCase
-
tearDown
protected void tearDown()JUNITtearDown, which currently does nothing.- Overrides:
tearDownin classjunit.framework.TestCase
-
suite
public static junit.framework.Test suite()JUNITsuitestatic method, which returns the tests associated withRZExampleTst.- Returns:
- DOCUMENT ME!
-
main
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). If validate is not specified, validation will be off.
- Parameters:
args- DOCUMENT ME!
-
printStart
Print the start of a test with theThreadname if the current thread is aTestThread.- Parameters:
aTest- name for the test
-
printEnd
Print the end of a test with theThreadname if the current thread is aTestThread.- Parameters:
aTest- name for the test
-