Package org.eclipse.rdf4j.testsuite.sail
Class RDFStoreTest
- java.lang.Object
-
- org.eclipse.rdf4j.testsuite.sail.RDFStoreTest
-
- Direct Known Subclasses:
RDFNotifyingStoreTest
public abstract class RDFStoreTest extends Object
A JUnit test for testing Sail implementations that store RDF data. This is purely a test for data storage and retrieval which assumes that no inferencing or whatsoever is performed. This is an abstract class that should be extended for specific Sail implementations.
-
-
Field Summary
Fields Modifier and Type Field Description protected SailConnectionconprotected IRIcontext1protected IRIcontext2protected IRIguernicaprotected IRInightwatchprotected IRIpainterprotected IRIpaintingprotected IRIpaintsprotected IRIpicassoprotected IRIrembrandtprotected Sailsailorg.junit.rules.TimeouttoTimeout all individual tests after 1 minute.protected ValueFactoryvf
-
Constructor Summary
Constructors Constructor Description RDFStoreTest()
-
Method Summary
-
-
-
Field Detail
-
to
public org.junit.rules.Timeout to
Timeout all individual tests after 1 minute.
-
painter
protected IRI painter
-
paints
protected IRI paints
-
painting
protected IRI painting
-
picasso
protected IRI picasso
-
rembrandt
protected IRI rembrandt
-
guernica
protected IRI guernica
-
nightwatch
protected IRI nightwatch
-
context1
protected IRI context1
-
context2
protected IRI context2
-
sail
protected Sail sail
-
con
protected SailConnection con
-
vf
protected ValueFactory vf
-
-
Method Detail
-
createSail
protected abstract Sail createSail()
Gets an instance of the Sail that should be tested.- Returns:
- a Sail.
-
testReallyLongLiteralRoundTrip
public void testReallyLongLiteralRoundTrip() throws Exception- Throws:
Exception
-
testClose
public void testClose()
-
testStatementSerialization
public void testStatementSerialization() throws Exception- Throws:
Exception
-
testNullNamespaceDisallowed
public void testNullNamespaceDisallowed() throws Exception- Throws:
Exception
-
testDuplicateCount
public void testDuplicateCount()
-
testDuplicateGetStatement
public void testDuplicateGetStatement()
-
testDuplicateGetStatementAfterCommit
public void testDuplicateGetStatementAfterCommit()
-
testDuplicateCountAfterComit
public void testDuplicateCountAfterComit()
-
testDuplicateCountMultipleTimes
public void testDuplicateCountMultipleTimes()
-
countContext1Elements
protected int countContext1Elements() throws Exception, SailException- Throws:
ExceptionSailException
-
countAllElements
protected int countAllElements() throws Exception, SailException- Throws:
ExceptionSailException
-
-