Package org.pathvisio.libgpml.model
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 Citationaprivate Citationa2private PathwayElement.CitationRefar1private PathwayElement.CitationRefar2private DataNoded1private PathwayModelp - 
Constructor Summary
Constructors Constructor Description TestCitation() - 
Method Summary
Modifier and Type Method Description voidsetUp()Two annotationRefs (same annotation) added to a data node.voidtestDuplicateCitation()Tests for when annotation with duplicate information is added to pathway model.voidtestRemoveCitation()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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Field Details
- 
p
 - 
d1
 - 
ar1
 - 
ar2
 - 
a
 - 
a2
 
 - 
 - 
Constructor Details
- 
TestCitation
public TestCitation() 
 - 
 - 
Method Details
- 
setUp
public void setUp()Two annotationRefs (same annotation) added to a data node.- Overrides:
 setUpin classjunit.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. 
 -