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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprotected intprotected intprotected intcountQueryResults(String query) protected abstract SailGets an instance of the Sail that should be tested.voidsetUp()static voidvoidtearDown()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidtestSize()voidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
painter
-
paints
-
painting
-
picasso
-
rembrandt
-
guernica
-
nightwatch
-
context1
-
context2
-
sail
-
con
-
vf
-
-
Constructor Details
-
RDFStoreTest
public RDFStoreTest()
-
-
Method Details
-
setUpClass
-
afterClass
-
createSail
Gets an instance of the Sail that should be tested.- Returns:
- a Sail.
-
setUp
-
tearDown
-
testEmptyRepository
-
testValueRoundTrip1
-
testValueRoundTrip2
-
testValueRoundTrip3
-
testValueRoundTrip4
-
testValueRoundTrip5
-
testDecimalRoundTrip
-
testTimeZoneRoundTrip
-
testLongURIRoundTrip
-
testLongLiteralRoundTrip
-
testReallyLongLiteralRoundTrip
-
testLongLangRoundTrip
-
testCreateURI1
@Test public void testCreateURI1() -
testCreateURI2
@Test public void testCreateURI2() -
testInvalidDateTime
@Test public void testInvalidDateTime() -
testSize
@Test public void testSize() -
testAddData
-
testAddTripleContext
@Test public void testAddTripleContext() -
testAddWhileQuerying
@Test public void testAddWhileQuerying() -
testRemoveAndClear
-
testClose
@Test public void testClose() -
testContexts
-
testQueryBindings
@Test public void testQueryBindings() -
testStatementEquals
@Test public void testStatementEquals() -
testStatementSerialization
-
testGetNamespaces
@Test public void testGetNamespaces() -
testGetNamespace
@Test public void testGetNamespace() -
testClearNamespaces
@Test public void testClearNamespaces() -
testRemoveNamespaces
-
testNullNamespaceDisallowed
@Test public void testNullNamespaceDisallowed() -
testNullPrefixDisallowed
@Test public void testNullPrefixDisallowed() -
testGetContextIDs
@Test public void testGetContextIDs() -
testOldURI
-
testDualConnections
-
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
-