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

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.CreateIndividualsTestCase
All Implemented Interfaces:
junit.framework.Test

public class CreateIndividualsTestCase
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
CreateIndividualsTestCase()
           
 
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 testCreateIndividualsChain()
           
 void testCreateIndividualWithInferredTypes()
           
 void testCreateInstance()
           
 void testCreateInstanceOfOWLThing()
           
 void testCreatePropertyValues()
           
 
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

CreateIndividualsTestCase

public CreateIndividualsTestCase()
Method Detail

testCreateInstance

public void testCreateInstance()

testCreatePropertyValues

public void testCreatePropertyValues()

testCreateIndividualWithInferredTypes

public void testCreateIndividualWithInferredTypes()

testCreateInstanceOfOWLThing

public void testCreateInstanceOfOWLThing()

testCreateIndividualsChain

public void testCreateIndividualsChain()

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)