org.semanticweb.owlapi.api.test
Class AbstractRoundTrippingTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.semanticweb.owlapi.api.test.AbstractOWLAPITestCase
              extended by org.semanticweb.owlapi.api.test.AbstractRoundTrippingTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
AbstractAxiomsRoundTrippingTestCase, AbstractFileRoundTrippingTestCase, AnonymousRootRoundTrippingTestCase, AsymmetricPropertyRoundTripTestCase, AxiomAnnotationsRoundTrippingTestCase, InversePropertiesAxiomTestCase, NestedClassExpressionRoundTrippingTestCase, ObjectPropertyChainRoundTrippingTestCase, OntologyAnnotationsTestCase

public abstract class AbstractRoundTrippingTest
extends AbstractOWLAPITestCase

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 10-May-2008


Constructor Summary
AbstractRoundTrippingTest()
           
 
Method Summary
protected abstract  OWLOntology createOntology()
           
protected  OWLOntology getOnt()
           
protected  void handleSaved(StringOutputTarget target, OWLOntologyFormat format)
           
protected  void setUp()
           
 void testFunctionalSyntax()
           
 void testManchesterOWLSyntax()
           
 void testOWLXML()
           
 void testRDFXML()
           
 void testTurtle()
           
 
Methods inherited from class org.semanticweb.owlapi.api.test.AbstractOWLAPITestCase
addAxiom, getFactory, getManager, getOWLAnnotationProperty, getOWLClass, getOWLDataProperty, getOWLDatatype, getOWLIndividual, getOWLObjectProperty, getOWLOntology, isIgnoreDeclarationAxioms, loadOntology, roundTripOntology, roundTripOntology
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

AbstractRoundTrippingTest

public AbstractRoundTrippingTest()
Method Detail

createOntology

protected abstract OWLOntology createOntology()

getOnt

protected OWLOntology getOnt()

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class AbstractOWLAPITestCase
Throws:
java.lang.Exception

testRDFXML

public void testRDFXML()
                throws java.lang.Exception
Throws:
java.lang.Exception

testOWLXML

public void testOWLXML()
                throws java.lang.Exception
Throws:
java.lang.Exception

testFunctionalSyntax

public void testFunctionalSyntax()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testTurtle

public void testTurtle()
                throws java.lang.Exception
Throws:
java.lang.Exception

testManchesterOWLSyntax

public void testManchesterOWLSyntax()
                             throws java.lang.Exception
Throws:
java.lang.Exception

handleSaved

protected void handleSaved(StringOutputTarget target,
                           OWLOntologyFormat format)
Overrides:
handleSaved in class AbstractOWLAPITestCase