Class TestEvidence

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

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

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

    Constructors
    Constructor Description
    TestEvidence()  
  • Method Summary

    Modifier and Type Method Description
    void setUp()
    Two annotationRefs (same annotation) added to a data node.
    void testDuplicateEvidence()
    Tests for when annotation with duplicate information is added to pathway model.
    void testRemoveEvidence()
    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

    • TestEvidence

      public TestEvidence()
  • Method Details

    • setUp

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

      public void testRemoveEvidence()
      Tests for removing annotation.
    • testDuplicateEvidence

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