test.wsmo4j.logicalexpression
Class OntologyUtilTest

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

public class OntologyUtilTest
extends ValidatorTestCase

Test class for testing the collection of concepts, instances, relations and attributes via the OntologyUtil.

Author:
Nathalie Steinmetz, DERI Innsbruck

Field Summary
 
Fields inherited from class test.wsmo4j.validator.ValidatorTestCase
axiom, dataFactory, errors, factory, le, leFactory, leSet, ns, ontology, parser, warnings
 
Constructor Summary
OntologyUtilTest()
           
 
Method Summary
 void testCompleteGetAttributes()
           
 void testGetConcepts()
           
 void testGetInstances()
           
 void testGetRelations()
           
 void testIncompleteGetAttributes()
           
 
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

OntologyUtilTest

public OntologyUtilTest()
Method Detail

testGetConcepts

public void testGetConcepts()
                     throws Exception
Throws:
Exception

testIncompleteGetAttributes

public void testIncompleteGetAttributes()
                                 throws Exception
Throws:
Exception

testCompleteGetAttributes

public void testCompleteGetAttributes()
                               throws Exception
Throws:
Exception

testGetInstances

public void testGetInstances()
                      throws Exception
Throws:
Exception

testGetRelations

public void testGetRelations()
                      throws Exception
Throws:
Exception


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