|
|||||||||||
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.ConnectionTest
Tests the Connection class.
Field Summary |
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary | |
ConnectionTest()
|
Method Summary | |
void |
testCalendarToConnectionDayOfWeek()
Tests converting of java calendar day of week to the connection's day of week. |
void |
testConnection()
Tests the constructor. |
void |
testEquals()
Tests the equality test. |
void |
testGetArrivalTime()
Tests getting of the arrival time for the stations. |
void |
testGetDepartureTime()
Tests getting of the departure time for the stations. |
void |
testGetStationIndex()
Tests the method returning the index of the station on the list of stations of the connection. |
void |
testGetStationsCount()
Tests getting of the stations count. |
void |
testIsEqual()
Tests the equality test. |
void |
testShiftDayOfWeek()
Tests shifting days of week. |
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 ConnectionTest()
Method Detail |
public void testConnection()
public void testGetStationIndex()
public void testGetArrivalTime()
public void testGetDepartureTime()
public void testCalendarToConnectionDayOfWeek()
public void testShiftDayOfWeek()
public void testGetStationsCount()
public void testEquals()
public void testIsEqual()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |