org.openprovenance.model
Class DL1Test

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

public class DL1Test
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
DL1Test(String testName)
          Create the test case
 
Method Summary
 org.openprovenance.model.OPMGraph makeDL1Graph(org.openprovenance.model.OPMFactory oFactory)
           
 void testDL1()
           
 void testDL1Conversion()
          Produces a dot representation of created graph.
 void testDL1Conversion2()
          Produces a dot representation of created graph.
 void testDL1Copy()
           
 
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

DL1Test

public DL1Test(String testName)
Create the test case

Parameters:
testName - name of the test case
Method Detail

testDL1

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

makeDL1Graph

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

testDL1Conversion

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

Throws:
FileNotFoundException
IOException

testDL1Conversion2

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

Throws:
FileNotFoundException
IOException

testDL1Copy

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


Copyright © 2010. All Rights Reserved.