|
||||||||||
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.standard.StandardDrawingViewTest
public class StandardDrawingViewTest
TestCase StandardDrawingViewTest is generated by JUnitDoclet to hold the tests for StandardDrawingView.
StandardDrawingView
Field Summary |
---|
Fields inherited from class org.jhotdraw.test.JHDTestCase |
---|
myDrawingEditor |
Constructor Summary | |
---|---|
StandardDrawingViewTest(java.lang.String name)
Constructor StandardDrawingViewTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
StandardDrawingView |
createInstance()
Factory method for instances of the class to be tested. |
void |
testAdd()
Method testAdd is testing add |
void |
testAddAll()
Method testAddAll is testing addAll |
void |
testAddBackground()
Method testAddBackground is testing addBackground |
void |
testAddFigureSelectionListener()
Method testAddFigureSelectionListener is testing addFigureSelectionListener |
void |
testAddForeground()
Method testAddForeground is testing addForeground |
void |
testAddToSelection()
Method testAddToSelection is testing addToSelection |
void |
testAddToSelectionAll()
Method testAddToSelectionAll is testing addToSelectionAll |
void |
testAutoscroll()
Method testAutoscroll is testing autoscroll |
void |
testCheckDamage()
Method testCheckDamage is testing checkDamage |
void |
testClearSelection()
Method testClearSelection is testing clearSelection |
void |
testDraw()
Method testDraw is testing draw |
void |
testDrawAll()
Method testDrawAll is testing drawAll |
void |
testDrawBackground()
Method testDrawBackground is testing drawBackground |
void |
testDrawDrawing()
Method testDrawDrawing is testing drawDrawing |
void |
testDrawHandles()
Method testDrawHandles is testing drawHandles |
void |
testDrawing()
Method testDrawing is testing drawing |
void |
testDrawingInvalidated()
Method testDrawingInvalidated is testing drawingInvalidated |
void |
testDrawingRequestUpdate()
Method testDrawingRequestUpdate is testing drawingRequestUpdate |
void |
testDrawingTitleChanged()
Method testDrawingTitleChanged is testing drawingTitleChanged |
void |
testEditor()
Method testEditor is testing editor |
void |
testFigureExists()
Method testFigureExists is testing figureExists |
void |
testFindHandle()
Method testFindHandle is testing findHandle |
void |
testFreezeView()
Method testFreezeView is testing freezeView |
void |
testGetAutoscrollInsets()
Method testGetAutoscrollInsets is testing getAutoscrollInsets |
void |
testGetConnectionFigures()
Method testGetConnectionFigures is testing getConnectionFigures |
void |
testGetDefaultDNDActions()
Method testGetDefaultDNDActions is testing getDefaultDNDActions |
void |
testGetFigureSelection()
Method testGetFigureSelection is testing getFigureSelection |
void |
testGetMinimumSize()
Method testGetMinimumSize is testing getMinimumSize |
void |
testGetPreferredSize()
Method testGetPreferredSize is testing getPreferredSize |
void |
testInsertFigures()
Method testInsertFigures is testing insertFigures |
void |
testIsFigureSelected()
Method testIsFigureSelected is testing isFigureSelected |
void |
testIsFocusTraversable()
Method testIsFocusTraversable is testing isFocusTraversable |
void |
testIsInteractive()
Method testIsInteractive is testing isInteractive |
void |
testKeyReleased()
Method testKeyReleased is testing keyReleased |
void |
testKeyTyped()
Method testKeyTyped is testing keyTyped |
void |
testLastClick()
Method testLastClick is testing lastClick |
void |
testRemove()
Method testRemove is testing remove |
void |
testRemoveBackground()
Method testRemoveBackground is testing removeBackground |
void |
testRemoveFigureSelectionListener()
Method testRemoveFigureSelectionListener is testing removeFigureSelectionListener |
void |
testRemoveForeground()
Method testRemoveForeground is testing removeForeground |
void |
testRemoveFromSelection()
Method testRemoveFromSelection is testing removeFromSelection |
void |
testRepairDamage()
Method testRepairDamage is testing repairDamage |
void |
testSelection()
Method testSelection is testing selection |
void |
testSelectionCount()
Method testSelectionCount is testing selectionCount |
void |
testSelectionZOrdered()
Method testSelectionZOrdered is testing selectionZOrdered |
void |
testSetDragSourceActive()
Method testSetDragSourceActive is testing setDragSourceActive |
void |
testSetDrawing()
Method testSetDrawing is testing setDrawing |
void |
testSetDropTargetActive()
Method testSetDropTargetActive is testing setDropTargetActive |
void |
testSetEditor()
Method testSetEditor is testing setEditor |
void |
testSetGetConstrainer()
Method testSetGetConstrainer is testing setConstrainer and getConstrainer together by setting some value and verifying it by reading. |
void |
testSetGetDisplayUpdate()
Method testSetGetDisplayUpdate is testing setDisplayUpdate and getDisplayUpdate together by setting some value and verifying it by reading. |
void |
testToggleSelection()
Method testToggleSelection is testing toggleSelection |
void |
testTool()
Method testTool is testing tool |
void |
testToString()
Method testToString is testing toString |
void |
testUnfreezeView()
Method testUnfreezeView is testing unfreezeView |
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 StandardDrawingViewTest(java.lang.String name)
Method Detail |
---|
public StandardDrawingView createInstance() throws java.lang.Exception
java.lang.Exception
public void testSetEditor() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.setEditor(org.jhotdraw.framework.DrawingEditor)
public void testTool() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.tool()
public void testDrawing() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.drawing()
public void testSetDrawing() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.setDrawing(org.jhotdraw.framework.Drawing)
public void testEditor() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.editor()
public void testAdd() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.add(org.jhotdraw.framework.Figure)
public void testRemove() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.remove(org.jhotdraw.framework.Figure)
public void testAddAll() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.addAll(java.util.Collection)
public void testFigureExists() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.figureExists(org.jhotdraw.framework.Figure, org.jhotdraw.framework.FigureEnumeration)
public void testInsertFigures() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.insertFigures(org.jhotdraw.framework.FigureEnumeration, int, int, boolean)
public void testGetConnectionFigures() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.getConnectionFigures(org.jhotdraw.framework.Figure)
public void testGetMinimumSize() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.getMinimumSize()
public void testGetPreferredSize() throws java.lang.Exception
java.lang.Exception
JComponent.getPreferredSize()
public void testSetGetDisplayUpdate() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.setDisplayUpdate(org.jhotdraw.framework.Painter)
,
StandardDrawingView.getDisplayUpdate()
public void testSelection() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.selection()
public void testSelectionZOrdered() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.selectionZOrdered()
public void testSelectionCount() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.selectionCount()
public void testIsFigureSelected() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.isFigureSelected(org.jhotdraw.framework.Figure)
public void testAddToSelection() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.addToSelection(org.jhotdraw.framework.Figure)
public void testAddToSelectionAll() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.addToSelectionAll(java.util.Collection)
public void testRemoveFromSelection() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.removeFromSelection(org.jhotdraw.framework.Figure)
public void testToggleSelection() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.toggleSelection(org.jhotdraw.framework.Figure)
public void testClearSelection() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.clearSelection()
public void testGetFigureSelection() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.getFigureSelection()
public void testFindHandle() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.findHandle(int, int)
public void testLastClick() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.lastClick()
public void testSetGetConstrainer() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.setConstrainer(org.jhotdraw.framework.PointConstrainer)
,
StandardDrawingView.getConstrainer()
public void testCheckDamage() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.checkDamage()
public void testRepairDamage() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.repairDamage()
public void testDrawingInvalidated() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.drawingInvalidated(org.jhotdraw.framework.DrawingChangeEvent)
public void testDrawingRequestUpdate() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.drawingRequestUpdate(org.jhotdraw.framework.DrawingChangeEvent)
public void testDrawingTitleChanged() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.drawingTitleChanged(org.jhotdraw.framework.DrawingChangeEvent)
public void testDrawAll() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.drawAll(java.awt.Graphics)
public void testDraw() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.draw(java.awt.Graphics, org.jhotdraw.framework.FigureEnumeration)
public void testDrawHandles() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.drawHandles(java.awt.Graphics)
public void testDrawDrawing() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.drawDrawing(java.awt.Graphics)
public void testDrawBackground() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.drawBackground(java.awt.Graphics)
public void testAddBackground() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.addBackground(org.jhotdraw.framework.Painter)
public void testRemoveBackground() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.removeBackground(org.jhotdraw.framework.Painter)
public void testRemoveForeground() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.removeForeground(org.jhotdraw.framework.Painter)
public void testAddForeground() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.addForeground(org.jhotdraw.framework.Painter)
public void testFreezeView() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.freezeView()
public void testUnfreezeView() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.unfreezeView()
public void testIsFocusTraversable() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.isFocusTraversable()
public void testIsInteractive() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.isInteractive()
public void testKeyTyped() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.keyTyped(java.awt.event.KeyEvent)
public void testKeyReleased() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.keyReleased(java.awt.event.KeyEvent)
public void testAddFigureSelectionListener() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.addFigureSelectionListener(org.jhotdraw.framework.FigureSelectionListener)
public void testRemoveFigureSelectionListener() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.removeFigureSelectionListener(org.jhotdraw.framework.FigureSelectionListener)
public void testGetDefaultDNDActions() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.getDefaultDNDActions()
public void testAutoscroll() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.autoscroll(java.awt.Point)
public void testGetAutoscrollInsets() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.getAutoscrollInsets()
public void testToString() throws java.lang.Exception
java.lang.Exception
StandardDrawingView.toString()
public void testSetDragSourceActive() throws java.lang.Exception
java.lang.Exception
org.jhotdraw.standard.StandardDrawingView#setDragSourceActive(boolean)
public void testSetDropTargetActive() throws java.lang.Exception
java.lang.Exception
org.jhotdraw.standard.StandardDrawingView#setDropTargetActive(boolean)
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 |