|
||||||||||
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.TextFigureTest
public class TextFigureTest
TestCase TextFigureTest is generated by JUnitDoclet to hold the tests for TextFigure.
TextFigure
Constructor Summary | |
---|---|
TextFigureTest(java.lang.String name)
Constructor TextFigureTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
TextFigure |
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 |
testChanged()
Method testChanged is testing changed |
void |
testConnect()
Method testConnect is testing connect |
void |
testCreateCurrentFont()
Method testCreateCurrentFont is testing createCurrentFont |
void |
testDisconnect()
Method testDisconnect is testing disconnect |
void |
testDisplayBox()
Method testDisplayBox is testing displayBox |
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 |
testGetTextHolder()
Method testGetTextHolder is testing getTextHolder |
void |
testHandles()
Method testHandles is testing handles |
void |
testMoveBy()
Method testMoveBy is testing moveBy |
void |
testOverlayColumns()
Method testOverlayColumns is testing overlayColumns |
void |
testRead()
Method testRead is testing read |
void |
testReadOnly()
Method testReadOnly is testing readOnly |
void |
testRelease()
Method testRelease is testing release |
void |
testSetAttribute()
Method testSetAttribute is testing setAttribute |
void |
testSetCurrentFontName()
Method testSetCurrentFontName is testing setCurrentFontName |
void |
testSetCurrentFontSize()
Method testSetCurrentFontSize is testing setCurrentFontSize |
void |
testSetCurrentFontStyle()
Method testSetCurrentFontStyle is testing setCurrentFontStyle |
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 |
testSetReadOnly()
Method testSetReadOnly is testing setReadOnly |
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 TextFigureTest(java.lang.String name)
Method Detail |
---|
public TextFigure createInstance() throws java.lang.Exception
java.lang.Exception
public void testMoveBy() throws java.lang.Exception
java.lang.Exception
TextFigure.moveBy(int, int)
public void testBasicDisplayBox() throws java.lang.Exception
java.lang.Exception
TextFigure.basicDisplayBox(java.awt.Point, java.awt.Point)
public void testDisplayBox() throws java.lang.Exception
java.lang.Exception
TextFigure.displayBox()
public void testTextDisplayBox() throws java.lang.Exception
java.lang.Exception
TextFigure.textDisplayBox()
public void testReadOnly() throws java.lang.Exception
java.lang.Exception
TextFigure.readOnly()
public void testSetReadOnly() throws java.lang.Exception
java.lang.Exception
TextFigure.setReadOnly(boolean)
public void testGetRepresentingFigure() throws java.lang.Exception
java.lang.Exception
TextFigure.getRepresentingFigure()
public void testSetGetFont() throws java.lang.Exception
java.lang.Exception
TextFigure.setFont(java.awt.Font)
,
TextFigure.getFont()
public void testChanged() throws java.lang.Exception
java.lang.Exception
TextFigure.changed()
public void testGetAttribute() throws java.lang.Exception
java.lang.Exception
TextFigure.getAttribute(java.lang.String)
public void testSetAttribute() throws java.lang.Exception
java.lang.Exception
TextFigure.setAttribute(java.lang.String, java.lang.Object)
public void testSetGetText() throws java.lang.Exception
java.lang.Exception
TextFigure.setText(java.lang.String)
,
TextFigure.getText()
public void testAcceptsTyping() throws java.lang.Exception
java.lang.Exception
TextFigure.acceptsTyping()
public void testDrawBackground() throws java.lang.Exception
java.lang.Exception
TextFigure.drawBackground(java.awt.Graphics)
public void testDrawFrame() throws java.lang.Exception
java.lang.Exception
TextFigure.drawFrame(java.awt.Graphics)
public void testOverlayColumns() throws java.lang.Exception
java.lang.Exception
TextFigure.overlayColumns()
public void testHandles() throws java.lang.Exception
java.lang.Exception
TextFigure.handles()
public void testWrite() throws java.lang.Exception
java.lang.Exception
TextFigure.write(org.jhotdraw.util.StorableOutput)
public void testRead() throws java.lang.Exception
java.lang.Exception
TextFigure.read(org.jhotdraw.util.StorableInput)
public void testConnect() throws java.lang.Exception
java.lang.Exception
TextFigure.connect(org.jhotdraw.framework.Figure)
public void testFigureChanged() throws java.lang.Exception
java.lang.Exception
TextFigure.figureChanged(org.jhotdraw.framework.FigureChangeEvent)
public void testFigureRemoved() throws java.lang.Exception
java.lang.Exception
TextFigure.figureRemoved(org.jhotdraw.framework.FigureChangeEvent)
public void testFigureRequestRemove() throws java.lang.Exception
java.lang.Exception
TextFigure.figureRequestRemove(org.jhotdraw.framework.FigureChangeEvent)
public void testFigureInvalidated() throws java.lang.Exception
java.lang.Exception
TextFigure.figureInvalidated(org.jhotdraw.framework.FigureChangeEvent)
public void testFigureRequestUpdate() throws java.lang.Exception
java.lang.Exception
TextFigure.figureRequestUpdate(org.jhotdraw.framework.FigureChangeEvent)
public void testRelease() throws java.lang.Exception
java.lang.Exception
TextFigure.release()
public void testDisconnect() throws java.lang.Exception
java.lang.Exception
TextFigure.disconnect(org.jhotdraw.framework.Figure)
public void testGetTextHolder() throws java.lang.Exception
java.lang.Exception
TextFigure.getTextHolder()
public void testCreateCurrentFont() throws java.lang.Exception
java.lang.Exception
TextFigure.createCurrentFont()
public void testSetCurrentFontName() throws java.lang.Exception
java.lang.Exception
TextFigure.setCurrentFontName(java.lang.String)
public void testSetCurrentFontSize() throws java.lang.Exception
java.lang.Exception
TextFigure.setCurrentFontSize(int)
public void testSetCurrentFontStyle() throws java.lang.Exception
java.lang.Exception
TextFigure.setCurrentFontStyle(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 |