Class TestCitation

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

public class TestCitation
extends junit.framework.TestCase
For testing Citation methods
Author:
finterly
  • Field Summary

    Fields
    Modifier and Type Field Description
    private Citation a  
    private Citation a2  
    private PathwayElement.CitationRef ar1  
    private PathwayElement.CitationRef ar2  
    private DataNode d1  
    private PathwayModel p  
  • Constructor Summary

    Constructors
    Constructor Description
    TestCitation()  
  • Method Summary

    Modifier and Type Method Description
    void setUp()
    Two annotationRefs (same annotation) added to a data node.
    void testDuplicateCitation()
    Tests for when annotation with duplicate information is added to pathway model.
    void testRemoveCitation()
    Tests for removing annotation.

    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

    • TestCitation

      public TestCitation()
  • Method Details

    • setUp

      public void setUp()
      Two annotationRefs (same annotation) added to a data node.
      Overrides:
      setUp in class junit.framework.TestCase
    • testRemoveCitation

      public void testRemoveCitation()
      Tests for removing annotation.
    • testDuplicateCitation

      public void testDuplicateCitation()
      Tests for when annotation with duplicate information is added to pathway model.