|
||||||||||
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.NullDrawingViewTest
public class NullDrawingViewTest
TestCase NullDrawingViewTest is generated by JUnitDoclet to hold the tests for NullDrawingView.
NullDrawingView
Field Summary |
---|
Fields inherited from class org.jhotdraw.test.JHDTestCase |
---|
myDrawingEditor |
Constructor Summary | |
---|---|
NullDrawingViewTest(java.lang.String name)
Constructor NullDrawingViewTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
NullDrawingView |
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 |
testAddFigureSelectionListener()
Method testAddFigureSelectionListener is testing addFigureSelectionListener |
void |
testAddToSelection()
Method testAddToSelection is testing addToSelection |
void |
testAddToSelectionAll()
Method testAddToSelectionAll is testing addToSelectionAll |
void |
testCheckDamage()
Method testCheckDamage is testing checkDamage |
void |
testClearSelection()
Method testClearSelection is testing clearSelection |
void |
testCreateImage()
Method testCreateImage is testing createImage |
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 |
testFindHandle()
Method testFindHandle is testing findHandle |
void |
testFreezeView()
Method testFreezeView is testing freezeView |
void |
testGetConnectionFigures()
Method testGetConnectionFigures is testing getConnectionFigures |
void |
testGetFigureSelection()
Method testGetFigureSelection is testing getFigureSelection |
void |
testGetGraphics()
Method testGetGraphics is testing getGraphics |
void |
testGetManagedDrawingView()
Method testGetManagedDrawingView is testing getManagedDrawingView |
void |
testGetMinimumSize()
Method testGetMinimumSize is testing getMinimumSize |
void |
testGetPreferredSize()
Method testGetPreferredSize is testing getPreferredSize |
void |
testGetSize()
Method testGetSize is testing getSize |
void |
testInsertFigures()
Method testInsertFigures is testing insertFigures |
void |
testIsFigureSelected()
Method testIsFigureSelected is testing isFigureSelected |
void |
testIsInteractive()
Method testIsInteractive is testing isInteractive |
void |
testLastClick()
Method testLastClick is testing lastClick |
void |
testPaint()
Method testPaint is testing paint |
void |
testRemove()
Method testRemove is testing remove |
void |
testRemoveFigureSelectionListener()
Method testRemoveFigureSelectionListener is testing removeFigureSelectionListener |
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 |
testSetCursor()
Method testSetCursor is testing setCursor |
void |
testSetDrawing()
Method testSetDrawing is testing setDrawing |
void |
testSetEditor()
Method testSetEditor is testing setEditor |
void |
testSetGetBackground()
Method testSetGetBackground is testing setBackground and getBackground together by setting some value and verifying it by reading. |
void |
testSetGetConstrainer()
NullDrawingView.setConstrainer is a no-op. |
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 |
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 NullDrawingViewTest(java.lang.String name)
Method Detail |
---|
public NullDrawingView createInstance() throws java.lang.Exception
java.lang.Exception
public void testSetEditor() throws java.lang.Exception
java.lang.Exception
NullDrawingView.setEditor(org.jhotdraw.framework.DrawingEditor)
public void testTool() throws java.lang.Exception
java.lang.Exception
NullDrawingView.tool()
public void testDrawing() throws java.lang.Exception
java.lang.Exception
NullDrawingView.drawing()
public void testSetDrawing() throws java.lang.Exception
java.lang.Exception
NullDrawingView.setDrawing(org.jhotdraw.framework.Drawing)
public void testEditor() throws java.lang.Exception
java.lang.Exception
NullDrawingView.editor()
public void testAdd() throws java.lang.Exception
java.lang.Exception
NullDrawingView.add(org.jhotdraw.framework.Figure)
public void testRemove() throws java.lang.Exception
java.lang.Exception
NullDrawingView.remove(org.jhotdraw.framework.Figure)
public void testAddAll() throws java.lang.Exception
java.lang.Exception
NullDrawingView.addAll(java.util.Collection)
public void testGetSize() throws java.lang.Exception
java.lang.Exception
NullDrawingView.getSize()
public void testGetMinimumSize() throws java.lang.Exception
java.lang.Exception
NullDrawingView.getMinimumSize()
public void testGetPreferredSize() throws java.lang.Exception
java.lang.Exception
NullDrawingView.getPreferredSize()
public void testSetGetDisplayUpdate() throws java.lang.Exception
java.lang.Exception
NullDrawingView.setDisplayUpdate(org.jhotdraw.framework.Painter)
,
NullDrawingView.getDisplayUpdate()
public void testSelection() throws java.lang.Exception
java.lang.Exception
NullDrawingView.selection()
public void testSelectionZOrdered() throws java.lang.Exception
java.lang.Exception
NullDrawingView.selectionZOrdered()
public void testSelectionCount() throws java.lang.Exception
java.lang.Exception
NullDrawingView.selectionCount()
public void testIsFigureSelected() throws java.lang.Exception
java.lang.Exception
NullDrawingView.isFigureSelected(org.jhotdraw.framework.Figure)
public void testAddToSelection() throws java.lang.Exception
java.lang.Exception
NullDrawingView.addToSelection(org.jhotdraw.framework.Figure)
public void testAddToSelectionAll() throws java.lang.Exception
java.lang.Exception
NullDrawingView.addToSelectionAll(java.util.Collection)
public void testRemoveFromSelection() throws java.lang.Exception
java.lang.Exception
NullDrawingView.removeFromSelection(org.jhotdraw.framework.Figure)
public void testToggleSelection() throws java.lang.Exception
java.lang.Exception
NullDrawingView.toggleSelection(org.jhotdraw.framework.Figure)
public void testClearSelection() throws java.lang.Exception
java.lang.Exception
NullDrawingView.clearSelection()
public void testGetFigureSelection() throws java.lang.Exception
java.lang.Exception
NullDrawingView.getFigureSelection()
public void testFindHandle() throws java.lang.Exception
java.lang.Exception
NullDrawingView.findHandle(int, int)
public void testLastClick() throws java.lang.Exception
java.lang.Exception
NullDrawingView.lastClick()
public void testSetGetConstrainer() throws java.lang.Exception
java.lang.Exception
NullDrawingView.setConstrainer(org.jhotdraw.framework.PointConstrainer)
,
NullDrawingView.getConstrainer()
public void testCheckDamage() throws java.lang.Exception
java.lang.Exception
NullDrawingView.checkDamage()
public void testRepairDamage() throws java.lang.Exception
java.lang.Exception
NullDrawingView.repairDamage()
public void testPaint() throws java.lang.Exception
java.lang.Exception
NullDrawingView.paint(java.awt.Graphics)
public void testCreateImage() throws java.lang.Exception
java.lang.Exception
NullDrawingView.createImage(int, int)
public void testGetGraphics() throws java.lang.Exception
java.lang.Exception
NullDrawingView.getGraphics()
public void testSetGetBackground() throws java.lang.Exception
java.lang.Exception
NullDrawingView.setBackground(java.awt.Color)
,
NullDrawingView.getBackground()
public void testDrawAll() throws java.lang.Exception
java.lang.Exception
NullDrawingView.drawAll(java.awt.Graphics)
public void testDraw() throws java.lang.Exception
java.lang.Exception
NullDrawingView.draw(java.awt.Graphics, org.jhotdraw.framework.FigureEnumeration)
public void testDrawHandles() throws java.lang.Exception
java.lang.Exception
NullDrawingView.drawHandles(java.awt.Graphics)
public void testDrawDrawing() throws java.lang.Exception
java.lang.Exception
NullDrawingView.drawDrawing(java.awt.Graphics)
public void testDrawBackground() throws java.lang.Exception
java.lang.Exception
NullDrawingView.drawBackground(java.awt.Graphics)
public void testSetCursor() throws java.lang.Exception
java.lang.Exception
Component.setCursor(java.awt.Cursor)
public void testFreezeView() throws java.lang.Exception
java.lang.Exception
NullDrawingView.freezeView()
public void testUnfreezeView() throws java.lang.Exception
java.lang.Exception
NullDrawingView.unfreezeView()
public void testAddFigureSelectionListener() throws java.lang.Exception
java.lang.Exception
NullDrawingView.addFigureSelectionListener(org.jhotdraw.framework.FigureSelectionListener)
public void testRemoveFigureSelectionListener() throws java.lang.Exception
java.lang.Exception
NullDrawingView.removeFigureSelectionListener(org.jhotdraw.framework.FigureSelectionListener)
public void testGetConnectionFigures() throws java.lang.Exception
java.lang.Exception
NullDrawingView.getConnectionFigures(org.jhotdraw.framework.Figure)
public void testInsertFigures() throws java.lang.Exception
java.lang.Exception
NullDrawingView.insertFigures(org.jhotdraw.framework.FigureEnumeration, int, int, boolean)
public void testDrawingInvalidated() throws java.lang.Exception
java.lang.Exception
NullDrawingView.drawingInvalidated(org.jhotdraw.framework.DrawingChangeEvent)
public void testDrawingRequestUpdate() throws java.lang.Exception
java.lang.Exception
NullDrawingView.drawingRequestUpdate(org.jhotdraw.framework.DrawingChangeEvent)
public void testDrawingTitleChanged() throws java.lang.Exception
java.lang.Exception
NullDrawingView.drawingTitleChanged(org.jhotdraw.framework.DrawingChangeEvent)
public void testIsInteractive() throws java.lang.Exception
java.lang.Exception
NullDrawingView.isInteractive()
public void testGetManagedDrawingView() throws java.lang.Exception
java.lang.Exception
NullDrawingView.getManagedDrawingView(org.jhotdraw.framework.DrawingEditor)
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 |