|
|||||||||||
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.ConnectionsFinderTaskTest
Tests the ConnectionsFinderTask class.
Field Summary |
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary | |
ConnectionsFinderTaskTest()
|
Method Summary | |
void |
testAddConnectionChunk()
Tests adding of the single connection chunk. |
void |
testAddVisitedStation()
Tests adding of visited stations. |
void |
testClearVisitedStations()
Tests clearing a list of visited stations. |
void |
testClone()
Tests cloning. |
void |
testConnectionsFinderTask()
Tests the constructor. |
void |
testGetAverageChangeDuration()
Tests getting of the average change duration. |
void |
testGetChangesCount()
Tests getting a number of changes. |
void |
testGetChunk()
Tests getting of the chunks by their indecies. |
void |
testGetConnectionChunks()
Tests getting of the connection chunks iterator. |
void |
testGetConnectionChunksCount()
Tests getting of a number of connection chunks. |
void |
testGetFirstConnectionChunk()
Tests getting of the first connection chunk. |
void |
testGetLastConnectionChunk()
Tests getting of the last connection chunk. |
void |
testGetLastConnectionChunkWithEndDate()
Tests getting of the last connection chunkwith the end date set. |
void |
testGetMaxChangeDuration()
Tests getting of the max change duration. |
void |
testGetTotalDistance()
Tests getting of the total distance. |
void |
testGetTotalDuration()
Tests getting of the total duration of travel. |
void |
testGetUnsetDatesChunksIndecies()
Tests getting of the indecies of the connection chunks with at least one unset date. |
void |
testGetUsedMeansOfTransportation()
Tests getting of the used means of transportation. |
void |
testHasUnsetDatesChunks()
Tests checking if the task has chunks with at least one unset date. |
void |
testHasVisitedStation()
Tests of checking if the given station has been visited. |
void |
testIsSimilar()
Test the similarity test. |
void |
testSetCurrentWorkingData()
Tests setting of the current working data to the same values as of the other task's. |
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 ConnectionsFinderTaskTest()
Method Detail |
public void testConnectionsFinderTask()
public void testAddVisitedStation()
public void testHasVisitedStation()
public void testGetUnsetDatesChunksIndecies()
public void testHasUnsetDatesChunks()
public void testGetChunk()
public void testAddConnectionChunk()
public void testGetConnectionChunks()
public void testGetFirstConnectionChunk()
public void testGetLastConnectionChunk()
public void testGetLastConnectionChunkWithEndDate()
public void testClone()
public void testGetChangesCount()
public void testClearVisitedStations()
public void testSetCurrentWorkingData()
public void testGetConnectionChunksCount()
public void testGetTotalDuration()
public void testIsSimilar()
public void testGetMaxChangeDuration()
public void testGetAverageChangeDuration()
public void testGetTotalDistance()
public void testGetUsedMeansOfTransportation()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |