Class NSPollTst
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- com.verisign.epp.namestore.interfaces.NSPollTst
-
-
Constructor Summary
Constructors Constructor Description NSPollTst(java.lang.String name)Allocates anNSPollTstwith a logical name.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(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 voidprintEnd(java.lang.String aTest)Print the end of a test with theThreadname if the current thread is aTestThread.static voidprintStart(java.lang.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 withNSPollTst.protected voidtearDown()JUNITtearDown, which currently does nothing.voidtestEndSession()Unit test ofEPPSession.endSession.voidtestPoll()Unit test ofEPPSession.sendPollcommand.-
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
-
-
-
-
Method Detail
-
testPoll
public void testPoll()
Unit test ofEPPSession.sendPollcommand.
-
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 withNSPollTst.- Returns:
NSPollTsttests
-
main
public 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). If validate is not specified, validation will be off.
- Parameters:
args- DOCUMENT ME!
-
printStart
public static void printStart(java.lang.String aTest)
Print the start of a test with theThreadname if the current thread is aTestThread.- Parameters:
aTest- name for the test
-
printEnd
public static void printEnd(java.lang.String aTest)
Print the end of a test with theThreadname if the current thread is aTestThread.- Parameters:
aTest- name for the test
-
-