org.openprovenance.model
Class PC1Test

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.openprovenance.model.PC1Test
All Implemented Interfaces:
junit.framework.Test

public class PC1Test
extends junit.framework.TestCase

Unit test for simple Provenance Challenge 1 like workflow.


Field Summary
static org.openprovenance.model.OPMFactory oFactory
           
 
Constructor Summary
PC1Test(String testName)
          Create the test case
 
Method Summary
 org.openprovenance.model.OPMGraph makePC1Graph(org.openprovenance.model.OPMFactory oFactory)
           
 void testCopy()
           
 void testPC1()
           
 void testPC1Conversion()
          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

PC1Test

public PC1Test(String testName)
Create the test case

Parameters:
testName - name of the test case
Method Detail

testPC1

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

makePC1Graph

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

testPC1Conversion

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

Throws:
FileNotFoundException
IOException

testCopy

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


Copyright © 2010. All Rights Reserved.