Class RepositoryConnectionTest
java.lang.Object
org.eclipse.rdf4j.testsuite.repository.RepositoryConnectionTest
- Direct Known Subclasses:
RDFSchemaRepositoryConnectionTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Resourceprotected Resourceprotected Resourceprotected IRIprotected IRIprotected static final Stringprotected IRIprotected Literalprotected Literalprotected IRIprotected Literalprotected Literalprotected final IRIstatic final Stringprotected RepositoryConnectionprotected RepositoryConnectionprotected Repositoryprotected IRIprotected ValueFactoryprotected Literal -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract RepositorycreateRepository(File dataDir) Gets an (uninitialized) instance of the repository that should be tested.static IsolationLevel[]voidstatic voidprotected voidsetupTest(IsolationLevel level) voidtearDown()voidtestAddDelete(IsolationLevel level) voidtestAddDeleteAdd(IsolationLevel level) voidvoidvoidtestAddInputStream(IsolationLevel level) voidvoidvoidvoidvoidtestAddReader(IsolationLevel level) voidtestAddReaderInTxn(IsolationLevel level) voidtestAddRemove(IsolationLevel level) voidtestAddRemoveAdd(IsolationLevel level) voidvoidtestAddStatement(IsolationLevel level, File dataDir) voidvoidtestAddZipFile(IsolationLevel level) voidtestAutoCommit(IsolationLevel level) voidvoidtestClear(IsolationLevel level) voidvoidtestDataset(IsolationLevel level) voidvoidvoidtestEmptyCommit(IsolationLevel level) voidtestEmptyRollback(IsolationLevel level) voidtestGetContextIDs(IsolationLevel level) voidtestGetNamespace(IsolationLevel level) voidtestGetNamespaces(IsolationLevel level) voidtestGetStatements(IsolationLevel level) voidvoidvoidvoidvoidvoidvoidvoidvoidtestInsertDelete(IsolationLevel level) final voidtestInsertRemove(IsolationLevel level) voidvoidtestOpen(IsolationLevel level) voidtestOptionalFilter(IsolationLevel level) voidtestOrPredicate(IsolationLevel level) voidvoidvoidvoidvoidvoidtestQueryBaseURI(IsolationLevel level) voidvoidvoidvoidvoidvoidvoidvoidvoidtestRollback(IsolationLevel level) voidvoidtestSES713(IsolationLevel level) voidvoidvoidvoidvoidtestSizeCommit(IsolationLevel level) voidvoidtestSizeRollback(IsolationLevel level) voidvoidvoidtestUpdateBaseURI(IsolationLevel level) voidvoidvoidtestXmlCalendarZ(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
- Throws:
Exception
-
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:
RepositoryExceptionIOException
-
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
-