|
||||||||||
| 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.ValidatorFileTests
public class ValidatorFileTests
Checks if WSML files are valid and checks the error messages if not. One of the given testfiles checks only for the conceptual model, the others for the logical expressions.
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 | |
|---|---|
ValidatorFileTests()
|
|
| Method Summary | |
|---|---|
void |
testFlightModel()
This test submits a valid wsml-flight file to the validator and asserts that the validator recognizes the file as valid. |
void |
testInvalidConceptModel()
This test submits an invalid wsml-core file to the validator. |
void |
testInvalidCoreModel()
This test submits an invalid wsml-core file to the validator. |
void |
testInvalidFlightModel()
This test submits an invalid wsml-flight file to the validator. |
void |
testInvalidRuleModel()
This test submits an invalid wsml-rule file to the validator. |
void |
testRuleModel()
This test submits a valid wsml-rule file to the validator and asserts that the validator recognizes the file as valid. |
void |
testValidConceptModel()
This test submits a valid wsml-core file to the validator and asserts that the validator recognizes the file as valid. |
void |
testValidCoreModel()
This test submits a valid wsml-core file to the validator and asserts that the validator recognizes the file as valid. |
void |
testValidDLModel()
This test submits a valid wsml-dl file to the validator and asserts that the validator recognizes the file as valid. |
| 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 ValidatorFileTests()
| Method Detail |
|---|
public void testValidCoreModel()
throws Exception
Exception
public void testValidConceptModel()
throws Exception
Exception
public void testInvalidConceptModel()
throws Exception
Exception
public void testInvalidCoreModel()
throws Exception
Exception
public void testValidDLModel()
throws Exception
Exception
public void testFlightModel()
throws Exception
Exception
public void testInvalidFlightModel()
throws Exception
Exception
public void testRuleModel()
throws Exception
Exception
public void testInvalidRuleModel()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||