Package org.eclipse.rdf4j.testsuite.sail
Class RDFNotifyingStoreTest
java.lang.Object
org.eclipse.rdf4j.testsuite.sail.RDFStoreTest
org.eclipse.rdf4j.testsuite.sail.RDFNotifyingStoreTest
- All Implemented Interfaces:
SailChangedListener
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected abstract NotifyingSailGets an instance of the Sail that should be tested.voidsailChanged(SailChangedEvent event) Notifies the listener of a change to the data of a specific Sail.voidvoidvoidMethods inherited from class org.eclipse.rdf4j.testsuite.sail.RDFStoreTest
afterClass, countAllElements, countContext1Elements, countQueryResults, setUp, setUpClass, tearDown, testAddData, testAddTripleContext, testAddWhileQuerying, testBNodeReuse, testClearNamespaces, testClose, testContexts, testCreateURI1, testCreateURI2, testDecimalRoundTrip, testDualConnections, testDuplicateCount, testDuplicateCountAfterComit, testDuplicateCountMultipleTimes, testDuplicateGetStatement, testDuplicateGetStatementAfterCommit, testEmptyRepository, testGetContextIDs, testGetNamespace, testGetNamespaces, testInvalidDateTime, testLongLangRoundTrip, testLongLiteralRoundTrip, testLongURIRoundTrip, testNullNamespaceDisallowed, testNullPrefixDisallowed, testOldURI, testQueryBindings, testReallyLongLiteralRoundTrip, testRemoveAndClear, testRemoveNamespaces, testSize, testStatementEquals, testStatementSerialization, testTimeZoneRoundTrip, testValueRoundTrip1, testValueRoundTrip2, testValueRoundTrip3, testValueRoundTrip4, testValueRoundTrip5
-
Constructor Details
-
RDFNotifyingStoreTest
public RDFNotifyingStoreTest()
-
-
Method Details
-
createSail
Gets an instance of the Sail that should be tested. The returned repository should already have been initialized.- Specified by:
createSailin classRDFStoreTest- Returns:
- an initialized Sail.
- Throws:
SailException- If the initialization of the repository failed.
-
addSailChangedListener
@BeforeEach public void addSailChangedListener() -
testNotifyingRemoveAndClear
@Test public void testNotifyingRemoveAndClear() -
testUpdateQuery
@Test public void testUpdateQuery() -
testUpdateQuery2
@Test public void testUpdateQuery2() -
sailChanged
Description copied from interface:SailChangedListenerNotifies the listener of a change to the data of a specific Sail.- Specified by:
sailChangedin interfaceSailChangedListener
-