Package org.eclipse.rdf4j.testsuite.sail
Class RDFStoreTest
java.lang.Object
org.eclipse.rdf4j.testsuite.sail.RDFStoreTest
- Direct Known Subclasses:
RDFNotifyingStoreTest
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
protected int
protected int
protected int
countQueryResults
(String query) protected abstract Sail
Gets an instance of the Sail that should be tested.void
setUp()
static void
void
tearDown()
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
testSize()
void
void
void
void
void
void
void
void
-
Field Details
-
painter
-
paints
-
painting
-
picasso
-
rembrandt
-
guernica
-
nightwatch
-
context1
-
context2
-
sail
-
con
-
vf
-
-
Constructor Details
-
RDFStoreTest
public RDFStoreTest()
-
-
Method Details
-
setUpClass
- Throws:
Exception
-
afterClass
- Throws:
Exception
-
createSail
Gets an instance of the Sail that should be tested.- Returns:
- a Sail.
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testEmptyRepository
- Throws:
Exception
-
testValueRoundTrip1
- Throws:
Exception
-
testValueRoundTrip2
- Throws:
Exception
-
testValueRoundTrip3
- Throws:
Exception
-
testValueRoundTrip4
- Throws:
Exception
-
testValueRoundTrip5
- Throws:
Exception
-
testDecimalRoundTrip
- Throws:
Exception
-
testTimeZoneRoundTrip
- Throws:
Exception
-
testLongURIRoundTrip
- Throws:
Exception
-
testLongLiteralRoundTrip
- Throws:
Exception
-
testReallyLongLiteralRoundTrip
- Throws:
Exception
-
testLongLangRoundTrip
- Throws:
Exception
-
testCreateURI1
@Test public void testCreateURI1() -
testCreateURI2
@Test public void testCreateURI2() -
testInvalidDateTime
@Test public void testInvalidDateTime() -
testSize
@Test public void testSize() -
testAddData
- Throws:
Exception
-
testAddTripleContext
@Test public void testAddTripleContext() -
testAddWhileQuerying
@Test public void testAddWhileQuerying() -
testRemoveAndClear
- Throws:
Exception
-
testClose
@Test public void testClose() -
testContexts
- Throws:
Exception
-
testQueryBindings
@Test public void testQueryBindings() -
testStatementEquals
@Test public void testStatementEquals() -
testStatementSerialization
- Throws:
Exception
-
testGetNamespaces
@Test public void testGetNamespaces() -
testGetNamespace
@Test public void testGetNamespace() -
testClearNamespaces
@Test public void testClearNamespaces() -
testRemoveNamespaces
- Throws:
Exception
-
testNullNamespaceDisallowed
@Test public void testNullNamespaceDisallowed() -
testNullPrefixDisallowed
@Test public void testNullPrefixDisallowed() -
testGetContextIDs
@Test public void testGetContextIDs() -
testOldURI
- Throws:
Exception
-
testDualConnections
- Throws:
Exception
-
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
-