org.jhotdraw.test.standard
Class RelativeLocatorTest

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

public class RelativeLocatorTest
extends junit.framework.TestCase

TestCase RelativeLocatorTest is generated by JUnitDoclet to hold the tests for RelativeLocator.

See Also:
RelativeLocator

Constructor Summary
RelativeLocatorTest(java.lang.String name)
          Constructor RelativeLocatorTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework.
 
Method Summary
 RelativeLocator createInstance()
          Factory method for instances of the class to be tested.
 void testCenter()
          Method testCenter is testing center
 void testEast()
          Method testEast is testing east
 void testEquals()
          Method testEquals is testing equals
 void testLocate()
          Method testLocate is testing locate
 void testNorth()
          Method testNorth is testing north
 void testNorthEast()
          Method testNorthEast is testing northEast
 void testNorthWest()
          Method testNorthWest is testing northWest
 void testRead()
          Method testRead is testing read
 void testSouth()
          Method testSouth is testing south
 void testSouthEast()
          Method testSouthEast is testing southEast
 void testSouthWest()
          Method testSouthWest is testing southWest
 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.
 void testWest()
          Method testWest is testing west
 void testWrite()
          Method testWrite is testing write
 
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

RelativeLocatorTest

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

Method Detail

createInstance

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

Throws:
java.lang.Exception

testEquals

public void testEquals()
                throws java.lang.Exception
Method testEquals is testing equals

Throws:
java.lang.Exception
See Also:
RelativeLocator.equals(java.lang.Object)

testLocate

public void testLocate()
                throws java.lang.Exception
Method testLocate is testing locate

Throws:
java.lang.Exception
See Also:
RelativeLocator.locate(org.jhotdraw.framework.Figure)

testWrite

public void testWrite()
               throws java.lang.Exception
Method testWrite is testing write

Throws:
java.lang.Exception
See Also:
RelativeLocator.write(org.jhotdraw.util.StorableOutput)

testRead

public void testRead()
              throws java.lang.Exception
Method testRead is testing read

Throws:
java.lang.Exception
See Also:
RelativeLocator.read(org.jhotdraw.util.StorableInput)

testEast

public void testEast()
              throws java.lang.Exception
Method testEast is testing east

Throws:
java.lang.Exception
See Also:
RelativeLocator.east()

testNorth

public void testNorth()
               throws java.lang.Exception
Method testNorth is testing north

Throws:
java.lang.Exception
See Also:
RelativeLocator.north()

testWest

public void testWest()
              throws java.lang.Exception
Method testWest is testing west

Throws:
java.lang.Exception
See Also:
RelativeLocator.west()

testNorthEast

public void testNorthEast()
                   throws java.lang.Exception
Method testNorthEast is testing northEast

Throws:
java.lang.Exception
See Also:
RelativeLocator.northEast()

testNorthWest

public void testNorthWest()
                   throws java.lang.Exception
Method testNorthWest is testing northWest

Throws:
java.lang.Exception
See Also:
RelativeLocator.northWest()

testSouth

public void testSouth()
               throws java.lang.Exception
Method testSouth is testing south

Throws:
java.lang.Exception
See Also:
RelativeLocator.south()

testSouthEast

public void testSouthEast()
                   throws java.lang.Exception
Method testSouthEast is testing southEast

Throws:
java.lang.Exception
See Also:
RelativeLocator.southEast()

testSouthWest

public void testSouthWest()
                   throws java.lang.Exception
Method testSouthWest is testing southWest

Throws:
java.lang.Exception
See Also:
RelativeLocator.southWest()

testCenter

public void testCenter()
                throws java.lang.Exception
Method testCenter is testing center

Throws:
java.lang.Exception
See Also:
RelativeLocator.center()

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