|
||||||||||
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.UndoRedoActivityTest
public class UndoRedoActivityTest
TestCase UndoRedoActivityTest is generated by JUnitDoclet to hold the tests for UndoRedoActivity.
UndoRedoActivity
Field Summary |
---|
Fields inherited from class org.jhotdraw.test.JHDTestCase |
---|
myDrawingEditor |
Constructor Summary | |
---|---|
UndoRedoActivityTest(java.lang.String name)
Constructor UndoRedoActivityTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
UndoRedoActivity |
createInstance()
Factory method for instances of the class to be tested. |
void |
testCreateUndoRedoActivity()
Method testCreateUndoRedoActivity is testing createUndoRedoActivity |
void |
testGetAffectedFiguresCount()
Method testGetAffectedFiguresCount is testing getAffectedFiguresCount |
void |
testGetDrawingView()
Method testGetDrawingView is testing getDrawingView |
void |
testGetReversedActivity()
Method testGetReversedActivity is testing getReversedActivity |
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 UndoRedoActivityTest(java.lang.String name)
Method Detail |
---|
public UndoRedoActivity createInstance() throws java.lang.Exception
java.lang.Exception
public void testUndo() throws java.lang.Exception
java.lang.Exception
UndoRedoActivity.undo()
public void testRedo() throws java.lang.Exception
java.lang.Exception
UndoRedoActivity.redo()
public void testSetIsUndoable() throws java.lang.Exception
java.lang.Exception
UndoRedoActivity.setUndoable(boolean)
,
UndoRedoActivity.isUndoable()
public void testSetIsRedoable() throws java.lang.Exception
java.lang.Exception
UndoRedoActivity.setRedoable(boolean)
,
UndoRedoActivity.isRedoable()
public void testSetGetAffectedFigures() throws java.lang.Exception
java.lang.Exception
UndoRedoActivity.setAffectedFigures(org.jhotdraw.framework.FigureEnumeration)
,
UndoRedoActivity.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
UndoRedoActivity.getAffectedFiguresCount()
public void testGetDrawingView() throws java.lang.Exception
java.lang.Exception
UndoRedoActivity.getDrawingView()
public void testRelease() throws java.lang.Exception
java.lang.Exception
UndoRedoActivity.release()
public void testGetReversedActivity() throws java.lang.Exception
java.lang.Exception
UndoRedoActivity.getReversedActivity()
public void testCreateUndoRedoActivity() throws java.lang.Exception
java.lang.Exception
UndoRedoActivity.createUndoRedoActivity(org.jhotdraw.util.Undoable)
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 |