|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--com.hp.hpl.jena.daml.test.DAMLTest
JUnit regression tests for the Jena DAML model.
| Constructor Summary | |
DAMLTest(java.lang.String name)
Constructor requires that all tests be named |
|
| Method Summary | |
static void |
dumpModel(Model m)
Dump the model out to a file for debugging |
static void |
dumpModel(Model m,
java.lang.String fileName)
|
void |
setUp()
Set up the test conditions |
static junit.framework.Test |
suite()
Answer a suite of all the tests defined here |
void |
tearDown()
Release objects no longer needede when we're done |
void |
testClass()
Test some of the properties of DAML classes |
void |
testCreate()
Test the creation of new DAML values |
void |
testDatatype()
Tests on DAML datatypes |
void |
testDatatypeEq1()
Testing equality: case Datatype |
void |
testDatatypeEq2()
Testing equality: case Datatype |
void |
testDatatypeProperty()
Testing equality: case DatatypeProperty |
void |
testDatatypeRange()
|
void |
testEquivalence()
Test equivalance classes |
void |
testInstance()
Tests on instances |
void |
testList()
Tests on lists |
void |
testLoadOntology()
Test the various pathways through loading the ontology from a source document. |
void |
testModelAdd()
Test adding a model to an existing model |
void |
testObjectProperty()
Testing equality: case ObjectProperty |
void |
testProperty()
Unit tests on DAMLProperty and its subclasses |
void |
testPropertyEq()
Testing equality: case Property |
void |
testRDFType()
Test case for testing rdf:type traversal |
void |
testRemove()
Test the removal of DAML objects. |
void |
testRestriction()
Testing restrictions |
void |
testSyntaxError()
Test reading a model with a syntax error in it. |
| Methods inherited from class junit.framework.TestCase |
countTestCases, getName, name, run, run, runBare, setName, toString |
| Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DAMLTest(java.lang.String name)
name - The name of this test| Method Detail |
public static junit.framework.Test suite()
public void setUp()
setUp in class junit.framework.TestCasepublic void tearDown()
tearDown in class junit.framework.TestCase
public void testLoadOntology()
throws RDFException
RDFException
public void testRDFType()
throws RDFException
RDFException
public void testClass()
throws RDFException
RDFException
public void testEquivalence()
throws RDFException
RDFException
public void testProperty()
throws RDFException
RDFException
public void testList()
throws RDFException
RDFException
public void testInstance()
throws RDFException
RDFException
public void testDatatype()
throws RDFException
RDFException
public void testRemove()
throws RDFException
RDFException
public void testCreate()
throws RDFException
RDFException
public void testRestriction()
throws RDFException
RDFException
public void testModelAdd()
throws RDFException
RDFException
public void testSyntaxError()
throws RDFException
RDFException
public void testDatatypeProperty()
throws RDFException
RDFException
public void testObjectProperty()
throws RDFException
RDFException
public void testPropertyEq()
throws RDFException
RDFException
public void testDatatypeEq1()
throws RDFException
RDFException
public void testDatatypeEq2()
throws RDFException
RDFException
public void testDatatypeRange()
throws RDFException
RDFExceptionpublic static void dumpModel(Model m)
public static void dumpModel(Model m,
java.lang.String fileName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||