|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fzi.kadmos.api.impl.SimpleCorrespondenceFactoryTest
public class SimpleCorrespondenceFactoryTest
Test class for the SimpleCorrespondenceFactory
, which creates
SimpleCorrespondence
objects.
Constructor Summary | |
---|---|
SimpleCorrespondenceFactoryTest()
|
Method Summary | |
---|---|
static void |
setUpBeforeClass()
Creates two sample OWLEntity instances. |
void |
testCreateCorrespondenceTT()
Test method for SimpleCorrespondenceFactory.createCorrespondence(OWLEntity, OWLEntity) . |
void |
testCreateCorrespondenceTTDouble()
Test method for SimpleCorrespondenceFactory.createCorrespondence(OWLEntity, OWLEntity, double) . |
void |
testGetInstance()
Test method for SimpleCorrespondenceFactory.getInstance() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleCorrespondenceFactoryTest()
Method Detail |
---|
public static void setUpBeforeClass() throws Exception
OWLEntity
instances.
Exception
- if something goes wrong.public final void testGetInstance()
SimpleCorrespondenceFactory.getInstance()
.
An instance returned by the getInstance()
method is not null.
Calling the getInstance()
method twice returns
the same reference.
public final void testCreateCorrespondenceTT() throws Exception
SimpleCorrespondenceFactory.createCorrespondence(OWLEntity, OWLEntity)
.
A correspondence created via this method
is not null
,
is of type SimpleCorrespondence
,
and refers to the same OWL entites used for creation.
Exception
public final void testCreateCorrespondenceTTDouble() throws Exception
SimpleCorrespondenceFactory.createCorrespondence(OWLEntity, OWLEntity, double)
.
A correspondence created via this method
is not null
,
is of type SimpleCorrespondence
,
refers to the same OWL entites used for creation,
and has the same confidence value used for creation.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |