org.jhotdraw.test.standard
Class FigureChangeAdapterTest

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

public class FigureChangeAdapterTest
extends junit.framework.TestCase

TestCase FigureChangeAdapterTest is generated by JUnitDoclet to hold the tests for FigureChangeAdapter.

See Also:
FigureChangeAdapter

Constructor Summary
FigureChangeAdapterTest(java.lang.String name)
          Constructor FigureChangeAdapterTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework.
 
Method Summary
 FigureChangeAdapter createInstance()
          Factory method for instances of the class to be tested.
 void testFigureChanged()
          Method testFigureChanged is testing figureChanged
 void testFigureInvalidated()
          Method testFigureInvalidated is testing figureInvalidated
 void testFigureRemoved()
          Method testFigureRemoved is testing figureRemoved
 void testFigureRequestRemove()
          Method testFigureRequestRemove is testing figureRequestRemove
 void testFigureRequestUpdate()
          Method testFigureRequestUpdate is testing figureRequestUpdate
 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

FigureChangeAdapterTest

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

Method Detail

createInstance

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

Throws:
java.lang.Exception

testFigureInvalidated

public void testFigureInvalidated()
                           throws java.lang.Exception
Method testFigureInvalidated is testing figureInvalidated

Throws:
java.lang.Exception
See Also:
FigureChangeAdapter.figureInvalidated(org.jhotdraw.framework.FigureChangeEvent)

testFigureChanged

public void testFigureChanged()
                       throws java.lang.Exception
Method testFigureChanged is testing figureChanged

Throws:
java.lang.Exception
See Also:
FigureChangeAdapter.figureChanged(org.jhotdraw.framework.FigureChangeEvent)

testFigureRemoved

public void testFigureRemoved()
                       throws java.lang.Exception
Method testFigureRemoved is testing figureRemoved

Throws:
java.lang.Exception
See Also:
FigureChangeAdapter.figureRemoved(org.jhotdraw.framework.FigureChangeEvent)

testFigureRequestRemove

public void testFigureRequestRemove()
                             throws java.lang.Exception
Method testFigureRequestRemove is testing figureRequestRemove

Throws:
java.lang.Exception
See Also:
FigureChangeAdapter.figureRequestRemove(org.jhotdraw.framework.FigureChangeEvent)

testFigureRequestUpdate

public void testFigureRequestUpdate()
                             throws java.lang.Exception
Method testFigureRequestUpdate is testing figureRequestUpdate

Throws:
java.lang.Exception
See Also:
FigureChangeAdapter.figureRequestUpdate(org.jhotdraw.framework.FigureChangeEvent)

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