|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.jhotdraw.test.util.GraphLayoutTest
public class GraphLayoutTest
TestCase GraphLayoutTest is generated by JUnitDoclet to hold the tests for GraphLayout.
GraphLayout
Constructor Summary | |
---|---|
GraphLayoutTest(java.lang.String name)
Constructor GraphLayoutTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
GraphLayout |
createInstance()
Factory method for instances of the class to be tested. |
void |
testAddEdge()
Method testAddEdge is testing addEdge |
void |
testAddNode()
Method testAddNode is testing addNode |
void |
testFigureChanged()
Method testFigureChanged is testing figureChanged |
void |
testRelax()
Method testRelax is testing relax |
void |
testRemove()
Method testRemove is testing remove |
void |
testVault()
JUnitDoclet moves marker to this method, if there is not match for them in the regenerated code and if the marker is not empty. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, getName, run, run, runBare, setName, 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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GraphLayoutTest(java.lang.String name)
Method Detail |
---|
public GraphLayout createInstance() throws java.lang.Exception
java.lang.Exception
public void testAddNode() throws java.lang.Exception
java.lang.Exception
GraphLayout.addNode(org.jhotdraw.framework.Figure)
public void testAddEdge() throws java.lang.Exception
java.lang.Exception
GraphLayout.addEdge(org.jhotdraw.framework.ConnectionFigure, int)
public void testRelax() throws java.lang.Exception
java.lang.Exception
GraphLayout.relax()
public void testFigureChanged() throws java.lang.Exception
java.lang.Exception
GraphLayout.figureChanged(org.jhotdraw.framework.FigureChangeEvent)
public void testRemove() throws java.lang.Exception
java.lang.Exception
GraphLayout.remove()
public void testVault() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |