de.fzi.kadmos.api.impl
Class RealOntologyTest

java.lang.Object
  extended by de.fzi.kadmos.api.impl.RealOntologyTest

public class RealOntologyTest
extends Object

Test class for SimpleAlignment using the wine ontology, which is loaded from the web.

Author:
Juergen Bock

Constructor Summary
RealOntologyTest()
           
 
Method Summary
 void setUp()
           
static void setUpBeforeClass()
           
 void tearDown()
           
static void tearDownAfterClass()
           
 void testClone()
          Test method for SimpleAlignment.clone().
 void testContainsCorrespondenceOfQextendsOWLEntity()
          Test method for SimpleAlignment.contains(de.fzi.kadmos.api.Correspondence).
 void testContainsEntity1()
          Test method for SimpleAlignment.containsEntity1(org.semanticweb.owlapi.model.OWLEntity).
 void testContainsEntity2()
          Test method for SimpleAlignment.containsEntity2(org.semanticweb.owlapi.model.OWLEntity).
 void testContainsTT()
          Test method for SimpleAlignment.contains(org.semanticweb.owlapi.model.OWLEntity, org.semanticweb.owlapi.model.OWLEntity).
 void testGetCorrespondences()
          Test method for SimpleAlignment.getCorrespondences().
 void testGetEntity1Corr()
          Test method for SimpleAlignment.getEntity1Corr(org.semanticweb.owlapi.model.OWLEntity).
 void testGetEntity2Corr()
          Test method for SimpleAlignment.getEntity2Corr(org.semanticweb.owlapi.model.OWLEntity).
 void testGetOntology1()
          Test method for SimpleAlignment.getOntology1().
 void testGetOntology2()
          Test method for SimpleAlignment.getOntology2().
 void testIterator()
          Test method for SimpleAlignment.iterator().
 void testRemoveCorrespondence()
          Test method for SimpleAlignment.removeCorrespondence(de.fzi.kadmos.api.Correspondence).
 void testRoundTripSerialisation()
          Test method for SimpleAlignment.writeObject(java.io.ObjectOutputStream) and SimpleAlignment.readObject(java.io.ObjectInputStream).
 void testSimpleAlignmentOWLOntologyOWLOntology()
          Test method for SimpleAlignment.SimpleAlignment(org.semanticweb.owlapi.model.OWLOntology, org.semanticweb.owlapi.model.OWLOntology).
 void testSize()
          Test method for SimpleAlignment.size().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealOntologyTest

public RealOntologyTest()
Method Detail

setUpBeforeClass

public static void setUpBeforeClass()
                             throws Exception
Throws:
Exception

tearDownAfterClass

public static void tearDownAfterClass()
                               throws Exception
Throws:
Exception

setUp

public void setUp()
           throws Exception
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Throws:
Exception

testSimpleAlignmentOWLOntologyOWLOntology

public final void testSimpleAlignmentOWLOntologyOWLOntology()
Test method for SimpleAlignment.SimpleAlignment(org.semanticweb.owlapi.model.OWLOntology, org.semanticweb.owlapi.model.OWLOntology).


testContainsCorrespondenceOfQextendsOWLEntity

public final void testContainsCorrespondenceOfQextendsOWLEntity()
                                                         throws Exception
Test method for SimpleAlignment.contains(de.fzi.kadmos.api.Correspondence).

Throws:
Exception

testContainsTT

public final void testContainsTT()
Test method for SimpleAlignment.contains(org.semanticweb.owlapi.model.OWLEntity, org.semanticweb.owlapi.model.OWLEntity).


testContainsEntity1

public final void testContainsEntity1()
Test method for SimpleAlignment.containsEntity1(org.semanticweb.owlapi.model.OWLEntity).


testContainsEntity2

public final void testContainsEntity2()
Test method for SimpleAlignment.containsEntity2(org.semanticweb.owlapi.model.OWLEntity).


testGetCorrespondences

public final void testGetCorrespondences()
Test method for SimpleAlignment.getCorrespondences().


testGetEntity1Corr

public final void testGetEntity1Corr()
Test method for SimpleAlignment.getEntity1Corr(org.semanticweb.owlapi.model.OWLEntity).


testGetEntity2Corr

public final void testGetEntity2Corr()
Test method for SimpleAlignment.getEntity2Corr(org.semanticweb.owlapi.model.OWLEntity).


testGetOntology1

public final void testGetOntology1()
Test method for SimpleAlignment.getOntology1().


testGetOntology2

public final void testGetOntology2()
Test method for SimpleAlignment.getOntology2().


testRemoveCorrespondence

public final void testRemoveCorrespondence()
                                    throws Exception
Test method for SimpleAlignment.removeCorrespondence(de.fzi.kadmos.api.Correspondence).

Throws:
Exception

testIterator

public final void testIterator()
Test method for SimpleAlignment.iterator().


testSize

public final void testSize()
Test method for SimpleAlignment.size().


testClone

public final void testClone()
                     throws CloneNotSupportedException
Test method for SimpleAlignment.clone().

Throws:
CloneNotSupportedException

testRoundTripSerialisation

public final void testRoundTripSerialisation()
                                      throws IOException,
                                             ClassNotFoundException
Test method for SimpleAlignment.writeObject(java.io.ObjectOutputStream) and SimpleAlignment.readObject(java.io.ObjectInputStream).

Throws:
IOException
ClassNotFoundException


Copyright © 2012. All Rights Reserved.