|
||||||||||
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.UndoableAdapterTest
public class UndoableAdapterTest
TestCase UndoableAdapterTest is generated by JUnitDoclet to hold the tests for UndoableAdapter.
UndoableAdapter
Field Summary |
---|
Fields inherited from class org.jhotdraw.test.JHDTestCase |
---|
myDrawingEditor |
Constructor Summary | |
---|---|
UndoableAdapterTest(java.lang.String name)
Constructor UndoableAdapterTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
UndoableAdapter |
createInstance()
Factory method for instances of the class to be tested. |
void |
testGetAffectedFiguresCount()
Method testGetAffectedFiguresCount is testing getAffectedFiguresCount |
void |
testGetDrawingView()
Method testGetDrawingView is testing getDrawingView |
void |
testRedo()
Method testRedo is testing redo |
void |
testRelease()
Method testRelease is testing release |
void |
testSetGetAffectedFigures()
Method testSetGetAffectedFigures is testing setAffectedFigures and getAffectedFigures together by setting some value and verifying it by reading. |
void |
testSetIsRedoable()
Method testSetIsRedoable is testing setRedoable and isRedoable together by setting some value and verifying it by reading. |
void |
testSetIsUndoable()
Method testSetIsUndoable is testing setUndoable and isUndoable together by setting some value and verifying it by reading. |
void |
testSetNullAffectedFigures()
Test a null argument to setAffectedFigures. |
void |
testUndo()
Method testUndo is testing undo |
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 UndoableAdapterTest(java.lang.String name)
Method Detail |
---|
public UndoableAdapter createInstance() throws java.lang.Exception
java.lang.Exception
public void testUndo() throws java.lang.Exception
java.lang.Exception
UndoableAdapter.undo()
public void testRedo() throws java.lang.Exception
java.lang.Exception
UndoableAdapter.redo()
public void testSetIsUndoable() throws java.lang.Exception
java.lang.Exception
UndoableAdapter.setUndoable(boolean)
,
UndoableAdapter.isUndoable()
public void testSetIsRedoable() throws java.lang.Exception
java.lang.Exception
UndoableAdapter.setRedoable(boolean)
,
UndoableAdapter.isRedoable()
public void testSetGetAffectedFigures() throws java.lang.Exception
java.lang.Exception
UndoableAdapter.setAffectedFigures(org.jhotdraw.framework.FigureEnumeration)
,
UndoableAdapter.getAffectedFigures()
public void testSetNullAffectedFigures() throws java.lang.Exception
java.lang.Exception
org.jhotdraw.util.UndoRedoActivity#setAffectedFigures(org.jhotdraw.framework.PointConstrainer)
public void testGetAffectedFiguresCount() throws java.lang.Exception
java.lang.Exception
UndoableAdapter.getAffectedFiguresCount()
public void testRelease() throws java.lang.Exception
java.lang.Exception
UndoableAdapter.release()
public void testGetDrawingView() throws java.lang.Exception
java.lang.Exception
UndoableAdapter.getDrawingView()
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 |