edu.stanford.smi.protegex.owl.jena.protege2jena.tests
Class AbstractProtege2JenaTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byedu.stanford.smi.protegex.owl.tests.AbstractOWLTestCase
              extended byedu.stanford.smi.protegex.owl.tests.AbstractJenaTestCase
                  extended byedu.stanford.smi.protegex.owl.jena.protege2jena.tests.AbstractProtege2JenaTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
CreateAllValuesFromRestrictionsTestCase, CreateAnnotationsTestCase, CreateAnonymousResourcesTestCase, CreateCardinalityRestrictionsTestCase, CreateDatatypeEnumerationTestCase, CreateDeprecatedTestCase, CreateDisjointClassesTestCase, CreateEnumeratedClassesTestCase, CreateHasValueRestrictionsTestCase, CreateImportTestCase, CreateIndividualsTestCase, CreateLogicalClassesTestCase, CreateMetaClassesTestCase, CreateNamespacePrefixesTestCase, CreateOneOfTestCase, CreateOntologiesTestCase, CreateOWLEquivalentClassesTestCase, CreatePropertiesTestCase, CreatePropertyDomainTestCase, CreatePropertyRangesTestCase, CreateProtegeFramesTestCase, CreateRDFLiteralValuesTestCase, CreateRDFSClassesTestCase, CreateRDFSDatatypeTestCase, CreateSomeValuesFromRestrictionsTestCase, CreateSubpropertyValuesTestCase, CreateSuperClassesTestCase, CreateXMLSchemaDatatypeLiteralsTestCase

public abstract class AbstractProtege2JenaTestCase
extends AbstractJenaTestCase

Author:
Holger Knublauch

Field Summary
 
Fields inherited from class edu.stanford.smi.protegex.owl.tests.AbstractJenaTestCase
ontModel, owlFullModel
 
Fields inherited from class edu.stanford.smi.protegex.owl.tests.AbstractOWLTestCase
owlModel, owlThing, project
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
AbstractProtege2JenaTestCase()
           
 
Method Summary
protected  com.hp.hpl.jena.ontology.OntModel createOntModel()
           
protected  com.hp.hpl.jena.ontology.OntModel createOntModelR()
           
protected  com.hp.hpl.jena.ontology.Restriction getRestriction(com.hp.hpl.jena.ontology.OntClass ontClass)
           
 JenaOWLModel reloadWithJenaLoader(JenaOWLModel owlModel)
           
 
Methods inherited from class edu.stanford.smi.protegex.owl.tests.AbstractJenaTestCase
getNamedClassesCount, loadRemoteOntology, loadRemoteOntologyWithProtegeMetadataOntology, loadTestOntology, ontResourceExists, reload
 
Methods inherited from class edu.stanford.smi.protegex.owl.tests.AbstractOWLTestCase
assertContains, assertContains, assertContainsNot, assertHasValue, assertSize, assertSize, dumpRDF, getRemoteOntologyURI, getTestOntologyURI, hasTypedLiteral, list, setUp
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractProtege2JenaTestCase

public AbstractProtege2JenaTestCase()
Method Detail

createOntModel

protected com.hp.hpl.jena.ontology.OntModel createOntModel()

createOntModelR

protected com.hp.hpl.jena.ontology.OntModel createOntModelR()

getRestriction

protected com.hp.hpl.jena.ontology.Restriction getRestriction(com.hp.hpl.jena.ontology.OntClass ontClass)

reloadWithJenaLoader

public JenaOWLModel reloadWithJenaLoader(JenaOWLModel owlModel)
                                  throws Exception
Overrides:
reloadWithJenaLoader in class AbstractJenaTestCase
Throws:
Exception