|
||||||||||
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.BorderDecoratorTest
public class BorderDecoratorTest
TestCase BorderDecoratorTest is generated by JUnitDoclet to hold the tests for BorderDecorator.
BorderDecorator
Constructor Summary | |
---|---|
BorderDecoratorTest(java.lang.String name)
Constructor BorderDecoratorTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
BorderDecorator |
createInstance()
Factory method for instances of the class to be tested. |
void |
setNullBorderOffset()
Test a null argument to setBorderOffset. |
void |
testConnectionInsets()
Method testConnectionInsets is testing connectionInsets |
void |
testDisplayBox()
Method testDisplayBox is testing displayBox |
void |
testDraw()
Method testDraw is testing draw |
void |
testFigureInvalidated()
Method testFigureInvalidated is testing figureInvalidated |
void |
testSetGetBorderOffset()
Method testSetGetBorderOffset is testing setBorderOffset and getBorderOffset together by setting some value and verifying it by reading. |
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. |
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 BorderDecoratorTest(java.lang.String name)
Method Detail |
---|
public BorderDecorator createInstance() throws java.lang.Exception
java.lang.Exception
public void testSetGetBorderOffset() throws java.lang.Exception
java.lang.Exception
BorderDecorator.setBorderOffset(java.awt.Point)
,
BorderDecorator.getBorderOffset()
public void setNullBorderOffset() throws java.lang.Exception
java.lang.Exception
BorderDecorator.setBorderOffset(java.awt.Point)
public void testDraw() throws java.lang.Exception
java.lang.Exception
BorderDecorator.draw(java.awt.Graphics)
public void testDisplayBox() throws java.lang.Exception
java.lang.Exception
BorderDecorator.displayBox()
public void testFigureInvalidated() throws java.lang.Exception
java.lang.Exception
BorderDecorator.figureInvalidated(org.jhotdraw.framework.FigureChangeEvent)
public void testConnectionInsets() throws java.lang.Exception
java.lang.Exception
BorderDecorator.connectionInsets()
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 |