org.jhotdraw.test.standard
Class FigureChangeEventMulticasterTest

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

public class FigureChangeEventMulticasterTest
extends JHDTestCase

TestCase FigureChangeEventMulticasterTest is generated by JUnitDoclet to hold the tests for FigureChangeEventMulticaster.

See Also:
FigureChangeEventMulticaster

Field Summary
 
Fields inherited from class org.jhotdraw.test.JHDTestCase
myDrawingEditor
 
Constructor Summary
FigureChangeEventMulticasterTest(java.lang.String name)
          Constructor FigureChangeEventMulticasterTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework.
 
Method Summary
 FigureChangeEventMulticaster createInstance()
          Factory method for instances of the class to be tested.
 void testAdd()
          Method testAdd is testing add
 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 testRemove()
          Method testRemove is testing remove
 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

FigureChangeEventMulticasterTest

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

Method Detail

createInstance

public FigureChangeEventMulticaster 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:
FigureChangeEventMulticaster.figureInvalidated(org.jhotdraw.framework.FigureChangeEvent)

testFigureRequestRemove

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

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

testFigureRequestUpdate

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

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

testFigureChanged

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

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

testFigureRemoved

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

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

testAdd

public void testAdd()
             throws java.lang.Exception
Method testAdd is testing add

Throws:
java.lang.Exception
See Also:
FigureChangeEventMulticaster.add(org.jhotdraw.framework.FigureChangeListener, org.jhotdraw.framework.FigureChangeListener)

testRemove

public void testRemove()
                throws java.lang.Exception
Method testRemove is testing remove

Throws:
java.lang.Exception
See Also:
FigureChangeEventMulticaster.remove(org.jhotdraw.framework.FigureChangeListener, org.jhotdraw.framework.FigureChangeListener)

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