|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
tests.TravelTimeTest
Tests the TravelTime class.
Field Summary |
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary | |
TravelTimeTest()
|
Method Summary | |
void |
testGetChangeTime()
Tests the getting of the change times. |
void |
testGetDatesDifference()
Tests counting of a time difference of the two dates in minutes. |
void |
testGetShiftTime()
Tests the getting of the shift time in a string format. |
void |
testGetTime()
Tests the getting of the time in a string format. |
void |
testGetTimeSinceSunday()
Test getting the time since Sunday in minutes for the given day of week and time on that day (also in minutes). |
void |
testGetTimesPerDay()
Tests the getting the times per day generation. |
void |
testGetTravelTime()
Tests the counting of the travel time between locations. |
void |
testParseDuration()
Test the parsing of the duration time. |
void |
testParseTime()
Tests the parsing of time from a string. |
void |
testShiftDate()
Tests shifting of dates by the given number of minutes. |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TravelTimeTest()
Method Detail |
public void testGetTravelTime()
public void testGetChangeTime()
public void testGetShiftTime()
public void testGetTime()
public void testParseDuration()
public void testParseTime()
public void testGetTimesPerDay()
public void testGetTimeSinceSunday()
public void testShiftDate()
public void testGetDatesDifference()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |