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 SailConnection
con
protected IRI
context1
protected IRI
context2
protected IRI
guernica
protected IRI
nightwatch
protected IRI
painter
protected IRI
painting
protected IRI
paints
protected IRI
picasso
protected IRI
rembrandt
protected Sail
sail
org.junit.rules.Timeout
to
Timeout all individual tests after 1 minute.protected ValueFactory
vf
-
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
-
testCreateURI1
public void testCreateURI1()
-
testCreateURI2
public void testCreateURI2()
-
testInvalidDateTime
public void testInvalidDateTime()
-
testSize
public void testSize()
-
testAddTripleContext
public void testAddTripleContext()
-
testAddWhileQuerying
public void testAddWhileQuerying()
-
testClose
public void testClose()
-
testQueryBindings
public void testQueryBindings()
-
testStatementEquals
public void testStatementEquals()
-
testStatementSerialization
public void testStatementSerialization() throws Exception
- Throws:
Exception
-
testGetNamespaces
public void testGetNamespaces()
-
testGetNamespace
public void testGetNamespace()
-
testClearNamespaces
public void testClearNamespaces()
-
testNullNamespaceDisallowed
public void testNullNamespaceDisallowed()
-
testNullPrefixDisallowed
public void testNullPrefixDisallowed()
-
testGetContextIDs
public void testGetContextIDs()
-
testBNodeReuse
public void testBNodeReuse()
-
testDuplicateCount
public void testDuplicateCount()
-
testDuplicateGetStatement
public void testDuplicateGetStatement()
-
testDuplicateGetStatementAfterCommit
public void testDuplicateGetStatementAfterCommit()
-
testDuplicateCountAfterComit
public void testDuplicateCountAfterComit()
-
testDuplicateCountMultipleTimes
public void testDuplicateCountMultipleTimes()
-
countContext1Elements
protected int countContext1Elements()
-
countAllElements
protected int countAllElements()
-
countQueryResults
protected int countQueryResults(String query)
-
-