| com.hp.hpl.jena.rdf.model.test.ModelTestBase com.hp.hpl.jena.ontology.impl.test.TestOntModel
TestOntModel | public class TestOntModel extends ModelTestBase (Code) | |
Unit tests on OntModel capabilities. Many of OntModel's methods are tested by the other
abstractions' unit tests.
author: Ian Dickinson, HP Labs author: (email) version: CVS $Id: TestOntModel.java,v 1.31 2008/02/06 11:28:43 ian_dickinson Exp $ |
Inner Class :protected class OWLProfileExt extends OWLProfile | |
Inner Class :protected class OWLDLProfileExt extends OWLDLProfile | |
setUp | public void setUp()(Code) | | |
testAddImports0 | public void testAddImports0()(Code) | | Test getting conclusions after loading imports
|
testAddImports1 | public void testAddImports1()(Code) | | |
testBulkAddWorks | public void testBulkAddWorks()(Code) | | Added by kers to ensure that bulk update works; should really be a test
of the ontology Graph using AbstractTestGraph, but that fails because there
are too many things that don't pass those tests.
Yet.
|
testCreateIndividual | public void testCreateIndividual()(Code) | | User requested: allow null arguments when creating individuals
|
testGetAllValuesFromRestriction | public void testGetAllValuesFromRestriction()(Code) | | |
testGetAnnotationProperty | public void testGetAnnotationProperty()(Code) | | |
testGetBaseModelPrefixes | public void testGetBaseModelPrefixes()(Code) | | |
testGetCardinalityRestriction | public void testGetCardinalityRestriction()(Code) | | |
testGetComplementClass | public void testGetComplementClass()(Code) | | |
testGetDatatypeProperty | public void testGetDatatypeProperty()(Code) | | |
testGetEnumeratedClass | public void testGetEnumeratedClass()(Code) | | |
testGetHasValueRestriction | public void testGetHasValueRestriction()(Code) | | |
testGetImportedModel | public void testGetImportedModel()(Code) | | |
testGetIndividual | public void testGetIndividual()(Code) | | |
testGetIntersectionClass | public void testGetIntersectionClass()(Code) | | |
testGetInverseFunctionalProperty | public void testGetInverseFunctionalProperty()(Code) | | |
testGetMaxCardinalityRestriction | public void testGetMaxCardinalityRestriction()(Code) | | |
testGetMinCardinalityRestriction | public void testGetMinCardinalityRestriction()(Code) | | |
testGetObjectProperty | public void testGetObjectProperty()(Code) | | |
testGetOntClass | public void testGetOntClass()(Code) | | |
testGetOntProperty | public void testGetOntProperty()(Code) | | |
testGetOntResource | public void testGetOntResource()(Code) | | |
testGetOntology | public void testGetOntology()(Code) | | |
testGetRestriction | public void testGetRestriction()(Code) | | |
testGetSomeValuesFromRestriction | public void testGetSomeValuesFromRestriction()(Code) | | |
testGetSubgraphs | public void testGetSubgraphs()(Code) | | |
testGetSymmetricProperty | public void testGetSymmetricProperty()(Code) | | |
testGetTransitiveProperty | public void testGetTransitiveProperty()(Code) | | |
testGetUnionClass | public void testGetUnionClass()(Code) | | |
testListAllOntProperties0 | public void testListAllOntProperties0()(Code) | | |
testListAnnotationProperties0 | public void testListAnnotationProperties0()(Code) | | |
testListDataRange | public void testListDataRange()(Code) | | |
testListDatatypeProperties0 | public void testListDatatypeProperties0()(Code) | | |
testListHierarchyRoots0 | public void testListHierarchyRoots0()(Code) | | |
testListHierarchyRoots1 | public void testListHierarchyRoots1()(Code) | | |
testListHierarchyRoots2 | public void testListHierarchyRoots2()(Code) | | |
testListHierarchyRoots3 | public void testListHierarchyRoots3()(Code) | | |
testListHierarchyRoots4 | public void testListHierarchyRoots4()(Code) | | |
testListImportURIs | public void testListImportURIs()(Code) | | |
testListObjectProperties0 | public void testListObjectProperties0()(Code) | | |
testListOntProperties1 | public void testListOntProperties1()(Code) | | |
testListOntProperties2 | public void testListOntProperties2()(Code) | | |
testListSubModels0 | public void testListSubModels0()(Code) | | |
testListSubModels1 | public void testListSubModels1()(Code) | | |
testLoadImports0 | public void testLoadImports0()(Code) | | |
testLoadImports1 | public void testLoadImports1()(Code) | | |
testPrefixDefaulting | public void testPrefixDefaulting()(Code) | | The prefixes of an OntModel should be the prefixes of its base model,
plus any non-clashing ones from the document manager's prefix mapping.
(which this test assume includes rdfs and daml).
|
testProfiles | public void testProfiles()(Code) | | Test that the supports checks that are defined in the OWL full profile are not
missing in the DL and Lite profiles, unless by design.
Not strictly a model test, but it has to go somewhere
|
testRead | public void testRead()(Code) | | |
testWriteOutputStream | public void testWriteOutputStream()(Code) | | Test writing the base model to an output stream
|
testWriteWriter | public void testWriteWriter()(Code) | | Test writing the base model to an output stream
|
testWritesPrefixes | public void testWritesPrefixes()(Code) | | |
xxtestGetDeductionsModel0 | public void xxtestGetDeductionsModel0()(Code) | | Getting the deductions model of an OntModel
see also
TestBugs.testOntModelGetDeductions ijd: Feb 6th, 2008 - this test has been disabled for
the time being, since it is not correct as written. However,
I'm not removing or changing it just yet, since it is showing up
an infelicity in the rule engine that Dave will investigate
at some future date.
|
Methods inherited from com.hp.hpl.jena.rdf.model.test.ModelTestBase | public static void assertIsoModels(String title, Model wanted, Model got)(Code)(Java Doc) public static void assertIsoModels(Model wanted, Model got)(Code)(Java Doc) public static Model createMemModel()(Code)(Java Doc) public static Model createModel(ReificationStyle style)(Code)(Java Doc) protected static Model extendedModel()(Code)(Java Doc) public static Literal literal(Model m, String s)(Code)(Java Doc) public static Model modelAdd(Model m, String facts)(Code)(Java Doc) public static Model modelWithStatements(String facts)(Code)(Java Doc) public static Model modelWithStatements(ReificationStyle style, String facts)(Code)(Java Doc) protected static String nice(RDFNode n)(Code)(Java Doc) public static Property property(String s)(Code)(Java Doc) public static Property property(Model m, String s)(Code)(Java Doc) public static RDFNode rdfNode(Model m, String s)(Code)(Java Doc) public static RDFNode rdfNode(Model m, String s, Class c)(Code)(Java Doc) protected static Resource resource()(Code)(Java Doc) public static Resource resource(String s)(Code)(Java Doc) public static Resource resource(Model m, String s)(Code)(Java Doc) public static Set resourceSet(String items)(Code)(Java Doc) public static Resource[] resources(Model m, String items)(Code)(Java Doc) public static Statement statement(Model m, String fact)(Code)(Java Doc) public static Statement statement(String fact)(Code)(Java Doc) public static Statement[] statements(Model m, String facts)(Code)(Java Doc)
|
|
|