Package org.pathvisio.libgpml.model
Class Test
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.pathvisio.libgpml.model.Test
- All Implemented Interfaces:
java.util.EventListener
,junit.framework.Test
,PathwayModelListener
,PathwayObjectListener
public class Test extends junit.framework.TestCase implements PathwayModelListener, PathwayObjectListener
Tests for libgpml model classes.
- Author:
- unknown
-
Field Summary
Fields Modifier and Type Field Description (package private) PathwayModel
data
(package private) Interaction
l
(package private) DataNode
o
(package private) java.util.List<PathwayModelEvent>
received
(package private) java.util.List<PathwayObjectEvent>
receivedElementEvents
-
Constructor Summary
Constructors Constructor Description Test()
-
Method Summary
Modifier and Type Method Description void
gmmlObjectModified(PathwayModelEvent e)
void
gmmlObjectModified(PathwayObjectEvent e)
Notifies of pathway object changes.void
pathwayModified(PathwayModelEvent e)
Notifies of pathway model modified.void
setUp()
void
testColor()
void
testFields()
void
testMappInfo()
Test that there is one and only one Pathway objectvoid
testParent()
void
testRef()
Test graphRef's and graphId'svoid
testRef2()
void
testWrongFormat()
void
testXRefEquals()
test that Xref and XrefWithSymbol obey the equals contractMethods 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
-
data
PathwayModel data -
o
DataNode o -
received
java.util.List<PathwayModelEvent> received -
receivedElementEvents
java.util.List<PathwayObjectEvent> receivedElementEvents -
l
-
-
Constructor Details
-
Test
public Test()
-
-
Method Details
-
setUp
public void setUp()- Overrides:
setUp
in classjunit.framework.TestCase
-
testFields
public void testFields() -
testColor
public void testColor() -
testParent
public void testParent() -
testRef
public void testRef()Test graphRef's and graphId's -
testXRefEquals
public void testXRefEquals()test that Xref and XrefWithSymbol obey the equals contract -
testRef2
public void testRef2() -
testWrongFormat
public void testWrongFormat() -
testMappInfo
public void testMappInfo()Test that there is one and only one Pathway object -
gmmlObjectModified
-
gmmlObjectModified
Description copied from interface:PathwayObjectListener
Notifies of pathway object changes.- Specified by:
gmmlObjectModified
in interfacePathwayObjectListener
- Parameters:
e
- the pathway object event.
-
pathwayModified
Description copied from interface:PathwayModelListener
Notifies of pathway model modified.- Specified by:
pathwayModified
in interfacePathwayModelListener
- Parameters:
e
- the pathway model event.
-