|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
test.airspace.AirControlTest
public class AirControlTest
Test class for the class AirControl.
Field Summary | |
---|---|
(package private) airspace.AirControl |
airControl
AirControl. |
(package private) java.util.ArrayList[] |
arcPoints
Arc points []. |
(package private) java.util.ArrayList<calculation.Vertex> |
arcPointsMp
Arc points Vertex. |
(package private) calculation.BuildTree |
buildTree
BuilTree. |
(package private) general.DataCollection |
dc
Datacollection. |
(package private) calculation.Graph |
g
Graph. |
private calculation.Vertex[][] |
graph
Graph for testing. |
private static int |
MAP_HEIGHT
Height of the test graph. |
private static int |
MAP_WIDTH
Width of the test graph. |
private calculation.Vertex |
nullVertex
Nullvertex. |
(package private) general.Parameters |
parameters
Parameters. |
(package private) java.util.ArrayList<calculation.Vertex> |
path1
Path 1. |
(package private) java.util.ArrayList<calculation.Vertex> |
path2
Path 2. |
(package private) java.util.ArrayList<calculation.Vertex> |
path3
Path 3. |
(package private) java.util.ArrayList<calculation.Vertex> |
path4
Path 4. |
(package private) airspace.Plane |
plane
Plane. |
(package private) java.util.ArrayList<airspace.Plane> |
planes
Planes. |
(package private) calculation.Tree |
tree
Tree. |
(package private) calculation.Tree |
tree2
Tree2. |
(package private) calculation.TreeNode |
treeNode
TreeNode. |
(package private) calculation.Vertex |
vertex
Vertex. |
Constructor Summary | |
---|---|
AirControlTest()
|
Method Summary | |
---|---|
void |
setUp()
Setup. |
void |
testAddPlane()
Test addPlane method. |
void |
testAirControl()
Test airControls method. |
void |
testClosestMergePoint()
Test closestMergePoint method. |
void |
testClosestTNToPlane()
Test closestTNToPlane method. |
void |
testControlPlanes()
Test controlPlanes() method. |
void |
testFlyPlane()
Test flyPlane method. |
void |
testGetAirportStatus()
Test getAirportStatus() method. |
void |
testGetArrivedPlanes()
Test getArrivedPlanes() method. |
void |
testGetNumberOfPlanes()
Test getNumberOfPlanes() method. |
void |
testGetPlanes()
Test getPlanes() method. |
void |
testNewPath()
Test newPath() method. |
void |
testSafetyZoneCheck()
Test safetyZoneCheck() method. |
void |
testSetBuildTreeGetTree()
Test setBuildTree() method. |
void |
testSort()
Test sort() method. |
void |
testUpdate()
Test update() method. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
airspace.AirControl airControl
java.util.ArrayList[] arcPoints
java.util.ArrayList<calculation.Vertex> arcPointsMp
calculation.BuildTree buildTree
general.DataCollection dc
calculation.Graph g
private calculation.Vertex[][] graph
private static final int MAP_HEIGHT
private static final int MAP_WIDTH
private calculation.Vertex nullVertex
general.Parameters parameters
java.util.ArrayList<calculation.Vertex> path1
java.util.ArrayList<calculation.Vertex> path2
java.util.ArrayList<calculation.Vertex> path3
java.util.ArrayList<calculation.Vertex> path4
airspace.Plane plane
java.util.ArrayList<airspace.Plane> planes
calculation.Tree tree
calculation.Tree tree2
calculation.TreeNode treeNode
calculation.Vertex vertex
Constructor Detail |
---|
public AirControlTest()
Method Detail |
---|
public void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
- exceptionpublic void testAddPlane()
public void testAirControl()
public void testClosestMergePoint()
public void testClosestTNToPlane()
public void testControlPlanes()
public void testFlyPlane()
public void testGetAirportStatus()
public void testGetArrivedPlanes()
public void testGetNumberOfPlanes()
public void testGetPlanes()
public void testNewPath()
public void testSafetyZoneCheck()
public void testSetBuildTreeGetTree()
public void testSort()
public void testUpdate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |