org.jhotdraw.test.util
Class IconkitTest

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

public class IconkitTest
extends JHDTestCase

TestCase IconkitTest is generated by JUnitDoclet to hold the tests for Iconkit.

See Also:
Iconkit

Field Summary
 
Fields inherited from class org.jhotdraw.test.JHDTestCase
myDrawingEditor
 
Constructor Summary
IconkitTest(java.lang.String name)
          Constructor IconkitTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework.
 
Method Summary
 Iconkit createInstance()
          Factory method for instances of the class to be tested.
 void testGetImage()
          Method testGetImage is testing getImage
 void testInstance()
          Method testInstance is testing instance
 void testLoadImage()
          Method testLoadImage is testing loadImage
 void testLoadImageResource()
          Method testLoadImageResource is testing loadImageResource
 void testLoadRegisteredImages()
          Method testLoadRegisteredImages is testing loadRegisteredImages
 void testRegisterAndLoadImage()
          Method testRegisterAndLoadImage is testing registerAndLoadImage
 void testRegisterImage()
          Method testRegisterImage is testing registerImage
 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

IconkitTest

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

Method Detail

createInstance

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

Throws:
java.lang.Exception

testInstance

public void testInstance()
                  throws java.lang.Exception
Method testInstance is testing instance

Throws:
java.lang.Exception
See Also:
Iconkit.instance()

testLoadRegisteredImages

public void testLoadRegisteredImages()
                              throws java.lang.Exception
Method testLoadRegisteredImages is testing loadRegisteredImages

Throws:
java.lang.Exception
See Also:
Iconkit.loadRegisteredImages(java.awt.Component)

testRegisterImage

public void testRegisterImage()
                       throws java.lang.Exception
Method testRegisterImage is testing registerImage

Throws:
java.lang.Exception
See Also:
Iconkit.registerImage(java.lang.String)

testRegisterAndLoadImage

public void testRegisterAndLoadImage()
                              throws java.lang.Exception
Method testRegisterAndLoadImage is testing registerAndLoadImage

Throws:
java.lang.Exception
See Also:
Iconkit.registerAndLoadImage(java.awt.Component, java.lang.String)

testLoadImage

public void testLoadImage()
                   throws java.lang.Exception
Method testLoadImage is testing loadImage

Throws:
java.lang.Exception
See Also:
Iconkit.loadImage(java.lang.String)

testLoadImageResource

public void testLoadImageResource()
                           throws java.lang.Exception
Method testLoadImageResource is testing loadImageResource

Throws:
java.lang.Exception
See Also:
Iconkit.loadImageResource(java.lang.String)

testGetImage

public void testGetImage()
                  throws java.lang.Exception
Method testGetImage is testing getImage

Throws:
java.lang.Exception
See Also:
Iconkit.getImage(java.lang.String)

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