Class TestGroup

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.pathvisio.libgpml.model.TestGroup
All Implemented Interfaces:
junit.framework.Test

public class TestGroup
extends junit.framework.TestCase
Test for Group.
Author:
finterly
  • Field Summary

    Fields
    Modifier and Type Field Description
    (package private) DataNode d1  
    (package private) DataNode d2  
    (package private) DataNode d3  
    (package private) Group g1  
    (package private) Group g2  
    (package private) PathwayModel p  
  • Constructor Summary

    Constructors
    Constructor Description
    TestGroup()  
  • Method Summary

    Modifier and Type Method Description
    void setUp()
    Creates and adds anchor to line, line to pathwayModel.
    void testRemoveDataNode()  
    void testRemoveDataNodeFromGroup()  
    void testRemoveGroup()  
    void testSwitchGroup()  
    void testUngroup()
    Check that when a line points to the group, it stays at the same position when the group disappears.

    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

    • TestGroup

      public TestGroup()
  • Method Details

    • setUp

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

      public void testRemoveDataNode()
    • testRemoveDataNodeFromGroup

      public void testRemoveDataNodeFromGroup()
    • testRemoveGroup

      public void testRemoveGroup()
    • testSwitchGroup

      public void testSwitchGroup()
    • testUngroup

      public void testUngroup()
      Check that when a line points to the group, it stays at the same position when the group disappears. Test for regression of bug #1058