Package org.pathvisio.libgpml.model
Class TestAnchor
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.pathvisio.libgpml.model.TestAnchor
- All Implemented Interfaces:
junit.framework.Test
public class TestAnchor
extends junit.framework.TestCase
Test for
LineElement.Anchor.- Author:
- finterly
-
Field Summary
Fields Modifier and Type Field Description private LineElement.Anchora1private Interactioni1private PathwayModelp -
Constructor Summary
Constructors Constructor Description TestAnchor() -
Method Summary
Modifier and Type Method Description voidsetUp()Creates and adds anchor to line, line to pathwayModel.voidtestRemoveAnchor()Tests removing anchor.voidtestRemoveLine()Tests removing line and thus anchor.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
-
a1
-
-
Constructor Details
-
TestAnchor
public TestAnchor()
-
-
Method Details
-
setUp
public void setUp()Creates and adds anchor to line, line to pathwayModel.- Overrides:
setUpin classjunit.framework.TestCase
-
testRemoveAnchor
public void testRemoveAnchor()Tests removing anchor. -
testRemoveLine
public void testRemoveLine()Tests removing line and thus anchor.
-