org.jhotdraw.test.contrib
Class MDIDesktopPaneTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jhotdraw.test.JHDTestCase
              extended by org.jhotdraw.test.contrib.MDIDesktopPaneTest
All Implemented Interfaces:
junit.framework.Test

public class MDIDesktopPaneTest
extends JHDTestCase

TestCase MDIDesktopPaneTest is generated by JUnitDoclet to hold the tests for MDIDesktopPane.

See Also:
MDIDesktopPane

Field Summary
 
Fields inherited from class org.jhotdraw.test.JHDTestCase
myDrawingEditor
 
Constructor Summary
MDIDesktopPaneTest(java.lang.String name)
          Constructor MDIDesktopPaneTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework.
 
Method Summary
 MDIDesktopPane createInstance()
          Factory method for instances of the class to be tested.
 void testAddDesktopListener()
          Method testAddDesktopListener is testing addDesktopListener
 void testAddToDesktop()
          Method testAddToDesktop is testing addToDesktop
 void testArrangeFramesHorizontally()
          Method testArrangeFramesHorizontally is testing arrangeFramesHorizontally
 void testArrangeFramesVertically()
          Method testArrangeFramesVertically is testing arrangeFramesVertically
 void testCascadeFrames()
          Method testCascadeFrames is testing cascadeFrames
 void testGetActiveDrawingView()
          Method testGetActiveDrawingView is testing getActiveDrawingView
 void testGetAllFromDesktop()
          Method testGetAllFromDesktop is testing getAllFromDesktop
 void testRemoveAllFromDesktop()
          Method testRemoveAllFromDesktop is testing removeAllFromDesktop
 void testRemoveDesktopListener()
          Method testRemoveDesktopListener is testing removeDesktopListener
 void testRemoveFromDesktop()
          Method testRemoveFromDesktop is testing removeFromDesktop
 void testSetAllSize()
          Method testSetAllSize is testing setAllSize
 void testTileFrames()
          Method testTileFrames is testing tileFrames
 void testTileFramesHorizontally()
          Method testTileFramesHorizontally is testing tileFramesHorizontally
 void testTileFramesVertically()
          Method testTileFramesVertically is testing tileFramesVertically
 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

MDIDesktopPaneTest

public MDIDesktopPaneTest(java.lang.String name)
Constructor MDIDesktopPaneTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework.

Method Detail

createInstance

public MDIDesktopPane createInstance()
                              throws java.lang.Exception
Factory method for instances of the class to be tested.

Throws:
java.lang.Exception

testGetActiveDrawingView

public void testGetActiveDrawingView()
                              throws java.lang.Exception
Method testGetActiveDrawingView is testing getActiveDrawingView

Throws:
java.lang.Exception
See Also:
MDIDesktopPane.getActiveDrawingView()

testAddToDesktop

public void testAddToDesktop()
                      throws java.lang.Exception
Method testAddToDesktop is testing addToDesktop

Throws:
java.lang.Exception
See Also:
MDIDesktopPane.addToDesktop(org.jhotdraw.framework.DrawingView, int)

testRemoveFromDesktop

public void testRemoveFromDesktop()
                           throws java.lang.Exception
Method testRemoveFromDesktop is testing removeFromDesktop

Throws:
java.lang.Exception
See Also:
MDIDesktopPane.removeFromDesktop(org.jhotdraw.framework.DrawingView, int)

testRemoveAllFromDesktop

public void testRemoveAllFromDesktop()
                              throws java.lang.Exception
Method testRemoveAllFromDesktop is testing removeAllFromDesktop

Throws:
java.lang.Exception
See Also:
MDIDesktopPane.removeAllFromDesktop(int)

testGetAllFromDesktop

public void testGetAllFromDesktop()
                           throws java.lang.Exception
Method testGetAllFromDesktop is testing getAllFromDesktop

Throws:
java.lang.Exception
See Also:
MDIDesktopPane.getAllFromDesktop(int)

testAddDesktopListener

public void testAddDesktopListener()
                            throws java.lang.Exception
Method testAddDesktopListener is testing addDesktopListener

Throws:
java.lang.Exception
See Also:
MDIDesktopPane.addDesktopListener(org.jhotdraw.contrib.DesktopListener)

testRemoveDesktopListener

public void testRemoveDesktopListener()
                               throws java.lang.Exception
Method testRemoveDesktopListener is testing removeDesktopListener

Throws:
java.lang.Exception
See Also:
MDIDesktopPane.removeDesktopListener(org.jhotdraw.contrib.DesktopListener)

testCascadeFrames

public void testCascadeFrames()
                       throws java.lang.Exception
Method testCascadeFrames is testing cascadeFrames

Throws:
java.lang.Exception
See Also:
MDIDesktopPane.cascadeFrames()

testTileFrames

public void testTileFrames()
                    throws java.lang.Exception
Method testTileFrames is testing tileFrames

Throws:
java.lang.Exception
See Also:
MDIDesktopPane.tileFrames()

testTileFramesHorizontally

public void testTileFramesHorizontally()
                                throws java.lang.Exception
Method testTileFramesHorizontally is testing tileFramesHorizontally

Throws:
java.lang.Exception
See Also:
MDIDesktopPane.tileFramesHorizontally()

testTileFramesVertically

public void testTileFramesVertically()
                              throws java.lang.Exception
Method testTileFramesVertically is testing tileFramesVertically

Throws:
java.lang.Exception
See Also:
MDIDesktopPane.tileFramesVertically()

testArrangeFramesVertically

public void testArrangeFramesVertically()
                                 throws java.lang.Exception
Method testArrangeFramesVertically is testing arrangeFramesVertically

Throws:
java.lang.Exception
See Also:
MDIDesktopPane.arrangeFramesVertically()

testArrangeFramesHorizontally

public void testArrangeFramesHorizontally()
                                   throws java.lang.Exception
Method testArrangeFramesHorizontally is testing arrangeFramesHorizontally

Throws:
java.lang.Exception
See Also:
MDIDesktopPane.arrangeFramesHorizontally()

testSetAllSize

public void testSetAllSize()
                    throws java.lang.Exception
Method testSetAllSize is testing setAllSize

Throws:
java.lang.Exception
See Also:
MDIDesktopPane.setAllSize(java.awt.Dimension)

testVault

public void testVault()
               throws java.lang.Exception
JUnitDoclet moves marker to this method, if there is not match for them in the regenerated code and if the marker is not empty. This way, no test gets lost when regenerating after renaming. Method testVault is supposed to be empty.

Throws:
java.lang.Exception