org.openprovenance.model
Class PC1TimeTest

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

public class PC1TimeTest
extends junit.framework.TestCase

Unit test for simple Provenance Challenge 1 like workflow.


Field Summary
static org.openprovenance.model.OPMFactory oFactory
           
 
Constructor Summary
PC1TimeTest(String testName)
          Create the test case
 
Method Summary
 org.openprovenance.model.OPMGraph makePC1TimeGraph(org.openprovenance.model.OPMFactory oFactory)
           
 void testPC1Time()
           
 void testPC1TimeConversion()
          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

PC1TimeTest

public PC1TimeTest(String testName)
Create the test case

Parameters:
testName - name of the test case
Method Detail

testPC1Time

public void testPC1Time()
                 throws javax.xml.bind.JAXBException,
                        InterruptedException
Throws:
javax.xml.bind.JAXBException
InterruptedException

makePC1TimeGraph

public org.openprovenance.model.OPMGraph makePC1TimeGraph(org.openprovenance.model.OPMFactory oFactory)
                                                   throws InterruptedException
Throws:
InterruptedException

testPC1TimeConversion

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

Throws:
FileNotFoundException
IOException


Copyright © 2010. All Rights Reserved.