test.wsmo4j.common
Class IDReferenceTest

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

public class IDReferenceTest
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
IDReferenceTest()
           
 
Method Summary
 void testIDReference()
           
 void testMetaModeling()
          Tries to create multiple objects with the same IRI (see the test below as suite)
 void testMetaModelling2()
           
 void testWSMOObjectRemoval()
          The test is seuqnece of the test above and it's not guarantee to work on all JVM, because System.gc() may not performed!
 
Methods inherited from class test.wsmo4j.Wsmo4jTestCase
createIRI, createIRI, setUp
 
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

IDReferenceTest

public IDReferenceTest()
Method Detail

testIDReference

public void testIDReference()
                     throws Exception
Throws:
Exception

testMetaModeling

public void testMetaModeling()
                      throws Exception
Tries to create multiple objects with the same IRI (see the test below as suite)

Throws:
Exception

testWSMOObjectRemoval

public void testWSMOObjectRemoval()
                           throws Exception
The test is seuqnece of the test above and it's not guarantee to work on all JVM, because System.gc() may not performed!

Throws:
Exception

testMetaModelling2

public void testMetaModelling2()
                        throws Exception
Throws:
Exception


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