test.wsmo4j.common
Class NamespaceTest

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

public class NamespaceTest
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
NamespaceTest()
           
 
Method Summary
 void atestAddRemoveNamespaces()
          Test probes if addNamespace / removeNamespace / findNamespace works correctly
 void atestCreateNamespace()
          Tests the preconditions to create namespace
 void testDefaultNamespace()
          Test probes if the set of the default namespace works correctly
 
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

NamespaceTest

public NamespaceTest()
Method Detail

atestCreateNamespace

public void atestCreateNamespace()
                          throws Exception
Tests the preconditions to create namespace

Throws:
Exception

atestAddRemoveNamespaces

public void atestAddRemoveNamespaces()
                              throws Exception
Test probes if addNamespace / removeNamespace / findNamespace works correctly

Throws:
Exception

testDefaultNamespace

public void testDefaultNamespace()
                          throws Exception
Test probes if the set of the default namespace works correctly

Throws:
Exception


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