de.fzi.kadmos.api.impl
Class SimpleAlignmentFactoryTest

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

public class SimpleAlignmentFactoryTest
extends Object

Test class for the SimpleAlignmentFactory, which creates SimpleAlignment objects.

Since:
1.0
Version:
1.3.0
Author:
Juergen Bock

Constructor Summary
SimpleAlignmentFactoryTest()
           
 
Method Summary
static void setUpBeforeClass()
          Creates two sample OWLOntology instances.
 void testCreateAlignment()
          Test method for SimpleAlignmentFactory.createAlignment(OWLOntology, OWLOntology).
 void testGetInstance()
          Test method for SimpleAlignmentFactory.getInstance().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleAlignmentFactoryTest

public SimpleAlignmentFactoryTest()
Method Detail

setUpBeforeClass

public static void setUpBeforeClass()
                             throws Exception
Creates two sample OWLOntology instances.

Throws:
Exception - if something goes wrong.

testGetInstance

public final void testGetInstance()
Test method for SimpleAlignmentFactory.getInstance(). An instance returned by the getInstance() method is not null. Calling the getInstance() method twice returns the same reference.


testCreateAlignment

public final void testCreateAlignment()
Test method for SimpleAlignmentFactory.createAlignment(OWLOntology, OWLOntology). An alignment created via this method is not null, is of type SimpleAlignment, and refers to the same OWL ontologies used for creation.



Copyright © 2012. All Rights Reserved.