com.rolemodelsoft.drawlet
Class TC_DrawletFunctionalTest

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

public class TC_DrawletFunctionalTest
extends junit.framework.TestCase


Fields inherited from class junit.framework.TestCase
result
 
Constructor Summary
TC_DrawletFunctionalTest(java.lang.String name)
           
 
Method Summary
 void setUp()
          Sets up the tests.
 void testLineCreation()
          Tests to make sure line creation is working properly.
 void testMoveTriangle()
          Tests to see if the proper events are propagated when the triangle is moved.
 void testPentagonLocation()
          Tests to see if the pentagon is in the proper location.
 void testRectangleLocation()
          Tests to see if the rectangle is in the proper location.
 void testTriangleLocation()
          Tests to see if the triangle is in the proper location.
 
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
 

Constructor Detail

TC_DrawletFunctionalTest

public TC_DrawletFunctionalTest(java.lang.String name)
Method Detail

setUp

public void setUp()
Sets up the tests.
Overrides:
setUp in class junit.framework.TestCase

testLineCreation

public void testLineCreation()
Tests to make sure line creation is working properly.

testMoveTriangle

public void testMoveTriangle()
Tests to see if the proper events are propagated when the triangle is moved.

testPentagonLocation

public void testPentagonLocation()
Tests to see if the pentagon is in the proper location.

testRectangleLocation

public void testRectangleLocation()
Tests to see if the rectangle is in the proper location.

testTriangleLocation

public void testTriangleLocation()
Tests to see if the triangle is in the proper location.