test.wsmo4j.locator
Class LocatorImplTest

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

public class LocatorImplTest
extends Wsmo4jTestCase

Checks if local and remote files are correctly imported.

 Created on Aug 22, 2006
 Committed by $Author: lcekov $
 $Source$,
 

Version:
$Revision: 2221 $ $Date: 2007-10-11 14:46:28 +0300 (Thu, 11 Oct 2007) $
Author:
nathalie.steinmetz@deri.org

Field Summary
 
Fields inherited from class test.wsmo4j.Wsmo4jTestCase
dataFactory, factory, leFactory
 
Constructor Summary
LocatorImplTest()
           
 
Method Summary
protected  void setUp()
           
 void testImportOntologies()
          This test parses a wsml file and tries to import 4 others.
 
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

LocatorImplTest

public LocatorImplTest()
Method Detail

setUp

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

testImportOntologies

public void testImportOntologies()
                          throws Exception
This test parses a wsml file and tries to import 4 others. One of those is imported from a web server, one locally from the hard disc, the third one is not resolvable / parsable and the fourth one is the wsml file itself.

Throws:
Exception


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