|
||||||||||
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.BoundsTest
public class BoundsTest
TestCase BoundsTest is generated by JUnitDoclet to hold the tests for Bounds.
Bounds
Constructor Summary | |
---|---|
BoundsTest(java.lang.String name)
Constructor BoundsTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
Bounds |
createInstance()
Factory method for instances of the class to be tested. |
void |
testAsRectangle2D()
Method testAsRectangle2D is testing asRectangle2D |
void |
testCompletelyContainsLine()
Method testCompletelyContainsLine is testing completelyContainsLine |
void |
testCropLine()
Method testCropLine is testing cropLine |
void |
testEquals()
Method testEquals is testing equals |
void |
testExpandToRatio()
Method testExpandToRatio is testing expandToRatio |
void |
testGetEast()
Method testGetEast is testing getEast |
void |
testGetGreaterX()
Method testGetGreaterX is testing getGreaterX |
void |
testGetGreaterY()
Method testGetGreaterY is testing getGreaterY |
void |
testGetHeight()
Method testGetHeight is testing getHeight |
void |
testGetLesserX()
Method testGetLesserX is testing getLesserX |
void |
testGetLesserY()
Method testGetLesserY is testing getLesserY |
void |
testGetNorth()
Method testGetNorth is testing getNorth |
void |
testGetSouth()
Method testGetSouth is testing getSouth |
void |
testGetWest()
Method testGetWest is testing getWest |
void |
testGetWidth()
Method testGetWidth is testing getWidth |
void |
testHashCode()
Method testHashCode is testing hashCode |
void |
testIncludeBounds()
Method testIncludeBounds is testing includeBounds |
void |
testIncludeLine()
Method testIncludeLine is testing includeLine |
void |
testIncludePoint()
Method testIncludePoint is testing includePoint |
void |
testIncludeRectangle2D()
Method testIncludeRectangle2D is testing includeRectangle2D |
void |
testIncludeXCoordinate()
Method testIncludeXCoordinate is testing includeXCoordinate |
void |
testIncludeYCoordinate()
Method testIncludeYCoordinate is testing includeYCoordinate |
void |
testIntersect()
Method testIntersect is testing intersect |
void |
testIntersectsBounds()
Method testIntersectsBounds is testing intersectsBounds |
void |
testIntersectsLine()
Method testIntersectsLine is testing intersectsLine |
void |
testIntersectsPoint()
Method testIntersectsPoint is testing intersectsPoint |
void |
testIsCompletelyInside()
Method testIsCompletelyInside is testing isCompletelyInside |
void |
testOffset()
Method testOffset is testing offset |
void |
testSetGetCenter()
Method testSetGetCenter is testing setCenter and getCenter together by setting some value and verifying it by reading. |
void |
testSetNullCenter()
Test a null argument to setCenter. |
void |
testShiftBy()
Method testShiftBy is testing shiftBy |
void |
testToString()
Method testToString is testing toString |
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 |
testZoomBy()
Method testZoomBy is testing zoomBy |
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 BoundsTest(java.lang.String name)
Method Detail |
---|
public Bounds createInstance() throws java.lang.Exception
java.lang.Exception
public void testGetLesserX() throws java.lang.Exception
java.lang.Exception
Bounds.getLesserX()
public void testGetGreaterX() throws java.lang.Exception
java.lang.Exception
Bounds.getGreaterX()
public void testGetLesserY() throws java.lang.Exception
java.lang.Exception
Bounds.getLesserY()
public void testGetGreaterY() throws java.lang.Exception
java.lang.Exception
Bounds.getGreaterY()
public void testGetWest() throws java.lang.Exception
java.lang.Exception
Bounds.getWest()
public void testGetEast() throws java.lang.Exception
java.lang.Exception
Bounds.getEast()
public void testGetSouth() throws java.lang.Exception
java.lang.Exception
Bounds.getSouth()
public void testGetNorth() throws java.lang.Exception
java.lang.Exception
Bounds.getNorth()
public void testGetWidth() throws java.lang.Exception
java.lang.Exception
Bounds.getWidth()
public void testGetHeight() throws java.lang.Exception
java.lang.Exception
Bounds.getHeight()
public void testAsRectangle2D() throws java.lang.Exception
java.lang.Exception
Bounds.asRectangle2D()
public void testSetGetCenter() throws java.lang.Exception
java.lang.Exception
Bounds.setCenter(java.awt.geom.Point2D)
,
Bounds.getCenter()
public void testSetNullCenter() throws java.lang.Exception
java.lang.Exception
Bounds.setCenter(java.awt.geom.Point2D)
public void testZoomBy() throws java.lang.Exception
java.lang.Exception
Bounds.zoomBy(double)
public void testShiftBy() throws java.lang.Exception
java.lang.Exception
Bounds.shiftBy(int, int)
public void testOffset() throws java.lang.Exception
java.lang.Exception
Bounds.offset(double, double)
public void testExpandToRatio() throws java.lang.Exception
java.lang.Exception
Bounds.expandToRatio(double)
public void testIncludeXCoordinate() throws java.lang.Exception
java.lang.Exception
Bounds.includeXCoordinate(double)
public void testIncludeYCoordinate() throws java.lang.Exception
java.lang.Exception
Bounds.includeYCoordinate(double)
public void testIncludePoint() throws java.lang.Exception
java.lang.Exception
Bounds.includePoint(double, double)
public void testIncludeLine() throws java.lang.Exception
java.lang.Exception
Bounds.includeLine(double, double, double, double)
public void testIncludeBounds() throws java.lang.Exception
java.lang.Exception
Bounds.includeBounds(org.jhotdraw.util.Bounds)
public void testIncludeRectangle2D() throws java.lang.Exception
java.lang.Exception
Bounds.includeRectangle2D(java.awt.geom.Rectangle2D)
public void testIntersect() throws java.lang.Exception
java.lang.Exception
Bounds.intersect(org.jhotdraw.util.Bounds)
public void testIntersectsPoint() throws java.lang.Exception
java.lang.Exception
Bounds.intersectsPoint(double, double)
public void testIntersectsLine() throws java.lang.Exception
java.lang.Exception
Bounds.intersectsLine(double, double, double, double)
public void testIntersectsBounds() throws java.lang.Exception
java.lang.Exception
Bounds.intersectsBounds(org.jhotdraw.util.Bounds)
public void testCompletelyContainsLine() throws java.lang.Exception
java.lang.Exception
Bounds.completelyContainsLine(double, double, double, double)
public void testIsCompletelyInside() throws java.lang.Exception
java.lang.Exception
Bounds.isCompletelyInside(org.jhotdraw.util.Bounds)
public void testCropLine() throws java.lang.Exception
java.lang.Exception
Bounds.cropLine(double, double, double, double)
public void testEquals() throws java.lang.Exception
java.lang.Exception
Bounds.equals(java.lang.Object)
public void testHashCode() throws java.lang.Exception
java.lang.Exception
Bounds.hashCode()
public void testToString() throws java.lang.Exception
java.lang.Exception
Bounds.toString()
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 |