org.apache.commons.net.ntp
Class TimeStampTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.net.ntp.TimeStampTest
All Implemented Interfaces:
junit.framework.Test

public class TimeStampTest
extends junit.framework.TestCase

Test class that validates assertions for the basic TimeStamp operations and comparisons.

Author:
Jason Mathews, MITRE Corp

Constructor Summary
TimeStampTest()
           
 
Method Summary
static void main(String[] args)
          main for running the test.
 void testCompare()
           
 void testDateConversion()
           
 void testUTCString()
           
 
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

TimeStampTest

public TimeStampTest()
Method Detail

main

public static void main(String[] args)
main for running the test.


testCompare

public void testCompare()

testUTCString

public void testUTCString()

testDateConversion

public void testDateConversion()


Copyright © 1997-2010 Apache Software Foundation. All Rights Reserved.