tests
Class TravelPartConnectionChunkTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bytests.TravelPartConnectionChunkTest
All Implemented Interfaces:
junit.framework.Test

public class TravelPartConnectionChunkTest
extends junit.framework.TestCase

Tests the TravelPartConnectionChunk class.

Author:
Piotrek

Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TravelPartConnectionChunkTest()
           
 
Method Summary
 void testClone()
          Tests cloning.
 void testGetDestinationStationIndex()
          Test the getting of the index of the destination station.
 void testGetEndDate()
          Test the getting of the end date.
 void testGetOriginStationIndex()
          Test the getting of the index of the origin station.
 void testGetRealConnection()
          Test the getting of the connection this chunk is taken by.
 void testGetRevertedPart()
          Tests if the use of this method is disabled.
 void testGetStartDate()
          Test the getting of the start date.
 void testSetDestinationStationIndex()
          Test the setting of the index of the destination station.
 void testSetEndDate()
          Test the setting of the end date.
 void testSetOriginStationIndex()
          Test the setting of the index of the origin station.
 void testSetRealConnection()
          Test the setting of the connection this chunk is taken by.
 void testSetStartDate()
          Test the setting of the start date.
 void testTravelPartConnectionChunk()
          Tests the 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TravelPartConnectionChunkTest

public TravelPartConnectionChunkTest()
Method Detail

testGetRevertedPart

public void testGetRevertedPart()
Tests if the use of this method is disabled.


testTravelPartConnectionChunk

public void testTravelPartConnectionChunk()
Tests the constructor.


testGetOriginStationIndex

public void testGetOriginStationIndex()
Test the getting of the index of the origin station.


testSetOriginStationIndex

public void testSetOriginStationIndex()
Test the setting of the index of the origin station.


testGetDestinationStationIndex

public void testGetDestinationStationIndex()
Test the getting of the index of the destination station.


testSetDestinationStationIndex

public void testSetDestinationStationIndex()
Test the setting of the index of the destination station.


testGetRealConnection

public void testGetRealConnection()
Test the getting of the connection this chunk is taken by.


testSetRealConnection

public void testSetRealConnection()
Test the setting of the connection this chunk is taken by.


testGetStartDate

public void testGetStartDate()
Test the getting of the start date.


testSetStartDate

public void testSetStartDate()
Test the setting of the start date.


testGetEndDate

public void testGetEndDate()
Test the getting of the end date.


testSetEndDate

public void testSetEndDate()
Test the setting of the end date.


testClone

public void testClone()
Tests cloning.