|
||||||||||
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.figures.PolyLineFigureTest
public class PolyLineFigureTest
TestCase PolyLineFigureTest is generated by JUnitDoclet to hold the tests for PolyLineFigure.
PolyLineFigure
Constructor Summary | |
---|---|
PolyLineFigureTest(java.lang.String name)
Constructor PolyLineFigureTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
PolyLineFigure |
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 |
testConnectorAt()
Method testConnectorAt is testing connectorAt |
void |
testContainsPoint()
Method testContainsPoint is testing containsPoint |
void |
testDisplayBox()
Method testDisplayBox is testing displayBox |
void |
testDraw()
Method testDraw is testing draw |
void |
testFindSegment()
Method testFindSegment is testing findSegment |
void |
testGetAttribute()
Method testGetAttribute is testing getAttribute |
void |
testHandles()
Method testHandles is testing handles |
void |
testInsertPointAt()
Method testInsertPointAt is testing insertPointAt |
void |
testIsEmpty()
Method testIsEmpty is testing isEmpty |
void |
testJoinSegments()
Method testJoinSegments is testing joinSegments |
void |
testLocator()
Method testLocator is testing locator |
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 |
testSetAttribute()
Method testSetAttribute is testing setAttribute |
void |
testSetGetEndDecoration()
Method testSetGetEndDecoration is testing setEndDecoration and getEndDecoration together by setting some value and verifying it by reading. |
void |
testSetGetStartDecoration()
Method testSetGetStartDecoration is testing setStartDecoration and getStartDecoration together by setting some value and verifying it by reading. |
void |
testSetPointAt()
Method testSetPointAt is testing setPointAt |
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 PolyLineFigureTest(java.lang.String name)
Method Detail |
---|
public PolyLineFigure createInstance() throws java.lang.Exception
java.lang.Exception
public void testDisplayBox() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.displayBox()
public void testIsEmpty() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.isEmpty()
public void testHandles() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.handles()
public void testBasicDisplayBox() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.basicDisplayBox(java.awt.Point, java.awt.Point)
public void testAddPoint() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.addPoint(int, int)
public void testPoints() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.points()
public void testPointCount() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.pointCount()
public void testSetPointAt() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.setPointAt(java.awt.Point, int)
public void testInsertPointAt() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.insertPointAt(java.awt.Point, int)
public void testRemovePointAt() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.removePointAt(int)
public void testSplitSegment() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.splitSegment(int, int)
public void testPointAt() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.pointAt(int)
public void testJoinSegments() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.joinSegments(int, int)
public void testConnectorAt() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.connectorAt(int, int)
public void testSetGetStartDecoration() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.setStartDecoration(org.jhotdraw.figures.LineDecoration)
,
PolyLineFigure.getStartDecoration()
public void testSetGetEndDecoration() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.setEndDecoration(org.jhotdraw.figures.LineDecoration)
,
PolyLineFigure.getEndDecoration()
public void testDraw() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.draw(java.awt.Graphics)
public void testContainsPoint() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.containsPoint(int, int)
public void testFindSegment() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.findSegment(int, int)
public void testGetAttribute() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.getAttribute(java.lang.String)
public void testSetAttribute() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.setAttribute(java.lang.String, java.lang.Object)
public void testWrite() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.write(org.jhotdraw.util.StorableOutput)
public void testRead() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.read(org.jhotdraw.util.StorableInput)
public void testLocator() throws java.lang.Exception
java.lang.Exception
PolyLineFigure.locator(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 |