org.openprovenance.model
Class PharmaTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.openprovenance.model.PharmaTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
PharmaTest

public class PharmaTest
extends junit.framework.TestCase

Unit test for simple Provenance Challenge 1 like workflow.


Field Summary
static org.openprovenance.model.OPMFactory oFactory
           
 
Constructor Summary
PharmaTest(String testName)
          Create the test case
 
Method Summary
 org.openprovenance.model.OPMGraph makePharmaGraph(org.openprovenance.model.OPMFactory oFactory)
           
 void NotestCopy()
           
 void testPharma()
           
 void testPharmaConversion()
          Produces a dot representation of created graph.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
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, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

oFactory

public static org.openprovenance.model.OPMFactory oFactory
Constructor Detail

PharmaTest

public PharmaTest(String testName)
Create the test case

Parameters:
testName - name of the test case
Method Detail

testPharma

public void testPharma()
                throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

makePharmaGraph

public org.openprovenance.model.OPMGraph makePharmaGraph(org.openprovenance.model.OPMFactory oFactory)

testPharmaConversion

public void testPharmaConversion()
                          throws FileNotFoundException,
                                 IOException
Produces a dot representation of created graph.

Throws:
FileNotFoundException
IOException

NotestCopy

public void NotestCopy()
                throws FileNotFoundException,
                       IOException
Throws:
FileNotFoundException
IOException


Copyright © 2010. All Rights Reserved.