de.fuberlin.wiwiss.marbles
Class SameAsInferencerTest

java.lang.Object
  extended by de.fuberlin.wiwiss.marbles.SameAsInferencerTest

public class SameAsInferencerTest
extends java.lang.Object

Testcases for the SameAsInferencer

Author:
Christian Becker

Constructor Summary
SameAsInferencerTest()
           
 
Method Summary
static void classSetup()
           
 void setUp()
           
 void tearDown()
           
 void testInference1()
          Add data, then sameAs (with delayed autoCommit)
 void testInference2()
          Add sameAs, then data
 void testInference3()
          Manual initialization
 void testInference4()
          Test with real data
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SameAsInferencerTest

public SameAsInferencerTest()
Method Detail

classSetup

public static void classSetup()
                       throws org.openrdf.repository.RepositoryException
Throws:
org.openrdf.repository.RepositoryException

testInference1

public void testInference1()
                    throws org.openrdf.repository.RepositoryException
Add data, then sameAs (with delayed autoCommit)

Throws:
org.openrdf.repository.RepositoryException

testInference2

public void testInference2()
                    throws org.openrdf.repository.RepositoryException
Add sameAs, then data

Throws:
org.openrdf.repository.RepositoryException

testInference3

public void testInference3()
                    throws org.openrdf.repository.RepositoryException,
                           org.openrdf.sail.SailException
Manual initialization

Throws:
org.openrdf.repository.RepositoryException
org.openrdf.sail.SailException

testInference4

public void testInference4()
                    throws org.openrdf.repository.RepositoryException,
                           org.openrdf.sail.SailException,
                           org.openrdf.rio.RDFParseException,
                           java.net.MalformedURLException
Test with real data

Throws:
org.openrdf.repository.RepositoryException
org.openrdf.sail.SailException
org.openrdf.rio.RDFParseException
java.net.MalformedURLException

setUp

public void setUp()
           throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

public void tearDown()
              throws java.lang.Exception
Throws:
java.lang.Exception