com.rolemodelsoft.drawlet.basics
Class TC_SimpleDrawing

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--com.rolemodelsoft.drawlet.basics.TC_SimpleDrawing

public class TC_SimpleDrawing
extends junit.framework.TestCase


Field Summary
protected  SimpleDrawing drawing
           
protected  Figure figure1
           
protected  Figure figure2
           
protected  Figure figure3
           
protected  PropertyChangeRevealer propertyRevealer
           
 
Fields inherited from class junit.framework.TestCase
result
 
Constructor Summary
TC_SimpleDrawing(java.lang.String name)
          SimpleDrawingTest constructor comment.
 
Method Summary
 void setUp()
          Sets up this test.
 void testAddFigure()
           
 void testAddFigureBehind()
           
 void testAddPropertyChangeListener()
          Test to make sure PropertyChangeListeners are being added correctly.
 void testFigureAt()
           
 void testFigures()
           
 void testGetBounds()
           
 void testGetSize()
          Tests getSize().
 void testGetStyle()
          Tests getStyle().
 void testIsDynamicSize()
           
 void testMoveFigureBehind()
           
 void testMoveFigureInFront()
           
 void testMoveFigureToBack()
           
 void testMoveFigureToFront()
           
 void testOtherFigureAt()
           
 void testRemoveFigure()
           
 void testRemovePropertyChangeListener()
          Test to make sure PropertyChangeListeners are being removed correctly.
 void testSetDynamicSize()
          Tests setDynamicSize().
 void testSetSizeDimension()
           
 void testSetSizeIntInt()
           
 void testSetStyle()
          Tests setStyle().
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, name, onAssertion, run, run, runBare, runTest, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail, failNotEquals, failNotSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

drawing

protected SimpleDrawing drawing

figure1

protected Figure figure1

figure2

protected Figure figure2

figure3

protected Figure figure3

propertyRevealer

protected PropertyChangeRevealer propertyRevealer
Constructor Detail

TC_SimpleDrawing

public TC_SimpleDrawing(java.lang.String name)
SimpleDrawingTest constructor comment.
Parameters:
name - java.lang.String
Method Detail

setUp

public void setUp()
Sets up this test.
Overrides:
setUp in class junit.framework.TestCase

testAddFigure

public void testAddFigure()

testAddFigureBehind

public void testAddFigureBehind()

testAddPropertyChangeListener

public void testAddPropertyChangeListener()
Test to make sure PropertyChangeListeners are being added correctly.

testFigureAt

public void testFigureAt()

testFigures

public void testFigures()

testGetBounds

public void testGetBounds()

testGetSize

public void testGetSize()
Tests getSize().

testGetStyle

public void testGetStyle()
Tests getStyle().

testIsDynamicSize

public void testIsDynamicSize()

testMoveFigureBehind

public void testMoveFigureBehind()

testMoveFigureInFront

public void testMoveFigureInFront()

testMoveFigureToBack

public void testMoveFigureToBack()

testMoveFigureToFront

public void testMoveFigureToFront()

testOtherFigureAt

public void testOtherFigureAt()

testRemoveFigure

public void testRemoveFigure()

testRemovePropertyChangeListener

public void testRemovePropertyChangeListener()
Test to make sure PropertyChangeListeners are being removed correctly.

testSetDynamicSize

public void testSetDynamicSize()
Tests setDynamicSize().

testSetSizeDimension

public void testSetSizeDimension()

testSetSizeIntInt

public void testSetSizeIntInt()

testSetStyle

public void testSetStyle()
Tests setStyle().