|
||||||||||
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.contrib.DiamondFigureTest
public class DiamondFigureTest
TestCase DiamondFigureTest is generated by JUnitDoclet to hold the tests for DiamondFigure.
DiamondFigure
Constructor Summary | |
---|---|
DiamondFigureTest(java.lang.String name)
Constructor DiamondFigureTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
DiamondFigure |
createInstance()
Factory method for instances of the class to be tested. |
void |
testChop()
Method testChop is testing chop |
void |
testConnectionInsets()
Method testConnectionInsets is testing connectionInsets |
void |
testConnectorAt()
Method testConnectorAt is testing connectorAt |
void |
testContainsPoint()
Method testContainsPoint is testing containsPoint |
void |
testDraw()
Method testDraw is testing draw |
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 DiamondFigureTest(java.lang.String name)
Method Detail |
---|
public DiamondFigure createInstance() throws java.lang.Exception
java.lang.Exception
public void testDraw() throws java.lang.Exception
java.lang.Exception
DiamondFigure.draw(java.awt.Graphics)
public void testConnectionInsets() throws java.lang.Exception
java.lang.Exception
DiamondFigure.connectionInsets()
public void testContainsPoint() throws java.lang.Exception
java.lang.Exception
DiamondFigure.containsPoint(int, int)
public void testChop() throws java.lang.Exception
java.lang.Exception
DiamondFigure.chop(java.awt.Point)
public void testConnectorAt() throws java.lang.Exception
java.lang.Exception
DiamondFigure.connectorAt(int, int)
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 |