|
||||||||||
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.GeomTest
public class GeomTest
TestCase GeomTest is generated by JUnitDoclet to hold the tests for Geom.
Geom
Constructor Summary | |
---|---|
GeomTest(java.lang.String name)
Constructor GeomTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
Geom |
createInstance()
Factory method for instances of the class to be tested. |
void |
testAngleToPoint()
Method testAngleToPoint is testing angleToPoint |
void |
testBottomLeftCorner()
Method testBottomLeftCorner is testing bottomLeftCorner |
void |
testBottomRightCorner()
Method testBottomRightCorner is testing bottomRightCorner |
void |
testCenter()
Method testCenter is testing center |
void |
testCorner()
Method testCorner is testing corner |
void |
testDirection()
Method testDirection is testing direction |
void |
testDistanceFromLine()
Method testDistanceFromLine is testing distanceFromLine |
void |
testDistanceFromLine2D()
Method testDistanceFromLine2D is testing distanceFromLine2D |
void |
testEast()
Method testEast is testing east |
void |
testIntersect()
Method testIntersect is testing intersect |
void |
testLength()
Method testLength is testing length |
void |
testLength2()
Method testLength2 is testing length2 |
void |
testLineContainsPoint()
Method testLineContainsPoint is testing lineContainsPoint |
void |
testNorth()
Method testNorth is testing north |
void |
testOvalAngleToPoint()
Method testOvalAngleToPoint is testing ovalAngleToPoint |
void |
testPointToAngle()
Method testPointToAngle is testing pointToAngle |
void |
testPolarToPoint()
Method testPolarToPoint is testing polarToPoint |
void |
testRange()
Method testRange is testing range |
void |
testSouth()
Method testSouth is testing south |
void |
testTopLeftCorner()
Method testTopLeftCorner is testing topLeftCorner |
void |
testTopRightCorner()
Method testTopRightCorner is testing topRightCorner |
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 |
testWest()
Method testWest is testing west |
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 GeomTest(java.lang.String name)
Method Detail |
---|
public Geom createInstance() throws java.lang.Exception
java.lang.Exception
public void testLineContainsPoint() throws java.lang.Exception
java.lang.Exception
Geom.lineContainsPoint(int, int, int, int, int, int)
public void testDirection() throws java.lang.Exception
java.lang.Exception
Geom.direction(int, int, int, int)
public void testSouth() throws java.lang.Exception
java.lang.Exception
Geom.south(java.awt.Rectangle)
public void testCenter() throws java.lang.Exception
java.lang.Exception
Geom.center(java.awt.Rectangle)
public void testWest() throws java.lang.Exception
java.lang.Exception
Geom.west(java.awt.Rectangle)
public void testEast() throws java.lang.Exception
java.lang.Exception
Geom.east(java.awt.Rectangle)
public void testNorth() throws java.lang.Exception
java.lang.Exception
Geom.north(java.awt.Rectangle)
public void testCorner() throws java.lang.Exception
java.lang.Exception
Geom.corner(java.awt.Rectangle)
public void testTopLeftCorner() throws java.lang.Exception
java.lang.Exception
Geom.topLeftCorner(java.awt.Rectangle)
public void testTopRightCorner() throws java.lang.Exception
java.lang.Exception
Geom.topRightCorner(java.awt.Rectangle)
public void testBottomLeftCorner() throws java.lang.Exception
java.lang.Exception
Geom.bottomLeftCorner(java.awt.Rectangle)
public void testBottomRightCorner() throws java.lang.Exception
java.lang.Exception
Geom.bottomRightCorner(java.awt.Rectangle)
public void testRange() throws java.lang.Exception
java.lang.Exception
Geom.range(int, int, int)
public void testLength2() throws java.lang.Exception
java.lang.Exception
Geom.length2(int, int, int, int)
public void testLength() throws java.lang.Exception
java.lang.Exception
Geom.length(int, int, int, int)
public void testPointToAngle() throws java.lang.Exception
java.lang.Exception
Geom.pointToAngle(java.awt.Rectangle, java.awt.Point)
public void testAngleToPoint() throws java.lang.Exception
java.lang.Exception
Geom.angleToPoint(java.awt.Rectangle, double)
public void testPolarToPoint() throws java.lang.Exception
java.lang.Exception
Geom.polarToPoint(double, double, double)
public void testOvalAngleToPoint() throws java.lang.Exception
java.lang.Exception
Geom.ovalAngleToPoint(java.awt.Rectangle, double)
public void testIntersect() throws java.lang.Exception
java.lang.Exception
Geom.intersect(int, int, int, int, int, int, int, int)
public void testDistanceFromLine() throws java.lang.Exception
java.lang.Exception
Geom.distanceFromLine(int, int, int, int, int, int)
public void testDistanceFromLine2D() throws java.lang.Exception
java.lang.Exception
Geom.distanceFromLine2D(int, int, int, int, 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 |