org.openprovenance.model
Class Annotation1Test

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

public class Annotation1Test
extends junit.framework.TestCase

Unit test for simple App.


Constructor Summary
Annotation1Test(String testName)
          Create the test case
 
Method Summary
static junit.framework.Test suite()
           
 void testAnnotation1()
          Creates and serialises an OPM graph.
 void testAnnotation11Conversion()
          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
 

Constructor Detail

Annotation1Test

public Annotation1Test(String testName)
Create the test case

Parameters:
testName - name of the test case
Method Detail

suite

public static junit.framework.Test suite()
Returns:
the suite of tests being tested

testAnnotation1

public void testAnnotation1()
                     throws javax.xml.bind.JAXBException
Creates and serialises an OPM graph.

Throws:
javax.xml.bind.JAXBException

testAnnotation11Conversion

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

Throws:
FileNotFoundException
IOException


Copyright © 2010. All Rights Reserved.