|
|||||||||||
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.WorldTest
Tests the World class.
Field Summary |
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary | |
WorldTest()
|
Method Summary | |
void |
testAddAirport()
Tests the addition of airports to the world. |
void |
testAddBusStop()
Tests adding of bus stops to the world. |
void |
testAddCity()
Tests the adding of cities. |
void |
testAddConnection()
Tests adding of connections to the world. |
void |
testAddHarbour()
Tests the adding of harbours to the world. |
void |
testAddTrainStation()
Tests the adding of the train stations to the world. |
void |
testClear()
Tests the Clear() method. |
void |
testGetInstance()
Tests the getting of the World instance. |
void |
testGetNextConnectionName()
Tests the getting of names for the connections. |
void |
testRemoveAirport()
Tests the removing of airports from the world. |
void |
testRemoveBusStop()
Tests the removing of bus stops from the world. |
void |
testRemoveCity()
Tests the removing of cities from the world. |
void |
testRemoveConnection()
Tests the removing of connections from the world. |
void |
testRemoveHarbour()
Tests the removing of the harbours from the world. |
void |
testRemoveTrainStation()
Tests the removing of the train stations from the world. |
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 WorldTest()
Method Detail |
public void testGetInstance()
public void testClear()
public void testAddCity()
public void testRemoveCity()
public void testAddAirport()
public void testRemoveAirport()
public void testAddTrainStation()
public void testRemoveTrainStation()
public void testAddBusStop()
public void testRemoveBusStop()
public void testAddHarbour()
public void testRemoveHarbour()
public void testAddConnection()
public void testRemoveConnection()
public void testGetNextConnectionName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |