org.jhotdraw.test
Class JHDTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jhotdraw.test.JHDTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
AlignCommandTest, AnimatorTest, BorderToolTest, BringToFrontCommandTest, ChangeAttributeCommandTest, CommandButtonTest, CommandCheckBoxMenuItemTest, CommandMenuItemTest, ComponentFigureTest, CompositeFigureCreationToolTest, ConnectedTextToolTest, ConnectionHandleTest, ConnectionToolTest, CopyCommandTest, CreationToolTest, CTXWindowMenuTest, CustomSelectionToolTest, CutCommandTest, DeleteCommandTest, DeleteFromDrawingVisitorTest, DesktopEventServiceTest, DragTrackerTest, DuplicateCommandTest, ElbowHandleTest, FigureAndEnumeratorTest, FigureChangeEventMulticasterTest, FontSizeHandleTest, GroupCommandTest, HandleEnumeratorTest, HandleTrackerTest, IconkitTest, InsertImageCommandTest, InsertIntoDrawingVisitorTest, JavaDrawAppTest, JPanelDesktopTest, LocatorHandleTest, MDIDesktopPaneTest, MiniMapViewTest, MySelectionToolTest, NestedCreationToolTest, NullDrawingViewTest, NullToolTest, PaletteIconTest, PasteCommandTest, PatternPainterTest, PolygonHandleTest, PolygonToolTest, PolyLineHandleTest, RedoCommandTest, ScribbleToolTest, SelectAllCommandTest, SelectAreaTrackerTest, SelectionToolTest, SendToBackCommandTest, SplitConnectionToolTest, StandardDrawingViewTest, StandardVersionControlStrategyTest, TextAreaToolTest, TextToolTest, ToggleGridCommandTest, ToolButtonTest, UndoableAdapterTest, UndoableCommandTest, UndoableHandleTest, UndoableToolTest, UndoCommandTest, UndoRedoActivityTest, UngroupCommandTest, URLToolTest, WindowMenuTest

public class JHDTestCase
extends junit.framework.TestCase


Field Summary
 JavaDrawApp myDrawingEditor
           
 
Constructor Summary
JHDTestCase(java.lang.String name)
           
 
Method Summary
 JavaDrawApp createNewDrawingEditor()
          Some tests might want start from scratch with a new DrawingEditor (to avoid side-effects from previous test)
 DrawApplication 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
 

Field Detail

myDrawingEditor

public JavaDrawApp myDrawingEditor
Constructor Detail

JHDTestCase

public JHDTestCase(java.lang.String name)
Method Detail

getDrawingEditor

public DrawApplication getDrawingEditor()

createNewDrawingEditor

public JavaDrawApp createNewDrawingEditor()
Some tests might want start from scratch with a new DrawingEditor (to avoid side-effects from previous test)