Package org.pathvisio.libgpml.model
Class TestLinePoint
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.pathvisio.libgpml.model.TestLinePoint
- All Implemented Interfaces:
junit.framework.Test
public class TestLinePoint
extends junit.framework.TestCase
Test for
LineElement.LinePoint.- Author:
- finterly
-
Field Summary
Fields Modifier and Type Field Description private Interactioni1private PathwayModelpprivate LineElement.LinePointpt3private LineElement.LinePointpt4 -
Constructor Summary
Constructors Constructor Description TestLinePoint() -
Method Summary
Modifier and Type Method Description voidsetUp()Creates and adds anchor to line, line to pathwayModel.voidtestRemoveLine()Tests removing line and thus anchor.voidtestSetLinePoints()Tests calling setLinePoints() before adding line to pathway model.Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, tearDown, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
p
-
i1
-
pt3
-
pt4
-
-
Constructor Details
-
TestLinePoint
public TestLinePoint()
-
-
Method Details
-
setUp
public void setUp()Creates and adds anchor to line, line to pathwayModel.- Overrides:
setUpin classjunit.framework.TestCase
-
testRemoveLine
public void testRemoveLine()Tests removing line and thus anchor. -
testSetLinePoints
public void testSetLinePoints()Tests calling setLinePoints() before adding line to pathway model.
-