|
||||||||||
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.util.UndoManagerTest
public class UndoManagerTest
TestCase UndoManagerTest is generated by JUnitDoclet to hold the tests for UndoManager.
UndoManager
Constructor Summary | |
---|---|
UndoManagerTest(java.lang.String name)
Constructor UndoManagerTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
UndoManager |
createInstance()
Factory method for instances of the class to be tested. |
void |
testClearRedos()
Method testClearRedos is testing clearRedos |
void |
testClearUndos()
Method testClearUndos is testing clearUndos |
void |
testGetRedoSize()
Method testGetRedoSize is testing getRedoSize |
void |
testGetUndoSize()
Method testGetUndoSize is testing getUndoSize |
void |
testIsRedoable()
Method testIsRedoable is testing isRedoable |
void |
testIsUndoable()
Method testIsUndoable is testing isUndoable |
void |
testPopRedo()
Method testPopRedo is testing popRedo |
void |
testPopUndo()
Method testPopUndo is testing popUndo |
void |
testPushRedo()
Method testPushRedo is testing pushRedo |
void |
testPushUndo()
Method testPushUndo is testing pushUndo |
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 UndoManagerTest(java.lang.String name)
Method Detail |
---|
public UndoManager createInstance() throws java.lang.Exception
java.lang.Exception
public void testPushUndo() throws java.lang.Exception
java.lang.Exception
UndoManager.pushUndo(org.jhotdraw.util.Undoable)
public void testPushRedo() throws java.lang.Exception
java.lang.Exception
UndoManager.pushRedo(org.jhotdraw.util.Undoable)
public void testIsUndoable() throws java.lang.Exception
java.lang.Exception
UndoManager.isUndoable()
public void testIsRedoable() throws java.lang.Exception
java.lang.Exception
UndoManager.isRedoable()
public void testGetUndoSize() throws java.lang.Exception
java.lang.Exception
UndoManager.getUndoSize()
public void testGetRedoSize() throws java.lang.Exception
java.lang.Exception
UndoManager.getRedoSize()
public void testPopUndo() throws java.lang.Exception
java.lang.Exception
UndoManager.popUndo()
public void testPopRedo() throws java.lang.Exception
java.lang.Exception
UndoManager.popRedo()
public void testClearUndos() throws java.lang.Exception
java.lang.Exception
UndoManager.clearUndos()
public void testClearRedos() throws java.lang.Exception
java.lang.Exception
UndoManager.clearRedos()
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 |