|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.commons.net.time.TimeTCPClientTest
public class TimeTCPClientTest
| Constructor Summary | |
|---|---|
TimeTCPClientTest()
|
|
| Method Summary | |
|---|---|
protected void |
closeConnections()
closes all the connections |
static void |
main(String[] args)
main for running the test. |
protected void |
openConnections()
open connections needed for the tests for the test. |
void |
testCompareTimes()
tests the times retrieved via the Time protocol implementation. |
void |
testInitial()
tests the constant basetime used by TimeClient against tha computed from Calendar class. |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
|---|
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, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TimeTCPClientTest()
| Method Detail |
|---|
public static void main(String[] args)
protected void openConnections()
throws Exception
Exceptionpublic void testInitial()
public void testCompareTimes()
throws Exception
Exceptionprotected void closeConnections()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||