jasi.unittest.sim.airtraffic
Class BasicTestCaseAirtraffic

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by jasi.unittest.sim.BasicTestCase
              extended by jasi.unittest.sim.airtraffic.BasicTestCaseAirtraffic
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
TestAirtraffic1, TestAirtraffic2

public class BasicTestCaseAirtraffic
extends BasicTestCase

The application for the air traffic model.


Constructor Summary
BasicTestCaseAirtraffic()
           
 
Method Summary
protected  void createArchive(Simulation sim)
          Create the simulation's archive.
protected  void printSimulation(Simulation sim, java.lang.String topic)
          Print the state of the simulation.
protected  void runSimulation(Simulation sim, Time end, double speed)
          Run the simulation with a given speed and end time.
 
Methods inherited from class jasi.unittest.sim.BasicTestCase
writeAndReadXML, writeAndReadXML
 
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

BasicTestCaseAirtraffic

public BasicTestCaseAirtraffic()
Method Detail

createArchive

protected final void createArchive(Simulation sim)
Create the simulation's archive.

Parameters:
sim - The simulation

printSimulation

protected final void printSimulation(Simulation sim,
                                     java.lang.String topic)
Print the state of the simulation.

Parameters:
sim - The simulation
topic - The topic.

runSimulation

protected final void runSimulation(Simulation sim,
                                   Time end,
                                   double speed)
Run the simulation with a given speed and end time.

Parameters:
sim - The simulation
end - The end time of the simulation.
speed - The speed of the simulation.