test.wsmo4j.ontology
Class RelationTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by test.wsmo4j.Wsmo4jTestCase
              extended by test.wsmo4j.ontology.RelationTest
All Implemented Interfaces:
junit.framework.Test

public class RelationTest
extends Wsmo4jTestCase

Title: WSMO4J

Description: WSMO API and a Reference Implementation

Copyright: Copyright (c) 2004-2005

Company: OntoText Lab. / SIRMA

Version:
1.0
Author:
not attributable

Field Summary
 
Fields inherited from class test.wsmo4j.Wsmo4jTestCase
dataFactory, factory, leFactory
 
Constructor Summary
RelationTest()
           
 
Method Summary
 void setUp()
           
 void testRealtionWithArityOnly()
           
 void testRelationInheritance()
          Test addSubRelation / addSuperRelation methods.
 void testRelationInstance()
          Test the handling of RelationInstance.
 void testRelationParameters()
          Test the handling of Parameters.
 
Methods inherited from class test.wsmo4j.Wsmo4jTestCase
createIRI, createIRI
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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

RelationTest

public RelationTest()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class Wsmo4jTestCase
Throws:
Exception

testRelationInheritance

public void testRelationInheritance()
                             throws Exception
Test addSubRelation / addSuperRelation methods.

Throws:
Exception

testRelationParameters

public void testRelationParameters()
                            throws Exception
Test the handling of Parameters.

Throws:
Exception

testRelationInstance

public void testRelationInstance()
                          throws Exception
Test the handling of RelationInstance.

Throws:
Exception

testRealtionWithArityOnly

public void testRealtionWithArityOnly()
                               throws Exception
Throws:
Exception


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