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) PathwayModeldata(package private) Interactionl(package private) DataNodeo(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 voidgmmlObjectModified(PathwayModelEvent e)voidgmmlObjectModified(PathwayObjectEvent e)Notifies of pathway object changes.voidpathwayModified(PathwayModelEvent e)Notifies of pathway model modified.voidsetUp()voidtestColor()voidtestFields()voidtestMappInfo()Test that there is one and only one Pathway objectvoidtestParent()voidtestRef()Test graphRef's and graphId'svoidtestRef2()voidtestWrongFormat()voidtestXRefEquals()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, toStringMethods 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:
setUpin 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:PathwayObjectListenerNotifies of pathway object changes.- Specified by:
gmmlObjectModifiedin interfacePathwayObjectListener- Parameters:
e- the pathway object event.
-
pathwayModified
Description copied from interface:PathwayModelListenerNotifies of pathway model modified.- Specified by:
pathwayModifiedin interfacePathwayModelListener- Parameters:
e- the pathway model event.
-