|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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 |
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 |
testProperty()
Unit tests on DAMLProperty and its subclasses |
void |
testRDFType()
Test case for testing rdf:type traversal |
void |
testRemove()
Test the removal of DAML objects. |
void |
testRestriction()
Testing restrictions |
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 testMethod Detail |
public static junit.framework.Test suite()
public void setUp()
public void tearDown()
public void testLoadOntology() throws RDFException
public void testRDFType() throws RDFException
public void testClass() throws RDFException
public void testEquivalence() throws RDFException
public void testProperty() throws RDFException
public void testList() throws RDFException
public void testInstance() throws RDFException
public void testDatatype() throws RDFException
public void testRemove() throws RDFException
public void testCreate() throws RDFException
public void testRestriction() throws RDFException
m
- public static void dumpModel(Model m)
public static void dumpModel(Model m, java.lang.String fileName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |