Package org.eclipse.rdf4j.testsuite.sail
Class RDFStoreTest
- java.lang.Object
-
- org.eclipse.rdf4j.testsuite.sail.RDFStoreTest
-
- Direct Known Subclasses:
RDFNotifyingStoreTest
@Timeout(60L) 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
protected ValueFactory
vf
-
Constructor Summary
Constructors Constructor Description RDFStoreTest()
-
Method Summary
-
-
-
Field Detail
-
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.
-
testLongLiteralRoundTrip
@Test public void testLongLiteralRoundTrip() throws Exception
- Throws:
Exception
-
testReallyLongLiteralRoundTrip
@Test public void testReallyLongLiteralRoundTrip() throws Exception
- Throws:
Exception
-
testCreateURI1
@Test public void testCreateURI1()
-
testCreateURI2
@Test public void testCreateURI2()
-
testInvalidDateTime
@Test public void testInvalidDateTime()
-
testSize
@Test public void testSize()
-
testAddTripleContext
@Test public void testAddTripleContext()
-
testAddWhileQuerying
@Test public void testAddWhileQuerying()
-
testClose
@Test public void testClose()
-
testQueryBindings
@Test public void testQueryBindings()
-
testStatementEquals
@Test public void testStatementEquals()
-
testStatementSerialization
@Test public void testStatementSerialization() throws Exception
- Throws:
Exception
-
testGetNamespaces
@Test public void testGetNamespaces()
-
testGetNamespace
@Test public void testGetNamespace()
-
testClearNamespaces
@Test public void testClearNamespaces()
-
testNullNamespaceDisallowed
@Test public void testNullNamespaceDisallowed()
-
testNullPrefixDisallowed
@Test public void testNullPrefixDisallowed()
-
testGetContextIDs
@Test public void testGetContextIDs()
-
testBNodeReuse
@Test public void testBNodeReuse()
-
testDuplicateCount
@Test public void testDuplicateCount()
-
testDuplicateGetStatement
@Test public void testDuplicateGetStatement()
-
testDuplicateGetStatementAfterCommit
@Test public void testDuplicateGetStatementAfterCommit()
-
testDuplicateCountAfterComit
@Test public void testDuplicateCountAfterComit()
-
testDuplicateCountMultipleTimes
@Test public void testDuplicateCountMultipleTimes()
-
countContext1Elements
protected int countContext1Elements()
-
countAllElements
protected int countAllElements()
-
countQueryResults
protected int countQueryResults(String query)
-
-