org.jhotdraw.test.contrib
Class JScrollPaneDesktopTest

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

public class JScrollPaneDesktopTest
extends junit.framework.TestCase

TestCase JScrollPaneDesktopTest is generated by JUnitDoclet to hold the tests for JScrollPaneDesktop.

See Also:
JScrollPaneDesktop

Constructor Summary
JScrollPaneDesktopTest(java.lang.String name)
          Constructor JScrollPaneDesktopTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework.
 
Method Summary
 JScrollPaneDesktop 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 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 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 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

JScrollPaneDesktopTest

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

Method Detail

createInstance

public JScrollPaneDesktop 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:
JScrollPaneDesktop.getActiveDrawingView()

testAddToDesktop

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

Throws:
java.lang.Exception
See Also:
JScrollPaneDesktop.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:
JScrollPaneDesktop.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:
JScrollPaneDesktop.removeAllFromDesktop(int)

testGetAllFromDesktop

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

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

testAddDesktopListener

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

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

testRemoveDesktopListener

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

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

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