|
||||||||||
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.standard.StandardDrawingTest
public class StandardDrawingTest
TestCase StandardDrawingTest is generated by JUnitDoclet to hold the tests for StandardDrawing.
StandardDrawing
Constructor Summary | |
---|---|
StandardDrawingTest(java.lang.String name)
Constructor StandardDrawingTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
StandardDrawing |
createInstance()
Factory method for instances of the class to be tested. |
void |
testAdd()
Method testAdd is testing add |
void |
testAddDrawingChangeListener()
Method testAddDrawingChangeListener is testing addDrawingChangeListener |
void |
testBasicDisplayBox()
Method testBasicDisplayBox is testing basicDisplayBox |
void |
testDisplayBox()
Method testDisplayBox is testing displayBox |
void |
testDrawingChangeListeners()
Method testDrawingChangeListeners is testing drawingChangeListeners |
void |
testFigureInvalidated()
Method testFigureInvalidated is testing figureInvalidated |
void |
testFigureRequestUpdate()
Method testFigureRequestUpdate is testing figureRequestUpdate |
void |
testFireDrawingTitleChanged()
Method testFireDrawingTitleChanged is testing fireDrawingTitleChanged |
void |
testHandles()
Method testHandles is testing handles |
void |
testLock()
Method testLock is testing lock |
void |
testOrphan()
Method testOrphan is testing orphan |
void |
testRemoveDrawingChangeListener()
Method testRemoveDrawingChangeListener is testing removeDrawingChangeListener |
void |
testSetGetTitle()
Method testSetGetTitle is testing setTitle and getTitle together by setting some value and verifying it by reading. |
void |
testUnlock()
Method testUnlock is testing unlock |
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 StandardDrawingTest(java.lang.String name)
Method Detail |
---|
public StandardDrawing createInstance() throws java.lang.Exception
java.lang.Exception
public void testAddDrawingChangeListener() throws java.lang.Exception
java.lang.Exception
StandardDrawing.addDrawingChangeListener(org.jhotdraw.framework.DrawingChangeListener)
public void testRemoveDrawingChangeListener() throws java.lang.Exception
java.lang.Exception
StandardDrawing.removeDrawingChangeListener(org.jhotdraw.framework.DrawingChangeListener)
public void testDrawingChangeListeners() throws java.lang.Exception
java.lang.Exception
StandardDrawing.drawingChangeListeners()
public void testOrphan() throws java.lang.Exception
java.lang.Exception
StandardDrawing.orphan(org.jhotdraw.framework.Figure)
public void testAdd() throws java.lang.Exception
java.lang.Exception
StandardDrawing.add(org.jhotdraw.framework.Figure)
public void testFigureInvalidated() throws java.lang.Exception
java.lang.Exception
StandardDrawing.figureInvalidated(org.jhotdraw.framework.FigureChangeEvent)
public void testFireDrawingTitleChanged() throws java.lang.Exception
java.lang.Exception
StandardDrawing.fireDrawingTitleChanged()
public void testFigureRequestUpdate() throws java.lang.Exception
java.lang.Exception
StandardDrawing.figureRequestUpdate(org.jhotdraw.framework.FigureChangeEvent)
public void testHandles() throws java.lang.Exception
java.lang.Exception
StandardDrawing.handles()
public void testDisplayBox() throws java.lang.Exception
java.lang.Exception
StandardDrawing.displayBox()
public void testBasicDisplayBox() throws java.lang.Exception
java.lang.Exception
StandardDrawing.basicDisplayBox(java.awt.Point, java.awt.Point)
public void testLock() throws java.lang.Exception
java.lang.Exception
StandardDrawing.lock()
public void testUnlock() throws java.lang.Exception
java.lang.Exception
StandardDrawing.unlock()
public void testSetGetTitle() throws java.lang.Exception
java.lang.Exception
StandardDrawing.setTitle(java.lang.String)
,
StandardDrawing.getTitle()
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 |