edu.stanford.smi.protegex.owl.jena.creator.tests
Class CreatePropertiesTestCase

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.creator.tests.AbstractJenaCreatorTestCase
                      extended byedu.stanford.smi.protegex.owl.jena.creator.tests.CreatePropertiesTestCase
All Implemented Interfaces:
junit.framework.Test

public class CreatePropertiesTestCase
extends AbstractJenaCreatorTestCase

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
CreatePropertiesTestCase()
           
 
Method Summary
protected  com.hp.hpl.jena.ontology.Restriction getRestriction(com.hp.hpl.jena.ontology.OntClass ontClass)
           
protected  com.hp.hpl.jena.ontology.OntModel runJenaCreator()
           
protected  com.hp.hpl.jena.ontology.OntModel runJenaCreator(boolean forReasoning)
           
protected  com.hp.hpl.jena.ontology.OntModel runJenaCreator(boolean forReasoning, boolean inferred)
           
 void testCreateSimpleDatatypeProperty()
           
 void testCreateSimpleObjectProperty()
           
 void testCreateSimpleRDFProperty()
           
 void testDatatypePropertyWithNoRange()
           
 void testDomainlessPropertyValues()
           
 void testEquivalentProperties()
           
 void testFunctionalProperty()
           
 void testInverseFunctionalProperty()
           
 void testInverseProperty()
           
 void testSuperProperties()
           
 void testSymmetricProperty()
           
 void testTransitiveProperty()
           
 
Methods inherited from class edu.stanford.smi.protegex.owl.tests.AbstractJenaTestCase
getNamedClassesCount, loadRemoteOntology, loadRemoteOntologyWithProtegeMetadataOntology, loadTestOntology, ontResourceExists, reload, reloadWithJenaLoader
 
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

CreatePropertiesTestCase

public CreatePropertiesTestCase()
Method Detail

testCreateSimpleRDFProperty

public void testCreateSimpleRDFProperty()

testCreateSimpleDatatypeProperty

public void testCreateSimpleDatatypeProperty()

testCreateSimpleObjectProperty

public void testCreateSimpleObjectProperty()

testDatatypePropertyWithNoRange

public void testDatatypePropertyWithNoRange()

testEquivalentProperties

public void testEquivalentProperties()

testFunctionalProperty

public void testFunctionalProperty()

testInverseProperty

public void testInverseProperty()

testInverseFunctionalProperty

public void testInverseFunctionalProperty()

testSuperProperties

public void testSuperProperties()

testSymmetricProperty

public void testSymmetricProperty()

testTransitiveProperty

public void testTransitiveProperty()

testDomainlessPropertyValues

public void testDomainlessPropertyValues()

getRestriction

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

runJenaCreator

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

runJenaCreator

protected com.hp.hpl.jena.ontology.OntModel runJenaCreator(boolean forReasoning)

runJenaCreator

protected com.hp.hpl.jena.ontology.OntModel runJenaCreator(boolean forReasoning,
                                                           boolean inferred)