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 Annotation
a
private Annotation
a2
private PathwayElement.AnnotationRef
ar1
private PathwayElement.AnnotationRef
ar2
private DataNode
d1
private PathwayModel
p
-
Constructor Summary
Constructors Constructor Description TestAnnotation()
-
Method Summary
Modifier and Type Method Description void
setUp()
Two annotationRefs (same annotation) added to a data node.void
testDuplicateAnnotation()
Tests for when annotation with duplicate information is added to pathway model.void
testRemoveAnnotation()
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
-
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:
setUp
in 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.
-