org.hackystat.utilities.time.period
Class TestMonth

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.hackystat.utilities.time.period.TestMonth
All Implemented Interfaces:
junit.framework.Test

public class TestMonth
extends junit.framework.TestCase

Tests the Month and Months implementations.

Author:
Hongbing Kou, Philip Johnson

Constructor Summary
TestMonth()
           
 
Method Summary
 void testMonth()
          Test month constructor and operation.
 void testMonth2()
          Tests month metods.
 void testMonths()
          Test month collection.
 void testXmlMonth()
          Test the XMLGregorianCalendar constructor.
 
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

TestMonth

public TestMonth()
Method Detail

testXmlMonth

public void testXmlMonth()
                  throws java.lang.Exception
Test the XMLGregorianCalendar constructor.

Throws:
java.lang.Exception - If problems.

testMonth

public void testMonth()
Test month constructor and operation.


testMonth2

public void testMonth2()
Tests month metods.


testMonths

public void testMonths()
Test month collection.