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 Interaction
i1
private PathwayModel
p
private LineElement.LinePoint
pt3
private LineElement.LinePoint
pt4
-
Constructor Summary
Constructors Constructor Description TestLinePoint()
-
Method Summary
Modifier and Type Method Description void
setUp()
Creates and adds anchor to line, line to pathwayModel.void
testRemoveLine()
Tests removing line and thus anchor.void
testSetLinePoints()
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, toString
Methods 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:
setUp
in 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.
-