Class SPARQLUpdateTest
java.lang.Object
org.eclipse.rdf4j.testsuite.query.parser.sparql.SPARQLUpdateTest
Tests for SPARQL 1.1 Update functionality.
- Author:
- Jeen Broekstra
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected RepositoryCreates, initializes and clears a repository.protected StringGet a set of useful namespace prefix declarations.protected voidloadDataset(String datasetFile) protected abstract RepositoryCreate a new Repository object.voidsetUp()voidtearDown()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
logger
protected static final org.slf4j.Logger logger -
con
-
f
-
bob
-
alice
-
graph1
-
graph2
-
EX_NS
- See Also:
-
-
Constructor Details
-
SPARQLUpdateTest
public SPARQLUpdateTest()
-
-
Method Details
-
setUp
-
tearDown
-
testDeleteFromDefaultGraph
-
testDeleteFromDefaultGraphUsingWith
-
testInsertWhereInvalidTriple
-
testDeleteWhereInvalidTriple
-
testDeleteInsertWhereInvalidTriple
-
testInsertWhere
-
testInsertWhereWithBinding
-
testInsertWhereWithBindings2
-
testInsertEmptyWhere
-
testInsertEmptyWhereWithBinding
-
testInsertNonMatchingWhere
-
testInsertNonMatchingWhereWithBindings
-
testInsertWhereWithBindings
-
testInsertWhereWithOptional
-
testInsertWhereWithBlankNode
-
testDeleteInsertWhere
-
testDeleteWhereOptional
-
testDeleteInsertWhereWithBindings
-
testDeleteInsertWhereWithBindings2
-
testDeleteInsertWhereLoopingBehavior
-
testAutoCommitHandling
-
testConsecutiveUpdatesInSameTransaction
-
testInsertTransformedWhere
-
testInsertWhereGraph
-
testInsertWhereUsing
-
testInsertWhereUsingWith
-
testInsertWhereWith
-
testDeleteWhereShortcut
-
testDeleteWhere
-
testDeleteTransformedWhere
-
testInsertData
-
testInsertData2
-
testInsertDataLangTaggedLiteral
-
testInsertDataGraph1
-
testInsertDataGraph2
-
testInsertDataGraph3
-
testInsertDataBlankNode
-
testInsertDataMultiplePatterns
-
testInsertDataInGraph
-
testInsertDataInGraph2
-
testDeleteData
-
testDeleteDataUnicode
-
testDeleteDataMultiplePatterns
-
testDeleteDataFromGraph
-
testDeleteDataFromWrongGraph
-
testCreateNewGraph
-
testCreateExistingGraph
-
testCopyToDefault
-
testCopyToExistingNamed
-
testCopyToNewNamed
-
testCopyFromDefault
-
testCopyFromDefaultToDefault
-
testAddToDefault
-
testAddToExistingNamed
-
testAddToNewNamed
-
testAddFromDefault
-
testAddFromDefaultToDefault
-
testMoveToDefault
-
testMoveToNewNamed
-
testMoveFromDefault
-
testMoveFromDefaultToDefault
-
testClearAll
-
testClearDefault
-
testClearGraph
-
testClearNamed
-
testDropAll
-
testDropDefault
-
testDropGraph
-
testDropNamed
-
testUpdateSequenceDeleteInsert
-
testUpdateSequenceInsertDelete
-
testUpdateSequenceInsertDelete2
-
testUpdateSequenceInsertDeleteExample9
-
testUpdateSequenceWithRelativeIRI
-
contextualInsertDeleteData
@Test public void contextualInsertDeleteData() throws RepositoryException, MalformedQueryException, UpdateExecutionException -
testInvalidInsertUpdate
@Test public void testInvalidInsertUpdate() -
testInvalidDeleteUpdate
@Test public void testInvalidDeleteUpdate() -
loadDataset
protected void loadDataset(String datasetFile) throws RDFParseException, RepositoryException, IOException -
getNamespaceDeclarations
Get a set of useful namespace prefix declarations.- Returns:
- namespace prefix declarations for rdf, rdfs, dc, foaf and ex.
-
createRepository
Creates, initializes and clears a repository.- Returns:
- an initialized empty repository.
- Throws:
Exception
-
newRepository
Create a new Repository object. Subclasses are expected to implement this method to supply the test case with a specific Repository type and configuration.- Returns:
- a new (uninitialized) Repository
- Throws:
Exception
-