tests
Class TravelPartsListTest

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

public class TravelPartsListTest
extends junit.framework.TestCase

Tests the TravelPartsList class.

Author:
Piotrek

Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TravelPartsListTest()
           
 
Method Summary
 void testAddTravelPart()
          Tests the adding of a single TravelPart to the list.
 void testAddTravelParts()
          Tests the adding of a list of parts.
 void testGetChangesCount()
          Tests the getting of changes count.
 void testGetFirstTravelPart()
          Tests the getting of the first part from the list.
 void testGetLastTravelPart()
          Tests the getting of the last part from the list.
 void testGetLength()
          Tests the getting of the total length of all the parts in the list.
 void testGetRevertList()
          Tests getting of the reverted list.
 void testGetTravelPartsCount()
          Tests the getting of the count of travel parts.
 void testInitialValueOfFContainsFeedback()
          Tests the initial value of the fContainsFeedback flag.
 void testIsEqual()
          Tests the equality test.
 void testTravelPartsList()
          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

TravelPartsListTest

public TravelPartsListTest()
Method Detail

testTravelPartsList

public void testTravelPartsList()
Tests the constructor.


testAddTravelPart

public void testAddTravelPart()
Tests the adding of a single TravelPart to the list.


testAddTravelParts

public void testAddTravelParts()
Tests the adding of a list of parts.


testGetChangesCount

public void testGetChangesCount()
Tests the getting of changes count.


testGetFirstTravelPart

public void testGetFirstTravelPart()
Tests the getting of the first part from the list.


testGetLastTravelPart

public void testGetLastTravelPart()
Tests the getting of the last part from the list.


testGetTravelPartsCount

public void testGetTravelPartsCount()
Tests the getting of the count of travel parts.


testGetLength

public void testGetLength()
Tests the getting of the total length of all the parts in the list.


testIsEqual

public void testIsEqual()
Tests the equality test.


testGetRevertList

public void testGetRevertList()
Tests getting of the reverted list.


testInitialValueOfFContainsFeedback

public void testInitialValueOfFContainsFeedback()
Tests the initial value of the fContainsFeedback flag.