|
||||||||||
| 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.ValidatorLogExprTests
public class ValidatorLogExprTests
Different error types are tested via constructed invalid axiom definitions.
Created on Dec 19, 2005 Committed by $Author: morcen $ $Source$,
| Field Summary |
|---|
| Fields inherited from class test.wsmo4j.validator.ValidatorTestCase |
|---|
axiom, dataFactory, errors, factory, le, leFactory, leSet, ns, ontology, parser, warnings |
| Constructor Summary | |
|---|---|
ValidatorLogExprTests()
|
|
| Method Summary | |
|---|---|
void |
testCoreGraph()
This test checks for the validity of an InverseImplication (the variable graph of the left-hand side formula must be connected and acyclic). |
void |
testCoreGraphWithCycle()
This test checks for the validity of an InverseImplication (the variable graph of the left-hand side formula must be connected and acyclic). |
void |
testCoreInvalidMoleculeMemberOf()
This test checks for the validity of a MembershipMolecule At memberOf, the identifier must be an instance and the arguments need to be Concepts. |
void |
testCoreInvalidMoleculeSubConceptOf()
This test checks for the validity of a SubConceptOfMolecule. |
void |
testCoreInvalidTransitiveAttribute()
This test checks for the validity of an transitive InverseImplication. |
void |
testCoreUnconnectedGraph()
This test checks for the validity of an InverseImplication (the variable graph of the left-hand side formula must be connected and acyclic). |
void |
testCoreValidEquivalence()
This test checks for the validity of an Equivalence |
void |
testCoreValidInvImplAttribute()
This test checks for the validity of an InverseImplication. |
void |
testCoreValidSubAttribute()
This test checks for the validity of an sub-attribute InverseImplication. |
void |
testDLGraph()
This test checks for the validity of an InverseImplication. |
void |
testDLGraphWithCycle()
This test checks for the validity of an InverseImplication (the variable graph of each description must be connected and acyclic). |
void |
testDLInvalidDisjunction()
This test checks an invalid DL LogicalExpression. |
void |
testDLUnconnectedGraph()
This test checks for the validity of an InverseImplication (the variable graph of each description must be connected and acyclic). |
void |
testDLValidExistentialQuantification()
This test checks the validity of an DL Quantification. |
void |
testDLValidImplication()
This test checks an valid DL Implication. |
void |
testDLValidInverseImplication()
This test checks for the validity of an transitive InverseImplication. |
void |
testDLValidInvImpl()
This test checks the validity of an InverseImplication. |
void |
testDLValidInvImplAttribute()
This test checks for the validity of an InverseImplication. |
void |
testDLValidQuantifications()
This test checks the validity of an DL Quantification. |
void |
testDLValidTransitiveAttribute()
This test checks for the validity of an transitive InverseImplication. |
void |
testDLValidUniversalQuantification()
This test checks the validity of an DL Quantification. |
void |
testFlightFunctionSymbol()
This test checks the safety of function symbols. |
void |
testFlightProposition()
This test checks for the validity of a proposition. |
void |
testFlightSafetyCondition()
This test checks the flight safety condition. |
void |
testFlightSafetyOfBuiltInPredicate()
This test checks the safety of built-in predicates. |
void |
testFlightSafetyOfNegativeBodyLiteral()
This test checks the safety of an negative body literal. |
void |
testRuleBodyNegation()
This test checks the validity of an rule logic programming rule. |
void |
testRuleBodyStrongEqual()
This test checks the validity of an rule logic programming rule. |
void |
testRuleHeadEqual()
This test checks the validity of an rule logic programming rule. |
void |
testRuleHeadNegation()
This test checks the validity of an rule logic programming rule. |
| 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 ValidatorLogExprTests()
| Method Detail |
|---|
public void testCoreInvalidMoleculeSubConceptOf()
throws Exception
Exception
public void testCoreInvalidMoleculeMemberOf()
throws Exception
Exception
public void testCoreInvalidTransitiveAttribute()
throws Exception
Exception
public void testCoreValidInvImplAttribute()
throws Exception
Exception
public void testCoreValidSubAttribute()
throws Exception
Exception
public void testCoreValidEquivalence()
throws Exception
Exception
public void testCoreGraph()
throws Exception
Exception
public void testCoreGraphWithCycle()
throws Exception
Exception
public void testCoreUnconnectedGraph()
throws Exception
Exception
public void testDLInvalidDisjunction()
throws Exception
Exception
public void testDLValidImplication()
throws Exception
Exception
public void testDLValidQuantifications()
throws Exception
Exception
public void testDLValidUniversalQuantification()
throws Exception
Exception
public void testDLValidExistentialQuantification()
throws Exception
Exception
public void testDLValidInvImpl()
throws Exception
Exception
public void testDLValidTransitiveAttribute()
throws Exception
Exception
public void testDLValidInverseImplication()
throws Exception
Exception
public void testDLValidInvImplAttribute()
throws Exception
Exception
public void testDLGraph()
throws Exception
Exception
public void testDLGraphWithCycle()
throws Exception
Exception
public void testDLUnconnectedGraph()
throws Exception
Exception
public void testFlightProposition()
throws Exception
Exception
public void testFlightSafetyCondition()
throws Exception
Exception
public void testFlightSafetyOfBuiltInPredicate()
throws Exception
Exception
public void testFlightSafetyOfNegativeBodyLiteral()
throws Exception
Exception
public void testFlightFunctionSymbol()
throws Exception
Exception
public void testRuleHeadEqual()
throws Exception
Exception
public void testRuleHeadNegation()
throws Exception
Exception
public void testRuleBodyStrongEqual()
throws Exception
Exception
public void testRuleBodyNegation()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||