Class RepositoryConnectionTest
- java.lang.Object
-
- org.eclipse.rdf4j.testsuite.repository.RepositoryConnectionTest
-
- Direct Known Subclasses:
RDFSchemaRepositoryConnectionTest
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 IsolationLevel
level
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
org.junit.rules.Timeout
to
Timeout all individual tests after 10 minutes.protected IRI
unknownContext
protected ValueFactory
vf
protected Literal
Александър
-
Constructor Summary
Constructors Constructor Description RepositoryConnectionTest(IsolationLevel level)
-
Method Summary
-
-
-
Field Detail
-
to
public org.junit.rules.Timeout to
Timeout all individual tests after 10 minutes.
-
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 Александър
-
level
protected IsolationLevel level
-
-
Constructor Detail
-
RepositoryConnectionTest
public RepositoryConnectionTest(IsolationLevel level)
-
-
Method Detail
-
parameters
public static IsolationLevel[] parameters()
-
createRepository
protected abstract Repository createRepository() throws Exception
Gets an (uninitialized) instance of the repository that should be tested.- Returns:
- an uninitialized repository.
- Throws:
Exception
-
testAddStatementWithContext
public void testAddStatementWithContext() throws Exception
- Throws:
Exception
-
testAddLiteralWithNewline
public void testAddLiteralWithNewline() throws Exception
- Throws:
Exception
-
testAddMalformedLiteralsDefaultConfig
public void testAddMalformedLiteralsDefaultConfig() throws Exception
- Throws:
Exception
-
testAddMalformedLiteralsStrictConfig
public void testAddMalformedLiteralsStrictConfig() throws Exception
- Throws:
Exception
-
testSimpleTupleQueryUnicode
public void testSimpleTupleQueryUnicode() throws Exception
- Throws:
Exception
-
testPreparedTupleQueryUnicode
public void testPreparedTupleQueryUnicode() throws Exception
- Throws:
Exception
-
testGetStatementsIterable
public void testGetStatementsIterable() throws Exception
- Throws:
Exception
-
testGetStatementsMalformedTypedLiteral
public void testGetStatementsMalformedTypedLiteral() throws Exception
- Throws:
Exception
-
testGetStatementsMalformedLanguageLiteral
public void testGetStatementsMalformedLanguageLiteral() throws Exception
- Throws:
Exception
-
testGetStatementsInSingleContext
public void testGetStatementsInSingleContext() throws Exception
- Throws:
Exception
-
testGetStatementsInMultipleContexts
public void testGetStatementsInMultipleContexts() throws Exception
- Throws:
Exception
-
testRemoveStatementWithContext
public void testRemoveStatementWithContext() throws Exception
- Throws:
Exception
-
testRemoveStatementCollection
public void testRemoveStatementCollection() throws Exception
- Throws:
Exception
-
testRemoveStatementIteration
public void testRemoveStatementIteration() throws Exception
- Throws:
Exception
-
testRecoverFromParseError
public void testRecoverFromParseError() throws RepositoryException, IOException
- Throws:
RepositoryException
IOException
-
testStatementSerialization
public void testStatementSerialization() throws Exception
- Throws:
Exception
-
testSizeDuplicateStatement
public void testSizeDuplicateStatement() throws Exception
- Throws:
Exception
-
testAddRemove
public void testAddRemove() throws RDF4JException
- Throws:
RDF4JException
-
testAddDelete
public void testAddDelete() throws RDF4JException
- Throws:
RDF4JException
-
testInsertRemove
public final void testInsertRemove() throws RDF4JException
- Throws:
RDF4JException
-
testInsertDelete
public void testInsertDelete() throws RDF4JException
- Throws:
RDF4JException
-
testAddRemoveAdd
public void testAddRemoveAdd() throws RDF4JException
- Throws:
RDF4JException
-
testAddDeleteAdd
public void testAddDeleteAdd() throws RDF4JException
- Throws:
RDF4JException
-
testAddRemoveInsert
public void testAddRemoveInsert() throws RDF4JException
- Throws:
RDF4JException
-
testAddDeleteInsert
public void testAddDeleteInsert() throws RDF4JException
- Throws:
RDF4JException
-
testInferredStatementCount
public void testInferredStatementCount() throws Exception
- Throws:
Exception
-
testRemoveStatementsFromContextSingleTransaction
public void testRemoveStatementsFromContextSingleTransaction() throws Exception
- Throws:
Exception
-
-