Package org.pathvisio.libgpml.model
Class TestAnnotation
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.pathvisio.libgpml.model.TestAnnotation
- All Implemented Interfaces:
junit.framework.Test
public class TestAnnotation
extends junit.framework.TestCase
Tests for Annotation class.
- Author:
- p70073399
-
Field Summary
Fields Modifier and Type Field Description private Annotationaprivate Annotationa2private PathwayElement.AnnotationRefar1private PathwayElement.AnnotationRefar2private DataNoded1private PathwayModelp -
Constructor Summary
Constructors Constructor Description TestAnnotation() -
Method Summary
Modifier and Type Method Description voidsetUp()Two annotationRefs (same annotation) added to a data node.voidtestDuplicateAnnotation()Tests for when annotation with duplicate information is added to pathway model.voidtestRemoveAnnotation()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
-
TestAnnotation
public TestAnnotation()
-
-
Method Details
-
setUp
public void setUp()Two annotationRefs (same annotation) added to a data node.- Overrides:
setUpin classjunit.framework.TestCase
-
testRemoveAnnotation
public void testRemoveAnnotation()Tests for removing annotation. -
testDuplicateAnnotation
public void testDuplicateAnnotation()Tests for when annotation with duplicate information is added to pathway model.
-