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
@BeforeAll public static void setUpClass() -
afterClass
- Throws:
Exception
-
createSail
Gets an instance of the Sail that should be tested.- Returns:
- a Sail.
-
setUp
@BeforeEach public void setUp() -
tearDown
@AfterEach public void tearDown() -
testEmptyRepository
@Test public void testEmptyRepository() -
testValueRoundTrip1
@Test public void testValueRoundTrip1() -
testValueRoundTrip2
@Test public void testValueRoundTrip2() -
testValueRoundTrip3
@Test public void testValueRoundTrip3() -
testValueRoundTrip4
@Test public void testValueRoundTrip4() -
testValueRoundTrip5
@Test public void testValueRoundTrip5() -
testDecimalRoundTrip
@Test public void testDecimalRoundTrip() -
testTimeZoneRoundTrip
@Test public void testTimeZoneRoundTrip() -
testLongURIRoundTrip
@Test public void testLongURIRoundTrip() -
testLongLiteralRoundTrip
@Test public void testLongLiteralRoundTrip() -
testReallyLongLiteralRoundTrip
@Test public void testReallyLongLiteralRoundTrip() -
testLongLangRoundTrip
@Test public void testLongLangRoundTrip() -
testCreateURI1
@Test public void testCreateURI1() -
testCreateURI2
@Test public void testCreateURI2() -
testInvalidDateTime
@Test public void testInvalidDateTime() -
testSize
@Test public void testSize() -
testAddData
@Test public void testAddData() -
testAddTripleContext
@Test public void testAddTripleContext() -
testAddWhileQuerying
@Test public void testAddWhileQuerying() -
testRemoveAndClear
@Test public void testRemoveAndClear() -
testClose
@Test public void testClose() -
testContexts
@Test public void testContexts() -
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
@Test public void testRemoveNamespaces() -
testNullNamespaceDisallowed
@Test public void testNullNamespaceDisallowed() -
testNullPrefixDisallowed
@Test public void testNullPrefixDisallowed() -
testGetContextIDs
@Test public void testGetContextIDs() -
testOldURI
@Test public void testOldURI() -
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
-