|
||||||||||
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.UndoableToolTest
public class UndoableToolTest
TestCase UndoableToolTest is generated by JUnitDoclet to hold the tests for UndoableTool.
UndoableTool
Field Summary |
---|
Fields inherited from class org.jhotdraw.test.JHDTestCase |
---|
myDrawingEditor |
Constructor Summary | |
---|---|
UndoableToolTest(java.lang.String name)
Constructor UndoableToolTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
UndoableTool |
createInstance()
Factory method for instances of the class to be tested. |
void |
testActivate()
Method testActivate is testing activate |
void |
testAddToolListener()
Method testAddToolListener is testing addToolListener |
void |
testCreateEventDispatcher()
Method testCreateEventDispatcher is testing createEventDispatcher |
void |
testDeactivate()
Method testDeactivate is testing deactivate |
void |
testEditor()
Method testEditor is testing editor |
void |
testGetActiveView()
Method testGetActiveView is testing getActiveView |
void |
testIsActive()
Method testIsActive is testing isActive |
void |
testKeyDown()
Method testKeyDown is testing keyDown |
void |
testMouseDown()
Method testMouseDown is testing mouseDown |
void |
testMouseDrag()
Method testMouseDrag is testing mouseDrag |
void |
testMouseMove()
Method testMouseMove is testing mouseMove |
void |
testMouseUp()
Method testMouseUp is testing mouseUp |
void |
testRemoveToolListener()
Method testRemoveToolListener is testing removeToolListener |
void |
testSetGetUndoActivity()
|
void |
testSetIsEnabled()
Method testSetIsEnabled is testing setEnabled and isEnabled together by setting some value and verifying it by reading. |
void |
testSetIsUsable()
Method testSetIsUsable is testing setUsable and isUsable together by setting some value and verifying it by reading. |
void |
testToolActivated()
Method testToolActivated is testing toolActivated |
void |
testToolDeactivated()
Method testToolDeactivated is testing toolDeactivated |
void |
testToolDisabled()
Method testToolDisabled is testing toolDisabled |
void |
testToolEnabled()
Method testToolEnabled is testing toolEnabled |
void |
testToolUnusable()
Method testToolUnusable is testing toolUnusable |
void |
testToolUsable()
Method testToolUsable is testing toolUsable |
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 |
testView()
Method testView is testing view |
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 UndoableToolTest(java.lang.String name)
Method Detail |
---|
public UndoableTool createInstance() throws java.lang.Exception
java.lang.Exception
public void testActivate() throws java.lang.Exception
java.lang.Exception
UndoableTool.activate()
public void testDeactivate() throws java.lang.Exception
java.lang.Exception
UndoableTool.deactivate()
public void testMouseDown() throws java.lang.Exception
java.lang.Exception
UndoableTool.mouseDown(java.awt.event.MouseEvent, int, int)
public void testMouseDrag() throws java.lang.Exception
java.lang.Exception
UndoableTool.mouseDrag(java.awt.event.MouseEvent, int, int)
public void testMouseUp() throws java.lang.Exception
java.lang.Exception
UndoableTool.mouseUp(java.awt.event.MouseEvent, int, int)
public void testMouseMove() throws java.lang.Exception
java.lang.Exception
UndoableTool.mouseMove(java.awt.event.MouseEvent, int, int)
public void testKeyDown() throws java.lang.Exception
java.lang.Exception
UndoableTool.keyDown(java.awt.event.KeyEvent, int)
public void testIsActive() throws java.lang.Exception
java.lang.Exception
UndoableTool.isActive()
public void testSetIsUsable() throws java.lang.Exception
java.lang.Exception
UndoableTool.setUsable(boolean)
,
UndoableTool.isUsable()
public void testSetIsEnabled() throws java.lang.Exception
java.lang.Exception
UndoableTool.setEnabled(boolean)
,
UndoableTool.isEnabled()
public void testEditor() throws java.lang.Exception
java.lang.Exception
UndoableTool.editor()
public void testView() throws java.lang.Exception
java.lang.Exception
UndoableTool.view()
public void testSetGetUndoActivity() throws java.lang.Exception
java.lang.Exception
UndoableTool.setUndoActivity(org.jhotdraw.util.Undoable)
,
UndoableTool.getUndoActivity()
public void testToolUsable() throws java.lang.Exception
java.lang.Exception
UndoableTool.toolUsable(java.util.EventObject)
public void testToolUnusable() throws java.lang.Exception
java.lang.Exception
UndoableTool.toolUnusable(java.util.EventObject)
public void testToolActivated() throws java.lang.Exception
java.lang.Exception
UndoableTool.toolActivated(java.util.EventObject)
public void testToolDeactivated() throws java.lang.Exception
java.lang.Exception
UndoableTool.toolDeactivated(java.util.EventObject)
public void testToolEnabled() throws java.lang.Exception
java.lang.Exception
UndoableTool.toolEnabled(java.util.EventObject)
public void testToolDisabled() throws java.lang.Exception
java.lang.Exception
UndoableTool.toolDisabled(java.util.EventObject)
public void testAddToolListener() throws java.lang.Exception
java.lang.Exception
UndoableTool.addToolListener(org.jhotdraw.framework.ToolListener)
public void testRemoveToolListener() throws java.lang.Exception
java.lang.Exception
UndoableTool.removeToolListener(org.jhotdraw.framework.ToolListener)
public void testCreateEventDispatcher() throws java.lang.Exception
java.lang.Exception
UndoableTool.createEventDispatcher()
public void testGetActiveView() throws java.lang.Exception
java.lang.Exception
UndoableTool.getActiveView()
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 |