test.wsmo4j.validator
Class VariantsTest

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

public class VariantsTest
extends ValidatorTestCase

General validator tests

Author:
nathalie.steinmetz@deri.org, holger.lausen@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
VariantsTest()
           
 
Method Summary
 void testDetermineRightVariant()
          Checks if the validator determines the right variant.
 void testMetaModeling()
           
 void testWrongVariant()
          Checks if the indicated variant is a valid variant.
 
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

VariantsTest

public VariantsTest()
Method Detail

testWrongVariant

public void testWrongVariant()
Checks if the indicated variant is a valid variant.


testDetermineRightVariant

public void testDetermineRightVariant()
                               throws Exception
Checks if the validator determines the right variant.

Throws:
Exception

testMetaModeling

public void testMetaModeling()
                      throws Exception
Throws:
Exception


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