|
||||||||||
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.PolygonFigureTest
public class PolygonFigureTest
TestCase PolygonFigureTest is generated by JUnitDoclet to hold the tests for PolygonFigure.
PolygonFigure
Constructor Summary | |
---|---|
PolygonFigureTest(java.lang.String name)
Constructor PolygonFigureTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
PolygonFigure |
createInstance()
Factory method for instances of the class to be tested. |
void |
testAddPoint()
Method testAddPoint is testing addPoint |
void |
testBasicDisplayBox()
Method testBasicDisplayBox is testing basicDisplayBox |
void |
testBasicMoveBy()
Method testBasicMoveBy is testing basicMoveBy |
void |
testBounds()
Method testBounds is testing bounds |
void |
testCenter()
Method testCenter is testing center |
void |
testChop()
Method testChop is testing chop |
void |
testConnectorAt()
Method testConnectorAt is testing connectorAt |
void |
testContainsPoint()
Method testContainsPoint is testing containsPoint |
void |
testDisplayBox()
Method testDisplayBox is testing displayBox |
void |
testDrawBackground()
Method testDrawBackground is testing drawBackground |
void |
testDrawFrame()
Method testDrawFrame is testing drawFrame |
void |
testFindSegment()
Method testFindSegment is testing findSegment |
void |
testGetInternalPolygon()
Method testGetInternalPolygon is testing getInternalPolygon |
void |
testGetPolygon()
Method testGetPolygon is testing getPolygon |
void |
testHandles()
Method testHandles is testing handles |
void |
testInsertPointAt()
Method testInsertPointAt is testing insertPointAt |
void |
testIsEmpty()
Method testIsEmpty is testing isEmpty |
void |
testLocator()
Method testLocator is testing locator |
void |
testOutermostPoint()
Method testOutermostPoint is testing outermostPoint |
void |
testPointAt()
Method testPointAt is testing pointAt |
void |
testPointCount()
Method testPointCount is testing pointCount |
void |
testPoints()
Method testPoints is testing points |
void |
testRead()
Method testRead is testing read |
void |
testRemovePointAt()
Method testRemovePointAt is testing removePointAt |
void |
testScaleRotate()
Method testScaleRotate is testing scaleRotate |
void |
testSetPointAt()
Method testSetPointAt is testing setPointAt |
void |
testSmoothPoints()
Method testSmoothPoints is testing smoothPoints |
void |
testSplitSegment()
Method testSplitSegment is testing splitSegment |
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. |
void |
testWrite()
Method testWrite is testing write |
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 PolygonFigureTest(java.lang.String name)
Method Detail |
---|
public PolygonFigure createInstance() throws java.lang.Exception
java.lang.Exception
public void testDisplayBox() throws java.lang.Exception
java.lang.Exception
PolygonFigure.displayBox()
public void testIsEmpty() throws java.lang.Exception
java.lang.Exception
PolygonFigure.isEmpty()
public void testHandles() throws java.lang.Exception
java.lang.Exception
PolygonFigure.handles()
public void testBasicDisplayBox() throws java.lang.Exception
java.lang.Exception
PolygonFigure.basicDisplayBox(java.awt.Point, java.awt.Point)
public void testGetPolygon() throws java.lang.Exception
java.lang.Exception
PolygonFigure.getPolygon()
public void testGetInternalPolygon() throws java.lang.Exception
java.lang.Exception
PolygonFigure.getInternalPolygon()
public void testCenter() throws java.lang.Exception
java.lang.Exception
PolygonFigure.center()
public void testPoints() throws java.lang.Exception
java.lang.Exception
PolygonFigure.points()
public void testPointCount() throws java.lang.Exception
java.lang.Exception
PolygonFigure.pointCount()
public void testBasicMoveBy() throws java.lang.Exception
java.lang.Exception
PolygonFigure.basicMoveBy(int, int)
public void testDrawBackground() throws java.lang.Exception
java.lang.Exception
PolygonFigure.drawBackground(java.awt.Graphics)
public void testDrawFrame() throws java.lang.Exception
java.lang.Exception
PolygonFigure.drawFrame(java.awt.Graphics)
public void testContainsPoint() throws java.lang.Exception
java.lang.Exception
PolygonFigure.containsPoint(int, int)
public void testConnectorAt() throws java.lang.Exception
java.lang.Exception
PolygonFigure.connectorAt(int, int)
public void testAddPoint() throws java.lang.Exception
java.lang.Exception
PolygonFigure.addPoint(int, int)
public void testSetPointAt() throws java.lang.Exception
java.lang.Exception
PolygonFigure.setPointAt(java.awt.Point, int)
public void testInsertPointAt() throws java.lang.Exception
java.lang.Exception
PolygonFigure.insertPointAt(java.awt.Point, int)
public void testRemovePointAt() throws java.lang.Exception
java.lang.Exception
PolygonFigure.removePointAt(int)
public void testScaleRotate() throws java.lang.Exception
java.lang.Exception
PolygonFigure.scaleRotate(java.awt.Point, java.awt.Polygon, java.awt.Point)
public void testSmoothPoints() throws java.lang.Exception
java.lang.Exception
PolygonFigure.smoothPoints()
public void testSplitSegment() throws java.lang.Exception
java.lang.Exception
PolygonFigure.splitSegment(int, int)
public void testPointAt() throws java.lang.Exception
java.lang.Exception
PolygonFigure.pointAt(int)
public void testOutermostPoint() throws java.lang.Exception
java.lang.Exception
PolygonFigure.outermostPoint()
public void testFindSegment() throws java.lang.Exception
java.lang.Exception
PolygonFigure.findSegment(int, int)
public void testChop() throws java.lang.Exception
java.lang.Exception
PolygonFigure.chop(java.awt.Point)
public void testWrite() throws java.lang.Exception
java.lang.Exception
PolygonFigure.write(org.jhotdraw.util.StorableOutput)
public void testRead() throws java.lang.Exception
java.lang.Exception
PolygonFigure.read(org.jhotdraw.util.StorableInput)
public void testLocator() throws java.lang.Exception
java.lang.Exception
PolygonFigure.locator(int)
public void testBounds() throws java.lang.Exception
java.lang.Exception
PolygonFigure.bounds(java.awt.Polygon)
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 |