org.openprovenance.model
Class PC1AnnotationTest

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

public class PC1AnnotationTest
extends junit.framework.TestCase

Unit test for simple Provenance Challenge 1 like workflow.


Field Summary
static String APP_NS
           
static org.openprovenance.model.OPMFactory oFactory
           
 
Constructor Summary
PC1AnnotationTest(String testName)
          Create the test case
 
Method Summary
 org.openprovenance.model.OPMGraph makePC1AnnotationGraph(org.openprovenance.model.OPMFactory oFactory)
           
 void testPC1Annotation()
           
 void testPC1AnnotationConversion()
          Produces a dot representation of created graph.
 void testPC1AnnotationCopy()
           
 
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

APP_NS

public static String APP_NS

oFactory

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

PC1AnnotationTest

public PC1AnnotationTest(String testName)
Create the test case

Parameters:
testName - name of the test case
Method Detail

testPC1Annotation

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

makePC1AnnotationGraph

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

testPC1AnnotationConversion

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

Throws:
FileNotFoundException
IOException

testPC1AnnotationCopy

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


Copyright © 2010. All Rights Reserved.