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
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testDeleteFromDefaultGraph
- Throws:
Exception
-
testDeleteFromDefaultGraphUsingWith
- Throws:
Exception
-
testInsertWhereInvalidTriple
- Throws:
Exception
-
testDeleteWhereInvalidTriple
- Throws:
Exception
-
testDeleteInsertWhereInvalidTriple
- Throws:
Exception
-
testInsertWhere
- Throws:
Exception
-
testInsertWhereWithBinding
- Throws:
Exception
-
testInsertWhereWithBindings2
- Throws:
Exception
-
testInsertEmptyWhere
- Throws:
Exception
-
testInsertEmptyWhereWithBinding
- Throws:
Exception
-
testInsertNonMatchingWhere
- Throws:
Exception
-
testInsertNonMatchingWhereWithBindings
- Throws:
Exception
-
testInsertWhereWithBindings
- Throws:
Exception
-
testInsertWhereWithOptional
- Throws:
Exception
-
testInsertWhereWithBlankNode
- Throws:
Exception
-
testDeleteInsertWhere
- Throws:
Exception
-
testDeleteWhereOptional
- Throws:
Exception
-
testDeleteInsertWhereWithBindings
- Throws:
Exception
-
testDeleteInsertWhereWithBindings2
- Throws:
Exception
-
testDeleteInsertWhereLoopingBehavior
- Throws:
Exception
-
testAutoCommitHandling
- Throws:
Exception
-
testConsecutiveUpdatesInSameTransaction
- Throws:
Exception
-
testInsertTransformedWhere
- Throws:
Exception
-
testInsertWhereGraph
- Throws:
Exception
-
testInsertWhereUsing
- Throws:
Exception
-
testInsertWhereUsingWith
- Throws:
Exception
-
testInsertWhereWith
- Throws:
Exception
-
testDeleteWhereShortcut
- Throws:
Exception
-
testDeleteWhere
- Throws:
Exception
-
testDeleteTransformedWhere
- Throws:
Exception
-
testInsertData
- Throws:
Exception
-
testInsertData2
- Throws:
Exception
-
testInsertDataLangTaggedLiteral
- Throws:
Exception
-
testInsertDataGraph1
- Throws:
Exception
-
testInsertDataGraph2
- Throws:
Exception
-
testInsertDataGraph3
- Throws:
Exception
-
testInsertDataBlankNode
- Throws:
Exception
-
testInsertDataMultiplePatterns
- Throws:
Exception
-
testInsertDataInGraph
- Throws:
Exception
-
testInsertDataInGraph2
- Throws:
Exception
-
testDeleteData
- Throws:
Exception
-
testDeleteDataUnicode
- Throws:
Exception
-
testDeleteDataMultiplePatterns
- Throws:
Exception
-
testDeleteDataFromGraph
- Throws:
Exception
-
testDeleteDataFromWrongGraph
- Throws:
Exception
-
testCreateNewGraph
- Throws:
Exception
-
testCreateExistingGraph
- Throws:
Exception
-
testCopyToDefault
- Throws:
Exception
-
testCopyToExistingNamed
- Throws:
Exception
-
testCopyToNewNamed
- Throws:
Exception
-
testCopyFromDefault
- Throws:
Exception
-
testCopyFromDefaultToDefault
- Throws:
Exception
-
testAddToDefault
- Throws:
Exception
-
testAddToExistingNamed
- Throws:
Exception
-
testAddToNewNamed
- Throws:
Exception
-
testAddFromDefault
- Throws:
Exception
-
testAddFromDefaultToDefault
- Throws:
Exception
-
testMoveToDefault
- Throws:
Exception
-
testMoveToNewNamed
- Throws:
Exception
-
testMoveFromDefault
- Throws:
Exception
-
testMoveFromDefaultToDefault
- Throws:
Exception
-
testClearAll
- Throws:
Exception
-
testClearDefault
- Throws:
Exception
-
testClearGraph
- Throws:
Exception
-
testClearNamed
- Throws:
Exception
-
testDropAll
- Throws:
Exception
-
testDropDefault
- Throws:
Exception
-
testDropGraph
- Throws:
Exception
-
testDropNamed
- Throws:
Exception
-
testUpdateSequenceDeleteInsert
- Throws:
Exception
-
testUpdateSequenceInsertDelete
- Throws:
Exception
-
testUpdateSequenceInsertDelete2
- Throws:
Exception
-
testUpdateSequenceInsertDeleteExample9
- Throws:
Exception
-
testUpdateSequenceWithRelativeIRI
- Throws:
Exception
-
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
-