|
||||||||||
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.JHDTestCase
org.jhotdraw.test.util.UndoableHandleTest
public class UndoableHandleTest
TestCase UndoableHandleTest is generated by JUnitDoclet to hold the tests for UndoableHandle.
UndoableHandle
Field Summary |
---|
Fields inherited from class org.jhotdraw.test.JHDTestCase |
---|
myDrawingEditor |
Constructor Summary | |
---|---|
UndoableHandleTest(java.lang.String name)
Constructor UndoableHandleTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
UndoableHandle |
createInstance()
Factory method for instances of the class to be tested. |
void |
testContainsPoint()
Method testContainsPoint is testing containsPoint |
void |
testDisplayBox()
Method testDisplayBox is testing displayBox |
void |
testDraw()
Method testDraw is testing draw |
void |
testGetDrawingView()
Method testGetDrawingView is testing getDrawingView |
void |
testInvokeEnd()
Method testInvokeEnd is testing invokeEnd |
void |
testInvokeStart()
Method testInvokeStart is testing invokeStart |
void |
testInvokeStep()
Method testInvokeStep is testing invokeStep |
void |
testLocate()
Method testLocate is testing locate |
void |
testOwner()
Method testOwner is testing owner |
void |
testSetGetUndoActivity()
Method testSetGetUndoActivity is testing setUndoActivity and getUndoActivity 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 org.jhotdraw.test.JHDTestCase |
---|
createNewDrawingEditor, getDrawingEditor |
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 UndoableHandleTest(java.lang.String name)
Method Detail |
---|
public UndoableHandle createInstance() throws java.lang.Exception
java.lang.Exception
public void testLocate() throws java.lang.Exception
java.lang.Exception
UndoableHandle.locate()
public void testInvokeStart() throws java.lang.Exception
java.lang.Exception
UndoableHandle.invokeStart(int, int, org.jhotdraw.framework.Drawing)
public void testInvokeStep() throws java.lang.Exception
java.lang.Exception
UndoableHandle.invokeStep(int, int, org.jhotdraw.framework.Drawing)
public void testInvokeEnd() throws java.lang.Exception
java.lang.Exception
UndoableHandle.invokeEnd(int, int, int, int, org.jhotdraw.framework.DrawingView)
public void testOwner() throws java.lang.Exception
java.lang.Exception
UndoableHandle.owner()
public void testDisplayBox() throws java.lang.Exception
java.lang.Exception
UndoableHandle.displayBox()
public void testContainsPoint() throws java.lang.Exception
java.lang.Exception
UndoableHandle.containsPoint(int, int)
public void testDraw() throws java.lang.Exception
java.lang.Exception
UndoableHandle.draw(java.awt.Graphics)
public void testGetDrawingView() throws java.lang.Exception
java.lang.Exception
UndoableHandle.getDrawingView()
public void testSetGetUndoActivity() throws java.lang.Exception
java.lang.Exception
UndoableHandle.setUndoActivity(org.jhotdraw.util.Undoable)
,
UndoableHandle.getUndoActivity()
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 |