org.jhotdraw.test.figures
Class NullFigureTest

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

public class NullFigureTest
extends junit.framework.TestCase

TestCase NullFigureTest is generated by JUnitDoclet to hold the tests for NullFigure.

See Also:
NullFigure

Constructor Summary
NullFigureTest(java.lang.String name)
          Constructor NullFigureTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework.
 
Method Summary
 NullFigure createInstance()
          Factory method for instances of the class to be tested.
 void testBasicDisplayBox()
          Method testBasicDisplayBox is testing basicDisplayBox
 void testClone()
          Method testClone is testing clone
 void testDecompose()
          Method testDecompose is testing decompose
 void testDisplayBox()
          Method testDisplayBox is testing displayBox
 void testDraw()
          Method testDraw is testing draw
 void testFigures()
          Method testFigures is testing figures
 void testFindFigureInside()
          Method testFindFigureInside is testing findFigureInside
 void testGetAttribute()
          Method testGetAttribute is testing getAttribute
 void testHandles()
          Method testHandles is testing handles
 void testIncludes()
          Method testIncludes is testing includes
 void testInvalidate()
          Method testInvalidate is testing invalidate
 void testIsEmpty()
          Method testIsEmpty is testing isEmpty
 void testRelease()
          Method testRelease is testing release
 void testSetAttribute()
          Method testSetAttribute is testing setAttribute
 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

NullFigureTest

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

Method Detail

createInstance

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

Throws:
java.lang.Exception

testBasicDisplayBox

public void testBasicDisplayBox()
                         throws java.lang.Exception
Method testBasicDisplayBox is testing basicDisplayBox

Throws:
java.lang.Exception
See Also:
NullFigure.basicDisplayBox(java.awt.Point, java.awt.Point)

testDisplayBox

public void testDisplayBox()
                    throws java.lang.Exception
Method testDisplayBox is testing displayBox

Throws:
java.lang.Exception
See Also:
NullFigure.displayBox()

testDraw

public void testDraw()
              throws java.lang.Exception
Method testDraw is testing draw

Throws:
java.lang.Exception
See Also:
NullFigure.draw(java.awt.Graphics)

testHandles

public void testHandles()
                 throws java.lang.Exception
Method testHandles is testing handles

Throws:
java.lang.Exception
See Also:
NullFigure.handles()

testIsEmpty

public void testIsEmpty()
                 throws java.lang.Exception
Method testIsEmpty is testing isEmpty

Throws:
java.lang.Exception
See Also:
NullFigure.isEmpty()

testFigures

public void testFigures()
                 throws java.lang.Exception
Method testFigures is testing figures

Throws:
java.lang.Exception
See Also:
NullFigure.figures()

testFindFigureInside

public void testFindFigureInside()
                          throws java.lang.Exception
Method testFindFigureInside is testing findFigureInside

Throws:
java.lang.Exception
See Also:
NullFigure.findFigureInside(int, int)

testClone

public void testClone()
               throws java.lang.Exception
Method testClone is testing clone

Throws:
java.lang.Exception
See Also:
NullFigure.clone()

testIncludes

public void testIncludes()
                  throws java.lang.Exception
Method testIncludes is testing includes

Throws:
java.lang.Exception
See Also:
NullFigure.includes(org.jhotdraw.framework.Figure)

testDecompose

public void testDecompose()
                   throws java.lang.Exception
Method testDecompose is testing decompose

Throws:
java.lang.Exception
See Also:
NullFigure.decompose()

testRelease

public void testRelease()
                 throws java.lang.Exception
Method testRelease is testing release

Throws:
java.lang.Exception
See Also:
NullFigure.release()

testInvalidate

public void testInvalidate()
                    throws java.lang.Exception
Method testInvalidate is testing invalidate

Throws:
java.lang.Exception
See Also:
NullFigure.invalidate()

testGetAttribute

public void testGetAttribute()
                      throws java.lang.Exception
Method testGetAttribute is testing getAttribute

Throws:
java.lang.Exception
See Also:
NullFigure.getAttribute(java.lang.String)

testSetAttribute

public void testSetAttribute()
                      throws java.lang.Exception
Method testSetAttribute is testing setAttribute

Throws:
java.lang.Exception
See Also:
NullFigure.setAttribute(java.lang.String, java.lang.Object)

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