|
||||||||||
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.figures.LineConnectionTest
public class LineConnectionTest
TestCase LineConnectionTest is generated by JUnitDoclet to hold the tests for LineConnection.
LineConnection
Constructor Summary | |
---|---|
LineConnectionTest(java.lang.String name)
Constructor LineConnectionTest is basically calling the inherited constructor to initiate the TestCase for use by the Framework. |
Method Summary | |
---|---|
LineConnection |
createInstance()
Factory method for instances of the class to be tested. |
void |
testCanConnect()
Method testCanConnect is testing canConnect |
void |
testConnectEnd()
Method testConnectEnd is testing connectEnd |
void |
testConnectsSame()
Method testConnectsSame is testing connectsSame |
void |
testConnectStart()
Method testConnectStart is testing connectStart |
void |
testDisconnectEnd()
Method testDisconnectEnd is testing disconnectEnd |
void |
testDisconnectStart()
Method testDisconnectStart is testing disconnectStart |
void |
testEndFigure()
Method testEndFigure is testing endFigure |
void |
testEndPoint()
Method testEndPoint is testing endPoint |
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 |
testGetEndConnector()
Method testGetEndConnector is testing getEndConnector |
void |
testGetStartConnector()
Method testGetStartConnector is testing getStartConnector |
void |
testHandles()
Method testHandles is testing handles |
void |
testInsertPointAt()
Method testInsertPointAt is testing insertPointAt |
void |
testLayoutConnection()
Method testLayoutConnection is testing layoutConnection |
void |
testRead()
Method testRead is testing read |
void |
testRelease()
Method testRelease is testing release |
void |
testRemovePointAt()
Method testRemovePointAt is testing removePointAt |
void |
testSetPointAt()
Method testSetPointAt is testing setPointAt |
void |
testStartFigure()
Method testStartFigure is testing startFigure |
void |
testStartPoint()
Method testStartPoint is testing startPoint |
void |
testUpdateConnection()
Method testUpdateConnection is testing updateConnection |
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 |
testVisit()
Method testVisit is testing visit |
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 LineConnectionTest(java.lang.String name)
Method Detail |
---|
public LineConnection createInstance() throws java.lang.Exception
java.lang.Exception
public void testCanConnect() throws java.lang.Exception
java.lang.Exception
LineConnection.canConnect()
public void testConnectStart() throws java.lang.Exception
java.lang.Exception
LineConnection.connectStart(org.jhotdraw.framework.Connector)
public void testConnectEnd() throws java.lang.Exception
java.lang.Exception
LineConnection.connectEnd(org.jhotdraw.framework.Connector)
public void testDisconnectStart() throws java.lang.Exception
java.lang.Exception
LineConnection.disconnectStart()
public void testDisconnectEnd() throws java.lang.Exception
java.lang.Exception
LineConnection.disconnectEnd()
public void testConnectsSame() throws java.lang.Exception
java.lang.Exception
LineConnection.connectsSame(org.jhotdraw.framework.ConnectionFigure)
public void testStartFigure() throws java.lang.Exception
java.lang.Exception
LineConnection.startFigure()
public void testEndFigure() throws java.lang.Exception
java.lang.Exception
LineConnection.endFigure()
public void testGetStartConnector() throws java.lang.Exception
java.lang.Exception
LineConnection.getStartConnector()
public void testGetEndConnector() throws java.lang.Exception
java.lang.Exception
LineConnection.getEndConnector()
public void testStartPoint() throws java.lang.Exception
java.lang.Exception
LineConnection.startPoint(int, int)
public void testEndPoint() throws java.lang.Exception
java.lang.Exception
LineConnection.endPoint(int, int)
public void testHandles() throws java.lang.Exception
java.lang.Exception
LineConnection.handles()
public void testSetPointAt() throws java.lang.Exception
java.lang.Exception
LineConnection.setPointAt(java.awt.Point, int)
public void testInsertPointAt() throws java.lang.Exception
java.lang.Exception
LineConnection.insertPointAt(java.awt.Point, int)
public void testRemovePointAt() throws java.lang.Exception
java.lang.Exception
LineConnection.removePointAt(int)
public void testUpdateConnection() throws java.lang.Exception
java.lang.Exception
LineConnection.updateConnection()
public void testLayoutConnection() throws java.lang.Exception
java.lang.Exception
LineConnection.layoutConnection()
public void testFigureChanged() throws java.lang.Exception
java.lang.Exception
LineConnection.figureChanged(org.jhotdraw.framework.FigureChangeEvent)
public void testFigureRemoved() throws java.lang.Exception
java.lang.Exception
LineConnection.figureRemoved(org.jhotdraw.framework.FigureChangeEvent)
public void testFigureRequestRemove() throws java.lang.Exception
java.lang.Exception
LineConnection.figureRequestRemove(org.jhotdraw.framework.FigureChangeEvent)
public void testFigureInvalidated() throws java.lang.Exception
java.lang.Exception
LineConnection.figureInvalidated(org.jhotdraw.framework.FigureChangeEvent)
public void testFigureRequestUpdate() throws java.lang.Exception
java.lang.Exception
LineConnection.figureRequestUpdate(org.jhotdraw.framework.FigureChangeEvent)
public void testRelease() throws java.lang.Exception
java.lang.Exception
LineConnection.release()
public void testWrite() throws java.lang.Exception
java.lang.Exception
LineConnection.write(org.jhotdraw.util.StorableOutput)
public void testRead() throws java.lang.Exception
java.lang.Exception
LineConnection.read(org.jhotdraw.util.StorableInput)
public void testVisit() throws java.lang.Exception
java.lang.Exception
LineConnection.visit(org.jhotdraw.framework.FigureVisitor)
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 |