GATE
Version 3.1-2270

gate.creole.ontology
Class TestOntologyAPI

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by gate.creole.ontology.TestOntologyAPI
All Implemented Interfaces:
junit.framework.Test

public class TestOntologyAPI
extends junit.framework.TestCase

Simple test class that load an ontology available online and accesses its content via the ontology API


Constructor Summary
TestOntologyAPI(String arg0)
           
 
Method Summary
static void main(String[] args)
           
protected  void setUp()
           
static junit.framework.Test suite()
          Test suite routine for the test runner
protected  void tearDown()
           
 void testLoadingOWLOntology()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestOntologyAPI

public TestOntologyAPI(String arg0)
Method Detail

main

public static void main(String[] args)

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testLoadingOWLOntology

public void testLoadingOWLOntology()
                            throws MalformedURLException,
                                   ResourceInstantiationException
Throws:
MalformedURLException
ResourceInstantiationException

suite

public static junit.framework.Test suite()
Test suite routine for the test runner


GATE
Version 3.1-2270