tests
Class TravelPartTest

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

public class TravelPartTest
extends junit.framework.TestCase

Tests the TravelPart class.

Author:
Piotrek

Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TravelPartTest()
           
 
Method Summary
 void testConstructor()
          Tests the constructor.
 void testGetDestination()
          Tests the GetDestination method.
 void testGetMeanOfTransportation()
          Tests the GetMeanOfTransportation() method.
 void testGetOrigin()
          Tests the GetOrigin method.
 void testGetRevertedPart()
          Tests the getting of the reverted travel part.
 
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

TravelPartTest

public TravelPartTest()
Method Detail

testConstructor

public void testConstructor()
Tests the constructor.


testGetMeanOfTransportation

public void testGetMeanOfTransportation()
Tests the GetMeanOfTransportation() method.


testGetOrigin

public void testGetOrigin()
Tests the GetOrigin method.


testGetDestination

public void testGetDestination()
Tests the GetDestination method.


testGetRevertedPart

public void testGetRevertedPart()
Tests the getting of the reverted travel part.