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
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
-
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
public void testCreateURI1() -
testCreateURI2
public void testCreateURI2() -
testInvalidDateTime
public void testInvalidDateTime() -
testSize
public void testSize() -
testAddData
- Throws:
Exception
-
testAddWhileQuerying
public void testAddWhileQuerying() -
testRemoveAndClear
- Throws:
Exception
-
testClose
public void testClose() -
testContexts
- Throws:
Exception
-
testQueryBindings
public void testQueryBindings() -
testStatementEquals
public void testStatementEquals() -
testStatementSerialization
- Throws:
Exception
-
testGetNamespaces
public void testGetNamespaces() -
testGetNamespace
public void testGetNamespace() -
testClearNamespaces
public void testClearNamespaces() -
testRemoveNamespaces
- Throws:
Exception
-
testNullNamespaceDisallowed
public void testNullNamespaceDisallowed() -
testNullPrefixDisallowed
public void testNullPrefixDisallowed() -
testGetContextIDs
public void testGetContextIDs() -
testOldURI
- Throws:
Exception
-
testDualConnections
- Throws:
Exception
-
testBNodeReuse
public void testBNodeReuse() -
testDuplicateCount
public void testDuplicateCount() -
testDuplicateGetStatement
public void testDuplicateGetStatement() -
testDuplicateGetStatementAfterCommit
public void testDuplicateGetStatementAfterCommit() -
testDuplicateCountAfterComit
public void testDuplicateCountAfterComit() -
testDuplicateCountMultipleTimes
public void testDuplicateCountMultipleTimes() -
countContext1Elements
protected int countContext1Elements() -
countAllElements
protected int countAllElements() -
countQueryResults
-