|
||||||||||
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.TextAreaFigureTest
public class TextAreaFigureTest
TestCase TextAreaFigureTest is generated by JUnitDoclet to hold the tests for TextAreaFigure.
TextAreaFigure
Constructor Summary | |
---|---|
TextAreaFigureTest(java.lang.String name)
Constructor TextAreaFigureTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
TextAreaFigure |
createInstance()
Factory method for instances of the class to be tested. |
void |
testAcceptsTyping()
Method testAcceptsTyping is testing acceptsTyping |
void |
testBasicDisplayBox()
Method testBasicDisplayBox is testing basicDisplayBox |
void |
testConnect()
Method testConnect is testing connect |
void |
testCreateFont()
Method testCreateFont is testing createFont |
void |
testDisconnect()
Method testDisconnect is testing disconnect |
void |
testDisplayBox()
Method testDisplayBox is testing displayBox |
void |
testDraw()
Method testDraw is testing draw |
void |
testDrawBackground()
Method testDrawBackground is testing drawBackground |
void |
testDrawFrame()
Method testDrawFrame is testing drawFrame |
void |
testFigureChanged()
Method testFigureChanged is testing figureChanged |
void |
testFigureInvalidated()
Method testFigureInvalidated is testing figureInvalidated |
void |
testFigureRemoved()
Method testFigureRemoved is testing figureRemoved |
void |
testFigureRequestRemove()
Method testFigureRequestRemove is testing figureRequestRemove |
void |
testFigureRequestUpdate()
Method testFigureRequestUpdate is testing figureRequestUpdate |
void |
testGetAttribute()
Method testGetAttribute is testing getAttribute |
void |
testGetRepresentingFigure()
Method testGetRepresentingFigure is testing getRepresentingFigure |
void |
testGetTextColor()
Method testGetTextColor is testing getTextColor |
void |
testHandles()
Method testHandles is testing handles |
void |
testIsEmpty()
Method testIsEmpty is testing isEmpty |
void |
testIsTextDirty()
Method testIsTextDirty is testing isTextDirty |
void |
testMoveBy()
Method testMoveBy is testing moveBy |
void |
testOverlayColumns()
Method testOverlayColumns is testing overlayColumns |
void |
testRead()
Method testRead is testing read |
void |
testSetAttribute()
Method testSetAttribute is testing setAttribute |
void |
testSetGetFont()
Method testSetGetFont is testing setFont and getFont together by setting some value and verifying it by reading. |
void |
testSetGetText()
Method testSetGetText is testing setText and getText together by setting some value and verifying it by reading. |
void |
testSetIsFontDirty()
Method testSetIsFontDirty is testing setFontDirty and isFontDirty together by setting some value and verifying it by reading. |
void |
testSetIsReadOnly()
Method testSetIsReadOnly is testing setReadOnly and isReadOnly together by setting some value and verifying it by reading. |
void |
testSetIsSizeDirty()
Method testSetIsSizeDirty is testing setSizeDirty and isSizeDirty together by setting some value and verifying it by reading. |
void |
testSetNullFont()
Test a null argument to setFont. |
void |
testTextDisplayBox()
Method testTextDisplayBox is testing textDisplayBox |
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 TextAreaFigureTest(java.lang.String name)
Method Detail |
---|
public TextAreaFigure createInstance() throws java.lang.Exception
java.lang.Exception
public void testSetGetText() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.setText(java.lang.String)
,
TextAreaFigure.getText()
public void testTextDisplayBox() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.textDisplayBox()
public void testCreateFont() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.createFont()
public void testSetIsReadOnly() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.setReadOnly(boolean)
,
TextAreaFigure.isReadOnly()
public void testAcceptsTyping() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.acceptsTyping()
public void testIsTextDirty() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.isTextDirty()
public void testSetIsSizeDirty() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.setSizeDirty(boolean)
,
TextAreaFigure.isSizeDirty()
public void testSetGetFont() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.setFont(java.awt.Font)
,
TextAreaFigure.getFont()
public void testSetNullFont() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.setFont(java.awt.Font)
public void testOverlayColumns() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.overlayColumns()
public void testBasicDisplayBox() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.basicDisplayBox(java.awt.Point, java.awt.Point)
public void testHandles() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.handles()
public void testDisplayBox() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.displayBox()
public void testMoveBy() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.moveBy(int, int)
public void testDrawBackground() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.drawBackground(java.awt.Graphics)
public void testDraw() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.draw(java.awt.Graphics)
public void testDrawFrame() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.drawFrame(java.awt.Graphics)
public void testGetAttribute() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.getAttribute(java.lang.String)
public void testSetAttribute() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.setAttribute(java.lang.String, java.lang.Object)
public void testWrite() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.write(org.jhotdraw.util.StorableOutput)
public void testRead() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.read(org.jhotdraw.util.StorableInput)
public void testConnect() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.connect(org.jhotdraw.framework.Figure)
public void testDisconnect() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.disconnect(org.jhotdraw.framework.Figure)
public void testFigureInvalidated() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.figureInvalidated(org.jhotdraw.framework.FigureChangeEvent)
public void testFigureChanged() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.figureChanged(org.jhotdraw.framework.FigureChangeEvent)
public void testFigureRemoved() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.figureRemoved(org.jhotdraw.framework.FigureChangeEvent)
public void testFigureRequestRemove() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.figureRequestRemove(org.jhotdraw.framework.FigureChangeEvent)
public void testFigureRequestUpdate() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.figureRequestUpdate(org.jhotdraw.framework.FigureChangeEvent)
public void testGetTextColor() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.getTextColor()
public void testIsEmpty() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.isEmpty()
public void testSetIsFontDirty() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.setFontDirty(boolean)
,
TextAreaFigure.isFontDirty()
public void testGetRepresentingFigure() throws java.lang.Exception
java.lang.Exception
TextAreaFigure.getRepresentingFigure()
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 |