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 TypeMethodDescriptionprotected 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
testSize()
void
void
void
void
void
void
void
void
-
Field Details
-
to
public org.junit.rules.Timeout toTimeout all individual tests after 1 minute. -
painter
-
paints
-
painting
-
picasso
-
rembrandt
-
guernica
-
nightwatch
-
context1
-
context2
-
sail
-
con
-
vf
-
-
Constructor Details
-
RDFStoreTest
public RDFStoreTest()
-
-
Method Details
-
setUpClass
- 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
- Throws:
Exception
-
testCreateURI2
- Throws:
Exception
-
testInvalidDateTime
- Throws:
Exception
-
testSize
- Throws:
Exception
-
testAddData
- Throws:
Exception
-
testAddWhileQuerying
- Throws:
Exception
-
testRemoveAndClear
- Throws:
Exception
-
testClose
public void testClose() -
testContexts
- Throws:
Exception
-
testQueryBindings
- Throws:
Exception
-
testStatementEquals
- Throws:
Exception
-
testStatementSerialization
- Throws:
Exception
-
testGetNamespaces
- Throws:
Exception
-
testGetNamespace
- Throws:
Exception
-
testClearNamespaces
- Throws:
Exception
-
testRemoveNamespaces
- Throws:
Exception
-
testNullNamespaceDisallowed
- Throws:
Exception
-
testNullPrefixDisallowed
- Throws:
Exception
-
testGetContextIDs
- Throws:
Exception
-
testOldURI
- Throws:
Exception
-
testDualConnections
- Throws:
Exception
-
testBNodeReuse
- Throws:
Exception
-
testDuplicateCount
public void testDuplicateCount() -
testDuplicateGetStatement
public void testDuplicateGetStatement() -
testDuplicateGetStatementAfterCommit
public void testDuplicateGetStatementAfterCommit() -
testDuplicateCountAfterComit
public void testDuplicateCountAfterComit() -
testDuplicateCountMultipleTimes
public void testDuplicateCountMultipleTimes() -
countContext1Elements
- Throws:
Exception
SailException
-
countAllElements
- Throws:
Exception
SailException
-
countQueryResults
- Throws:
Exception
-