test.wsmo4j.validator
Class ValidateImportsTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by test.wsmo4j.validator.ValidatorTestCase
              extended by test.wsmo4j.validator.ValidateImportsTests
All Implemented Interfaces:
junit.framework.Test

public class ValidateImportsTests
extends ValidatorTestCase

Checks if imported WSML files are validated correctly.

 Created on Aug 21, 2006
 Committed by $Author: nathaliest $
 $Source$,
 

Version:
$Revision: 1962 $ $Date: 2007-04-23 18:01:05 +0300 (Mon, 23 Apr 2007) $
Author:
nathalie.steinmetz@deri.org

Field Summary
 
Fields inherited from class test.wsmo4j.validator.ValidatorTestCase
axiom, dataFactory, errors, factory, le, leFactory, leSet, ns, ontology, parser, warnings
 
Constructor Summary
ValidateImportsTests()
           
 
Method Summary
 void testValidateImportedOntologies()
          This test submits a valid wsml-rule 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

ValidateImportsTests

public ValidateImportsTests()
Method Detail

testValidateImportedOntologies

public void testValidateImportedOntologies()
                                    throws Exception
This test submits a valid wsml-rule file to the validator and asserts that the validator recognizes the file as valid. This wsml-core test file only contains the conceptual part and no axioms.

Throws:
Exception


Copyright © 2004-2008 Ontotext Lab.. All Rights Reserved.