|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.jhotdraw.test.contrib.SimpleLayouterTest
public class SimpleLayouterTest
TestCase SimpleLayouterTest is generated by JUnitDoclet to hold the tests for SimpleLayouter.
SimpleLayouter
Constructor Summary | |
---|---|
SimpleLayouterTest(java.lang.String name)
Constructor SimpleLayouterTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
SimpleLayouter |
createInstance()
Factory method for instances of the class to be tested. |
void |
testCalculateLayout()
Method testCalculateLayout is testing calculateLayout |
void |
testCreate()
Method testCreate is testing create |
void |
testLayout()
Method testLayout is testing layout |
void |
testRead()
Method testRead is testing read |
void |
testSetGetInsets()
Method testSetGetInsets is testing setInsets and getInsets together by setting some value and verifying it by reading. |
void |
testSetGetLayoutable()
Method testSetGetLayoutable is testing setLayoutable and getLayoutable together by setting some value and verifying it by reading. |
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 |
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 |
---|
public SimpleLayouterTest(java.lang.String name)
Method Detail |
---|
public SimpleLayouter createInstance() throws java.lang.Exception
java.lang.Exception
public void testSetGetLayoutable() throws java.lang.Exception
java.lang.Exception
SimpleLayouter.setLayoutable(org.jhotdraw.contrib.Layoutable)
,
SimpleLayouter.getLayoutable()
public void testSetGetInsets() throws java.lang.Exception
java.lang.Exception
SimpleLayouter.setInsets(java.awt.Insets)
,
SimpleLayouter.getInsets()
public void testCreate() throws java.lang.Exception
java.lang.Exception
SimpleLayouter.create(org.jhotdraw.contrib.Layoutable)
public void testCalculateLayout() throws java.lang.Exception
java.lang.Exception
SimpleLayouter.calculateLayout(java.awt.Point, java.awt.Point)
public void testLayout() throws java.lang.Exception
java.lang.Exception
SimpleLayouter.layout(java.awt.Point, java.awt.Point)
public void testRead() throws java.lang.Exception
java.lang.Exception
SimpleLayouter.read(org.jhotdraw.util.StorableInput)
public void testWrite() throws java.lang.Exception
java.lang.Exception
SimpleLayouter.write(org.jhotdraw.util.StorableOutput)
public void testVault() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |