Class RepositoryConnectionTest
java.lang.Object
org.eclipse.rdf4j.testsuite.repository.RepositoryConnectionTest
- Direct Known Subclasses:
RDFSchemaRepositoryConnectionTest
-
Field Summary
Modifier and TypeFieldDescriptionprotected Resource
protected Resource
protected Resource
protected IRI
protected IRI
protected static final String
protected IRI
protected Literal
protected Literal
protected IRI
protected Literal
protected Literal
protected final IRI
static final String
protected RepositoryConnection
protected RepositoryConnection
protected Repository
protected IRI
protected ValueFactory
protected Literal
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Repository
createRepository
(File dataDir) Gets an (uninitialized) instance of the repository that should be tested.static IsolationLevel[]
void
static void
protected void
setupTest
(IsolationLevel level) void
tearDown()
void
testAddDelete
(IsolationLevel level) void
testAddDeleteAdd
(IsolationLevel level) void
void
void
testAddInputStream
(IsolationLevel level) void
void
void
void
void
testAddReader
(IsolationLevel level) void
testAddReaderInTxn
(IsolationLevel level) void
testAddRemove
(IsolationLevel level) void
testAddRemoveAdd
(IsolationLevel level) void
void
testAddStatement
(IsolationLevel level, File dataDir) void
void
testAddZipFile
(IsolationLevel level) void
testAutoCommit
(IsolationLevel level) void
void
testClear
(IsolationLevel level) void
void
testDataset
(IsolationLevel level) void
void
void
testEmptyCommit
(IsolationLevel level) void
testEmptyRollback
(IsolationLevel level) void
testGetContextIDs
(IsolationLevel level) void
testGetNamespace
(IsolationLevel level) void
testGetNamespaces
(IsolationLevel level) void
testGetStatements
(IsolationLevel level) void
void
void
void
void
void
void
void
void
testInsertDelete
(IsolationLevel level) final void
testInsertRemove
(IsolationLevel level) void
void
testOpen
(IsolationLevel level) void
testOptionalFilter
(IsolationLevel level) void
testOrPredicate
(IsolationLevel level) void
void
void
void
void
void
testQueryBaseURI
(IsolationLevel level) void
void
void
void
void
void
void
void
void
testRollback
(IsolationLevel level) void
void
testSES713
(IsolationLevel level) void
void
void
void
void
testSizeCommit
(IsolationLevel level) void
void
testSizeRollback
(IsolationLevel level) void
void
void
testUpdateBaseURI
(IsolationLevel level) void
void
void
testXmlCalendarZ
(IsolationLevel level)
-
Field Details
-
FOAF_NS
- See Also:
-
TEST_DIR_PREFIX
- See Also:
-
testRepository
-
testCon
-
testCon2
-
vf
-
bob
-
alice
-
alexander
-
name
-
mbox
-
publisher
-
unknownContext
-
context1
-
context2
-
nameAlice
-
nameBob
-
mboxAlice
-
mboxBob
-
Александър
-
-
Constructor Details
-
RepositoryConnectionTest
public RepositoryConnectionTest()
-
-
Method Details
-
setUpClass
@BeforeAll public static void setUpClass() -
parameters
-
setUp
-
setupTest
-
tearDown
@AfterEach public void tearDown() -
createRepository
Gets an (uninitialized) instance of the repository that should be tested.- Returns:
- an uninitialized repository.
- Throws:
Exception
-
testAddStatement
@ParameterizedTest @MethodSource("parameters") public void testAddStatement(IsolationLevel level, @TempDir File dataDir) throws Exception - Throws:
Exception
-
testAddStatementWithContext
@ParameterizedTest @MethodSource("parameters") public void testAddStatementWithContext(IsolationLevel level) -
testAddLiteralWithNewline
@ParameterizedTest @MethodSource("parameters") public void testAddLiteralWithNewline(IsolationLevel level) -
testTransactionIsolation
@ParameterizedTest @MethodSource("parameters") public void testTransactionIsolation(IsolationLevel level) -
testAddReader
@ParameterizedTest @MethodSource("parameters") public void testAddReader(IsolationLevel level) throws Exception - Throws:
Exception
-
testAddInputStream
@ParameterizedTest @MethodSource("parameters") public void testAddInputStream(IsolationLevel level) throws Exception - Throws:
Exception
-
testAddInputStreamInTxn
@ParameterizedTest @MethodSource("parameters") public void testAddInputStreamInTxn(IsolationLevel level) throws Exception - Throws:
Exception
-
testAddReaderInTxn
@ParameterizedTest @MethodSource("parameters") public void testAddReaderInTxn(IsolationLevel level) throws Exception - Throws:
Exception
-
testAddGzipInputStream
@ParameterizedTest @MethodSource("parameters") public void testAddGzipInputStream(IsolationLevel level) throws Exception - Throws:
Exception
-
testAddZipFile
@ParameterizedTest @MethodSource("parameters") public void testAddZipFile(IsolationLevel level) throws Exception - Throws:
Exception
-
testAddMalformedLiteralsDefaultConfig
@ParameterizedTest @MethodSource("parameters") public void testAddMalformedLiteralsDefaultConfig(IsolationLevel level) throws Exception - Throws:
Exception
-
testAddMalformedLiteralsStrictConfig
@ParameterizedTest @MethodSource("parameters") public void testAddMalformedLiteralsStrictConfig(IsolationLevel level) throws Exception - Throws:
Exception
-
testAutoCommit
-
testRollback
-
testSimpleTupleQuery
@ParameterizedTest @MethodSource("parameters") public void testSimpleTupleQuery(IsolationLevel level) -
testPrepareSPARQLQuery
@ParameterizedTest @MethodSource("parameters") public void testPrepareSPARQLQuery(IsolationLevel level) -
testSimpleTupleQueryUnicode
@ParameterizedTest @MethodSource("parameters") public void testSimpleTupleQueryUnicode(IsolationLevel level) -
testPreparedTupleQuery
@ParameterizedTest @MethodSource("parameters") public void testPreparedTupleQuery(IsolationLevel level) -
testPreparedTupleQueryUnicode
@ParameterizedTest @MethodSource("parameters") public void testPreparedTupleQueryUnicode(IsolationLevel level) -
testSimpleGraphQuery
@ParameterizedTest @MethodSource("parameters") public void testSimpleGraphQuery(IsolationLevel level) -
testPreparedGraphQuery
@ParameterizedTest @MethodSource("parameters") public void testPreparedGraphQuery(IsolationLevel level) -
testSimpleBooleanQuery
@ParameterizedTest @MethodSource("parameters") public void testSimpleBooleanQuery(IsolationLevel level) -
testPreparedBooleanQuery
@ParameterizedTest @MethodSource("parameters") public void testPreparedBooleanQuery(IsolationLevel level) -
testDataset
-
testGetStatements
-
testGetStatementsIterable
@ParameterizedTest @MethodSource("parameters") public void testGetStatementsIterable(IsolationLevel level) -
testGetStatementsMalformedTypedLiteral
@ParameterizedTest @MethodSource("parameters") public void testGetStatementsMalformedTypedLiteral(IsolationLevel level) -
testGetStatementsMalformedLanguageLiteral
@ParameterizedTest @MethodSource("parameters") public void testGetStatementsMalformedLanguageLiteral(IsolationLevel level) -
testGetStatementsInSingleContext
@ParameterizedTest @MethodSource("parameters") public void testGetStatementsInSingleContext(IsolationLevel level) -
testGetStatementsInMultipleContexts
@ParameterizedTest @MethodSource("parameters") public void testGetStatementsInMultipleContexts(IsolationLevel level) -
testDuplicateFilter
@ParameterizedTest @MethodSource("parameters") public void testDuplicateFilter(IsolationLevel level) -
testRemoveStatements
@ParameterizedTest @MethodSource("parameters") public void testRemoveStatements(IsolationLevel level) -
testRemoveStatementWithContext
@ParameterizedTest @MethodSource("parameters") public void testRemoveStatementWithContext(IsolationLevel level) -
testRemoveStatementCollection
@ParameterizedTest @MethodSource("parameters") public void testRemoveStatementCollection(IsolationLevel level) -
testRemoveStatementIteration
@ParameterizedTest @MethodSource("parameters") public void testRemoveStatementIteration(IsolationLevel level) -
testGetNamespace
-
testGetNamespaces
-
testImportNamespacesFromIterable
@ParameterizedTest @MethodSource("parameters") public void testImportNamespacesFromIterable(IsolationLevel level) -
testClear
-
testRecoverFromParseError
@ParameterizedTest @MethodSource("parameters") public void testRecoverFromParseError(IsolationLevel level) throws RepositoryException, IOException - Throws:
RepositoryException
IOException
-
testStatementSerialization
@ParameterizedTest @MethodSource("parameters") public void testStatementSerialization(IsolationLevel level) throws Exception - Throws:
Exception
-
testBNodeSerialization
@ParameterizedTest @MethodSource("parameters") public void testBNodeSerialization(IsolationLevel level) throws Exception - Throws:
Exception
-
testURISerialization
@ParameterizedTest @MethodSource("parameters") public void testURISerialization(IsolationLevel level) throws Exception - Throws:
Exception
-
testLiteralSerialization
@ParameterizedTest @MethodSource("parameters") public void testLiteralSerialization(IsolationLevel level) throws Exception - Throws:
Exception
-
testGraphSerialization
@ParameterizedTest @MethodSource("parameters") public void testGraphSerialization(IsolationLevel level) throws Exception - Throws:
Exception
-
testEmptyRollback
-
testEmptyCommit
-
testOpen
-
testSizeRollback
-
testSizeCommit
-
testSizeDuplicateStatement
@ParameterizedTest @MethodSource("parameters") public void testSizeDuplicateStatement(IsolationLevel level) -
testAddRemove
@ParameterizedTest @MethodSource("parameters") public void testAddRemove(IsolationLevel level) throws RDF4JException - Throws:
RDF4JException
-
testAddDelete
@ParameterizedTest @MethodSource("parameters") public void testAddDelete(IsolationLevel level) throws RDF4JException - Throws:
RDF4JException
-
testInsertRemove
@ParameterizedTest @MethodSource("parameters") public final void testInsertRemove(IsolationLevel level) throws RDF4JException - Throws:
RDF4JException
-
testInsertDelete
@ParameterizedTest @MethodSource("parameters") public void testInsertDelete(IsolationLevel level) throws RDF4JException - Throws:
RDF4JException
-
testAddRemoveAdd
@ParameterizedTest @MethodSource("parameters") public void testAddRemoveAdd(IsolationLevel level) throws RDF4JException - Throws:
RDF4JException
-
testAddDeleteAdd
@ParameterizedTest @MethodSource("parameters") public void testAddDeleteAdd(IsolationLevel level) throws RDF4JException - Throws:
RDF4JException
-
testAddRemoveInsert
@ParameterizedTest @MethodSource("parameters") public void testAddRemoveInsert(IsolationLevel level) throws RDF4JException - Throws:
RDF4JException
-
testAddDeleteInsert
@ParameterizedTest @MethodSource("parameters") public void testAddDeleteInsert(IsolationLevel level) throws RDF4JException - Throws:
RDF4JException
-
testQueryInTransaction
@ParameterizedTest @MethodSource("parameters") public void testQueryInTransaction(IsolationLevel level) -
testUpdateInTransaction
@ParameterizedTest @MethodSource("parameters") public void testUpdateInTransaction(IsolationLevel level) -
testInferredStatementCount
@ParameterizedTest @MethodSource("parameters") public void testInferredStatementCount(IsolationLevel level) -
testGetContextIDs
-
testXmlCalendarZ
@ParameterizedTest @MethodSource("parameters") public void testXmlCalendarZ(IsolationLevel level) throws Exception - Throws:
Exception
-
testOptionalFilter
-
testOrPredicate
-
testSES713
-
testSES2172ChineseChars
@ParameterizedTest @MethodSource("parameters") public void testSES2172ChineseChars(IsolationLevel level) -
testQueryDefaultGraph
@ParameterizedTest @MethodSource("parameters") public void testQueryDefaultGraph(IsolationLevel level) -
testQueryBaseURI
-
testUpdateBaseURI
-
testDeleteDefaultGraph
@ParameterizedTest @MethodSource("parameters") public void testDeleteDefaultGraph(IsolationLevel level) -
testRemoveStatementsFromContextSingleTransaction
@ParameterizedTest @MethodSource("parameters") public void testRemoveStatementsFromContextSingleTransaction(IsolationLevel level) throws Exception - Throws:
Exception
-
testClearStatementsFromContextSingleTransaction
@ParameterizedTest @MethodSource("parameters") public void testClearStatementsFromContextSingleTransaction(IsolationLevel level) throws Exception - Throws:
Exception
-