|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
test.wsmo4j.validator.ValidatorTestCase
test.wsmo4j.validator.ValidatorConceptualTests
public class ValidatorConceptualTests
Different error types are tested via constructed invalid ontology element definitions.
Created on Dec 19, 2005 Committed by $Author: nathaliest $ $Source$,
| Field Summary |
|---|
| Fields inherited from class test.wsmo4j.validator.ValidatorTestCase |
|---|
axiom, dataFactory, errors, factory, le, leFactory, leSet, ns, ontology, parser, warnings |
| Constructor Summary | |
|---|---|
ValidatorConceptualTests()
|
|
| Method Summary | |
|---|---|
void |
testAttributeFeatures()
This tests checks if attribute features are allowed on attributes with a datatype on their range. |
void |
testConstrainingDataType()
This test checks for the validity of constraining attributes. |
void |
testIncompleteAttribute()
Tests an attribute without a range. |
void |
testRelationDef()
Tests a relation with only some of the parameters defined. |
void |
testSameID()
This tests checks for ids, that are used for more than one single type. |
| Methods inherited from class test.wsmo4j.validator.ValidatorTestCase |
|---|
createAxiomDef, getOntHeader, getOntLocalName, printError, printWarning, removeAxiomDef, setUp, tearDown |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ValidatorConceptualTests()
| Method Detail |
|---|
public void testAttributeFeatures()
throws Exception
Exception
public void testSameID()
throws Exception
Exception
public void testConstrainingDataType()
throws Exception
Exception
public void testIncompleteAttribute()
throws Exception
Exception
public void testRelationDef()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||