|
||||||||||
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.TriangleFigureTest
public class TriangleFigureTest
TestCase TriangleFigureTest is generated by JUnitDoclet to hold the tests for TriangleFigure.
TriangleFigure
Constructor Summary | |
---|---|
TriangleFigureTest(java.lang.String name)
Constructor TriangleFigureTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
TriangleFigure |
createInstance()
Factory method for instances of the class to be tested. |
void |
testCenter()
Method testCenter is testing center |
void |
testChop()
Method testChop is testing chop |
void |
testClone()
Method testClone is testing clone |
void |
testConnectionInsets()
Method testConnectionInsets is testing connectionInsets |
void |
testContainsPoint()
Method testContainsPoint is testing containsPoint |
void |
testDraw()
Method testDraw is testing draw |
void |
testGetPolygon()
Method testGetPolygon is testing getPolygon |
void |
testGetRotationAngle()
Method testGetRotationAngle is testing getRotationAngle |
void |
testHandles()
Method testHandles is testing handles |
void |
testRead()
Method testRead is testing read |
void |
testRotate()
Method testRotate is testing rotate |
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 TriangleFigureTest(java.lang.String name)
Method Detail |
---|
public TriangleFigure createInstance() throws java.lang.Exception
java.lang.Exception
public void testHandles() throws java.lang.Exception
java.lang.Exception
TriangleFigure.handles()
public void testRotate() throws java.lang.Exception
java.lang.Exception
TriangleFigure.rotate(double)
public void testGetPolygon() throws java.lang.Exception
java.lang.Exception
TriangleFigure.getPolygon()
public void testDraw() throws java.lang.Exception
java.lang.Exception
TriangleFigure.draw(java.awt.Graphics)
public void testConnectionInsets() throws java.lang.Exception
java.lang.Exception
TriangleFigure.connectionInsets()
public void testContainsPoint() throws java.lang.Exception
java.lang.Exception
TriangleFigure.containsPoint(int, int)
public void testCenter() throws java.lang.Exception
java.lang.Exception
TriangleFigure.center()
public void testChop() throws java.lang.Exception
java.lang.Exception
TriangleFigure.chop(java.awt.Point)
public void testClone() throws java.lang.Exception
java.lang.Exception
TriangleFigure.clone()
public void testGetRotationAngle() throws java.lang.Exception
java.lang.Exception
TriangleFigure.getRotationAngle()
public void testWrite() throws java.lang.Exception
java.lang.Exception
TriangleFigure.write(org.jhotdraw.util.StorableOutput)
public void testRead() throws java.lang.Exception
java.lang.Exception
TriangleFigure.read(org.jhotdraw.util.StorableInput)
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 |