org.semanticweb.owlapi.api.test
Class AbstractAxiomsRoundTrippingTestCase

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
                  extended by org.semanticweb.owlapi.api.test.AbstractAxiomsRoundTrippingTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
AbstractAnnotatedAxiomRoundTrippingTestCase, AnnotationAssertionWithIRITestCase, AnnotationOnAnnotationTestCase, AnonymousIndividualsTestCase, AsymmetricObjectPropertyInverseTestCase, AsymmetricObjectPropertyTestCase, ClassAssertionWithAnonymousIndividualTestCase, DataMaxQualifiedCardinalityTestCase, DataMinQualifiedCardinalityTestCase, DataPropertyDomainTestCase, DataPropertyRangeTestCase, DataQualifiedCardinalityTestCase, DatatypeDefinitionTestCase, DataUnionOfTestCase2, DifferentIndividualsAnonymousTestCase, DifferentIndividualsPairwiseAnonymousTestCase, DifferentIndividualsPairwiseTestCase, DifferentIndividualsTestCase, DisjointDataPropertiesRoundTrippingTestCase, DisjointDataPropertiesTestCase, DisjointObjectPropertiesRoundTrippingTestCase, DisjointObjectPropertiesTestCase, EquivalentDataPropertiesTestCase, EquivalentObjectPropertiesTestCase, EquivalentObjectPropertiesWithInversesTestCase, FunctionalDataPropertyTestCase, FunctionalObjectPropertyInverseTestCase, FunctionalObjectPropertyTestCase, HasKeyAnnotatedTestCase, InverseFunctionalObjectPropertyInverseTestCase, InverseFunctionalObjectPropertyTestCase, IrreflexiveObjectPropertyInverseTestCase, IrreflexiveObjectPropertyTestCase, LargeDifferentIndividualsTestCase, LargeDisjointClassesAxiomTestCase, NegativeDataPropertyAssertionTestCase, NegativeObjectPropertyAssertionTestCase, ObjectInverseOfTestCase, ObjectPropertyAssertionTestCase, ObjectPropertyAssertionWithAnonymousIndividualsTestCase, ObjectPropertyChainAnnotatedRoundTrippingTestCase, ObjectPropertyDomainInverseTestCase, ObjectPropertyDomainTestCase, ObjectPropertyRangeInverseTestCase, ObjectPropertyRangeTestCase, OWLDataPropertyAssertionTestCase, PercentCharacterInEntityNameTestCase, ReflexiveObjectPropertyInverseTestCase, ReflexiveObjectPropertyTestCase, RelativeURITestCase, SameIndividualsAnonymousTestCase, SameIndividualsTestCase, StringLiteralWithNewLineTestCase, StringLiteralWithQuotesTestCase, SubDataPropertyOfTestCase, SubObjectPropertyOfInverseTestCase, SubObjectPropertyOfTestCase, SWRLRuleTestCase, SymmetricObjectPropertyInverseTestCase, SymmetricObjectPropertyTestCase, TransitiveObjectPropertyInverseTestCase, TransitiveObjectPropertyTestCase, TypedLiteralsTestCase

public abstract class AbstractAxiomsRoundTrippingTestCase
extends AbstractRoundTrippingTest

Author: Matthew Horridge
The University of Manchester
Information Management Group
Date: 28-May-2009


Constructor Summary
AbstractAxiomsRoundTrippingTestCase()
           
 
Method Summary
protected abstract  java.util.Set<? extends OWLAxiom> createAxioms()
           
protected  OWLOntology createOntology()
           
 void testFunctionalSyntax()
           
 void testManchesterOWLSyntax()
           
 void testOWLXML()
           
 void testRDFXML()
           
 void testTurtle()
           
 
Methods inherited from class org.semanticweb.owlapi.api.test.AbstractRoundTrippingTest
getOnt, handleSaved, setUp
 
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

AbstractAxiomsRoundTrippingTestCase

public AbstractAxiomsRoundTrippingTestCase()
Method Detail

createOntology

protected final OWLOntology createOntology()
Specified by:
createOntology in class AbstractRoundTrippingTest

testRDFXML

public void testRDFXML()
                throws java.lang.Exception
Overrides:
testRDFXML in class AbstractRoundTrippingTest
Throws:
java.lang.Exception

testOWLXML

public void testOWLXML()
                throws java.lang.Exception
Overrides:
testOWLXML in class AbstractRoundTrippingTest
Throws:
java.lang.Exception

testFunctionalSyntax

public void testFunctionalSyntax()
                          throws java.lang.Exception
Overrides:
testFunctionalSyntax in class AbstractRoundTrippingTest
Throws:
java.lang.Exception

testTurtle

public void testTurtle()
                throws java.lang.Exception
Overrides:
testTurtle in class AbstractRoundTrippingTest
Throws:
java.lang.Exception

testManchesterOWLSyntax

public void testManchesterOWLSyntax()
                             throws java.lang.Exception
Overrides:
testManchesterOWLSyntax in class AbstractRoundTrippingTest
Throws:
java.lang.Exception

createAxioms

protected abstract java.util.Set<? extends OWLAxiom> createAxioms()