Class RepositoryConnectionTest
- java.lang.Object
-
- org.eclipse.rdf4j.testsuite.repository.RepositoryConnectionTest
-
- Direct Known Subclasses:
RDFSchemaRepositoryConnectionTest
@Timeout(value=10L, unit=MINUTES) public abstract class RepositoryConnectionTest extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Resource
alexander
protected Resource
alice
protected Resource
bob
protected IRI
context1
protected IRI
context2
protected static String
FOAF_NS
protected IRI
mbox
protected Literal
mboxAlice
protected Literal
mboxBob
protected IRI
name
protected Literal
nameAlice
protected Literal
nameBob
protected IRI
publisher
static String
TEST_DIR_PREFIX
protected RepositoryConnection
testCon
protected RepositoryConnection
testCon2
protected Repository
testRepository
protected IRI
unknownContext
protected ValueFactory
vf
protected Literal
Александър
-
Constructor Summary
Constructors Constructor Description RepositoryConnectionTest()
-
Method Summary
-
-
-
Field Detail
-
FOAF_NS
protected static final String FOAF_NS
- See Also:
- Constant Field Values
-
TEST_DIR_PREFIX
public static final String TEST_DIR_PREFIX
- See Also:
- Constant Field Values
-
testRepository
protected Repository testRepository
-
testCon
protected RepositoryConnection testCon
-
testCon2
protected RepositoryConnection testCon2
-
vf
protected ValueFactory vf
-
bob
protected Resource bob
-
alice
protected Resource alice
-
alexander
protected Resource alexander
-
name
protected IRI name
-
mbox
protected IRI mbox
-
publisher
protected final IRI publisher
-
unknownContext
protected IRI unknownContext
-
context1
protected IRI context1
-
context2
protected IRI context2
-
nameAlice
protected Literal nameAlice
-
nameBob
protected Literal nameBob
-
mboxAlice
protected Literal mboxAlice
-
mboxBob
protected Literal mboxBob
-
Александър
protected Literal Александър
-
-
Method Detail
-
parameters
public static IsolationLevel[] parameters()
-
setupTest
protected void setupTest(IsolationLevel level)
-
createRepository
protected abstract Repository createRepository(File dataDir) throws Exception
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) throws Exception
- Throws:
Exception
-
testAddLiteralWithNewline
@ParameterizedTest @MethodSource("parameters") public void testAddLiteralWithNewline(IsolationLevel level) throws Exception
- Throws:
Exception
-
testTransactionIsolation
@ParameterizedTest @MethodSource("parameters") public void testTransactionIsolation(IsolationLevel level) throws Exception
- Throws:
Exception
-
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
@ParameterizedTest @MethodSource("parameters") public void testAutoCommit(IsolationLevel level) throws Exception
- Throws:
Exception
-
testRollback
@ParameterizedTest @MethodSource("parameters") public void testRollback(IsolationLevel level) throws Exception
- Throws:
Exception
-
testSimpleTupleQuery
@ParameterizedTest @MethodSource("parameters") public void testSimpleTupleQuery(IsolationLevel level) throws Exception
- Throws:
Exception
-
testPrepareSPARQLQuery
@ParameterizedTest @MethodSource("parameters") public void testPrepareSPARQLQuery(IsolationLevel level) throws Exception
- Throws:
Exception
-
testSimpleTupleQueryUnicode
@ParameterizedTest @MethodSource("parameters") public void testSimpleTupleQueryUnicode(IsolationLevel level) throws Exception
- Throws:
Exception
-
testPreparedTupleQuery
@ParameterizedTest @MethodSource("parameters") public void testPreparedTupleQuery(IsolationLevel level) throws Exception
- Throws:
Exception
-
testPreparedTupleQueryUnicode
@ParameterizedTest @MethodSource("parameters") public void testPreparedTupleQueryUnicode(IsolationLevel level) throws Exception
- Throws:
Exception
-
testSimpleGraphQuery
@ParameterizedTest @MethodSource("parameters") public void testSimpleGraphQuery(IsolationLevel level) throws Exception
- Throws:
Exception
-
testPreparedGraphQuery
@ParameterizedTest @MethodSource("parameters") public void testPreparedGraphQuery(IsolationLevel level) throws Exception
- Throws:
Exception
-
testSimpleBooleanQuery
@ParameterizedTest @MethodSource("parameters") public void testSimpleBooleanQuery(IsolationLevel level) throws Exception
- Throws:
Exception
-
testPreparedBooleanQuery
@ParameterizedTest @MethodSource("parameters") public void testPreparedBooleanQuery(IsolationLevel level) throws Exception
- Throws:
Exception
-
testDataset
@ParameterizedTest @MethodSource("parameters") public void testDataset(IsolationLevel level) throws Exception
- Throws:
Exception
-
testGetStatements
@ParameterizedTest @MethodSource("parameters") public void testGetStatements(IsolationLevel level) throws Exception
- Throws:
Exception
-
testGetStatementsIterable
@ParameterizedTest @MethodSource("parameters") public void testGetStatementsIterable(IsolationLevel level) throws Exception
- Throws:
Exception
-
testGetStatementsMalformedTypedLiteral
@ParameterizedTest @MethodSource("parameters") public void testGetStatementsMalformedTypedLiteral(IsolationLevel level) throws Exception
- Throws:
Exception
-
testGetStatementsMalformedLanguageLiteral
@ParameterizedTest @MethodSource("parameters") public void testGetStatementsMalformedLanguageLiteral(IsolationLevel level) throws Exception
- Throws:
Exception
-
testGetStatementsInSingleContext
@ParameterizedTest @MethodSource("parameters") public void testGetStatementsInSingleContext(IsolationLevel level) throws Exception
- Throws:
Exception
-
testGetStatementsInMultipleContexts
@ParameterizedTest @MethodSource("parameters") public void testGetStatementsInMultipleContexts(IsolationLevel level) throws Exception
- Throws:
Exception
-
testDuplicateFilter
@ParameterizedTest @MethodSource("parameters") public void testDuplicateFilter(IsolationLevel level) throws Exception
- Throws:
Exception
-
testRemoveStatements
@ParameterizedTest @MethodSource("parameters") public void testRemoveStatements(IsolationLevel level) throws Exception
- Throws:
Exception
-
testRemoveStatementWithContext
@ParameterizedTest @MethodSource("parameters") public void testRemoveStatementWithContext(IsolationLevel level) throws Exception
- Throws:
Exception
-
testRemoveStatementCollection
@ParameterizedTest @MethodSource("parameters") public void testRemoveStatementCollection(IsolationLevel level) throws Exception
- Throws:
Exception
-
testRemoveStatementIteration
@ParameterizedTest @MethodSource("parameters") public void testRemoveStatementIteration(IsolationLevel level) throws Exception
- Throws:
Exception
-
testGetNamespace
@ParameterizedTest @MethodSource("parameters") public void testGetNamespace(IsolationLevel level) throws Exception
- Throws:
Exception
-
testGetNamespaces
@ParameterizedTest @MethodSource("parameters") public void testGetNamespaces(IsolationLevel level) throws Exception
- Throws:
Exception
-
testImportNamespacesFromIterable
@ParameterizedTest @MethodSource("parameters") public void testImportNamespacesFromIterable(IsolationLevel level) throws Exception
- Throws:
Exception
-
testClear
@ParameterizedTest @MethodSource("parameters") public void testClear(IsolationLevel level) throws Exception
- Throws:
Exception
-
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
@ParameterizedTest @MethodSource("parameters") public void testEmptyRollback(IsolationLevel level) throws Exception
- Throws:
Exception
-
testEmptyCommit
@ParameterizedTest @MethodSource("parameters") public void testEmptyCommit(IsolationLevel level) throws Exception
- Throws:
Exception
-
testOpen
@ParameterizedTest @MethodSource("parameters") public void testOpen(IsolationLevel level) throws Exception
- Throws:
Exception
-
testSizeRollback
@ParameterizedTest @MethodSource("parameters") public void testSizeRollback(IsolationLevel level) throws Exception
- Throws:
Exception
-
testSizeCommit
@ParameterizedTest @MethodSource("parameters") public void testSizeCommit(IsolationLevel level) throws Exception
- Throws:
Exception
-
testSizeDuplicateStatement
@ParameterizedTest @MethodSource("parameters") public void testSizeDuplicateStatement(IsolationLevel level) throws Exception
- Throws:
Exception
-
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) throws Exception
- Throws:
Exception
-
testUpdateInTransaction
@ParameterizedTest @MethodSource("parameters") public void testUpdateInTransaction(IsolationLevel level) throws Exception
- Throws:
Exception
-
testInferredStatementCount
@ParameterizedTest @MethodSource("parameters") public void testInferredStatementCount(IsolationLevel level) throws Exception
- Throws:
Exception
-
testGetContextIDs
@ParameterizedTest @MethodSource("parameters") public void testGetContextIDs(IsolationLevel level) throws Exception
- Throws:
Exception
-
testXmlCalendarZ
@ParameterizedTest @MethodSource("parameters") public void testXmlCalendarZ(IsolationLevel level) throws Exception
- Throws:
Exception
-
testOptionalFilter
@ParameterizedTest @MethodSource("parameters") public void testOptionalFilter(IsolationLevel level) throws Exception
- Throws:
Exception
-
testOrPredicate
@ParameterizedTest @MethodSource("parameters") public void testOrPredicate(IsolationLevel level) throws Exception
- Throws:
Exception
-
testSES713
@ParameterizedTest @MethodSource("parameters") public void testSES713(IsolationLevel level) throws Exception
- Throws:
Exception
-
testSES2172ChineseChars
@ParameterizedTest @MethodSource("parameters") public void testSES2172ChineseChars(IsolationLevel level) throws Exception
- Throws:
Exception
-
testQueryDefaultGraph
@ParameterizedTest @MethodSource("parameters") public void testQueryDefaultGraph(IsolationLevel level) throws Exception
- Throws:
Exception
-
testQueryBaseURI
@ParameterizedTest @MethodSource("parameters") public void testQueryBaseURI(IsolationLevel level) throws Exception
- Throws:
Exception
-
testUpdateBaseURI
@ParameterizedTest @MethodSource("parameters") public void testUpdateBaseURI(IsolationLevel level) throws Exception
- Throws:
Exception
-
testDeleteDefaultGraph
@ParameterizedTest @MethodSource("parameters") public void testDeleteDefaultGraph(IsolationLevel level) throws Exception
- Throws:
Exception
-
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
-
-