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
Author:
finterly
  • Field Summary

    Fields
    Modifier and Type Field Description
    private LineElement.Anchor a1  
    private Interaction i1  
    private PathwayModel p  
  • Constructor Summary

    Constructors
    Constructor Description
    TestAnchor()  
  • Method Summary

    Modifier and Type Method Description
    void setUp()
    Creates and adds anchor to line, line to pathwayModel.
    void testRemoveAnchor()
    Tests removing anchor.
    void testRemoveLine()
    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, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • TestAnchor

      public TestAnchor()
  • Method Details

    • setUp

      public void setUp()
      Creates and adds anchor to line, line to pathwayModel.
      Overrides:
      setUp in class junit.framework.TestCase
    • testRemoveAnchor

      public void testRemoveAnchor()
      Tests removing anchor.
    • testRemoveLine

      public void testRemoveLine()
      Tests removing line and thus anchor.