jasi.unittest.sim
Class TestCalendar

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by jasi.unittest.sim.TestCalendar
All Implemented Interfaces:
junit.framework.Test

public class TestCalendar
extends junit.framework.TestCase

Testing simulation calendar


Field Summary
protected  Calendar calendar
          The calendar.
protected  Time start
          The calendars start time.
 
Constructor Summary
TestCalendar()
           
 
Method Summary
protected  void setUp()
          This method executes before each test method.
 void testConstruction()
          Test construction.
 void testCurrentTime()
          Test setting current Time.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

calendar

protected Calendar calendar
The calendar.


start

protected final Time start
The calendars start time.

Constructor Detail

TestCalendar

public TestCalendar()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
This method executes before each test method.

Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception
See Also:
TestCase.setUp()

testConstruction

public void testConstruction()
Test construction.


testCurrentTime

public void testCurrentTime()
Test setting current Time.