Class SPARQLUpdateTest

java.lang.Object
org.eclipse.rdf4j.testsuite.query.parser.sparql.SPARQLUpdateTest

public abstract class SPARQLUpdateTest extends Object
Tests for SPARQL 1.1 Update functionality.
Author:
Jeen Broekstra
  • Field Details

  • Constructor Details

    • SPARQLUpdateTest

      public SPARQLUpdateTest()
  • Method Details

    • setUp

      @BeforeEach public void setUp() throws Exception
      Throws:
      Exception
    • tearDown

      @AfterEach public void tearDown()
    • testDeleteFromDefaultGraph

      @Test public void testDeleteFromDefaultGraph()
    • testDeleteFromDefaultGraphUsingWith

      @Test public void testDeleteFromDefaultGraphUsingWith()
    • testInsertWhereInvalidTriple

      @Test public void testInsertWhereInvalidTriple()
    • testDeleteWhereInvalidTriple

      @Test public void testDeleteWhereInvalidTriple()
    • testDeleteInsertWhereInvalidTriple

      @Test public void testDeleteInsertWhereInvalidTriple()
    • testInsertWhere

      @Test public void testInsertWhere()
    • testInsertWhereWithBinding

      @Test public void testInsertWhereWithBinding()
    • testInsertWhereWithBindings2

      @Test public void testInsertWhereWithBindings2()
    • testInsertEmptyWhere

      @Test public void testInsertEmptyWhere()
    • testInsertEmptyWhereWithBinding

      @Test public void testInsertEmptyWhereWithBinding()
    • testInsertNonMatchingWhere

      @Test public void testInsertNonMatchingWhere()
    • testInsertNonMatchingWhereWithBindings

      @Test public void testInsertNonMatchingWhereWithBindings()
    • testInsertWhereWithBindings

      @Test public void testInsertWhereWithBindings()
    • testInsertWhereWithOptional

      @Test public void testInsertWhereWithOptional()
    • testInsertWhereWithBlankNode

      @Test public void testInsertWhereWithBlankNode()
    • testDeleteInsertWhere

      @Test public void testDeleteInsertWhere()
    • testDeleteWhereOptional

      @Test public void testDeleteWhereOptional()
    • testDeleteInsertWhereWithBindings

      @Test public void testDeleteInsertWhereWithBindings()
    • testDeleteInsertWhereWithBindings2

      @Test public void testDeleteInsertWhereWithBindings2()
    • testDeleteInsertWhereLoopingBehavior

      @Test public void testDeleteInsertWhereLoopingBehavior()
    • testAutoCommitHandling

      @Test public void testAutoCommitHandling()
    • testConsecutiveUpdatesInSameTransaction

      @Test public void testConsecutiveUpdatesInSameTransaction()
    • testInsertTransformedWhere

      @Test public void testInsertTransformedWhere()
    • testInsertWhereGraph

      @Test public void testInsertWhereGraph()
    • testInsertWhereUsing

      @Test public void testInsertWhereUsing()
    • testInsertWhereUsingWith

      @Test public void testInsertWhereUsingWith()
    • testInsertWhereWith

      @Test public void testInsertWhereWith()
    • testDeleteWhereShortcut

      @Test public void testDeleteWhereShortcut()
    • testDeleteWhere

      @Test public void testDeleteWhere()
    • testDeleteTransformedWhere

      @Test public void testDeleteTransformedWhere()
    • testInsertData

      @Test public void testInsertData()
    • testInsertData2

      @Test public void testInsertData2()
    • testInsertDataLangTaggedLiteral

      @Test public void testInsertDataLangTaggedLiteral()
    • testInsertDataGraph1

      @Test public void testInsertDataGraph1()
    • testInsertDataGraph2

      @Test public void testInsertDataGraph2()
    • testInsertDataGraph3

      @Test public void testInsertDataGraph3()
    • testInsertDataBlankNode

      @Test public void testInsertDataBlankNode()
    • testInsertDataMultiplePatterns

      @Test public void testInsertDataMultiplePatterns()
    • testInsertDataInGraph

      @Test public void testInsertDataInGraph()
    • testInsertDataInGraph2

      @Test public void testInsertDataInGraph2()
    • testDeleteData

      @Test public void testDeleteData()
    • testDeleteDataUnicode

      @Test public void testDeleteDataUnicode()
    • testDeleteDataMultiplePatterns

      @Test public void testDeleteDataMultiplePatterns()
    • testDeleteDataFromGraph

      @Test public void testDeleteDataFromGraph()
    • testDeleteDataFromWrongGraph

      @Test public void testDeleteDataFromWrongGraph()
    • testCreateNewGraph

      @Test public void testCreateNewGraph()
    • testCreateExistingGraph

      @Test public void testCreateExistingGraph()
    • testCopyToDefault

      @Test public void testCopyToDefault()
    • testCopyToExistingNamed

      @Test public void testCopyToExistingNamed()
    • testCopyToNewNamed

      @Test public void testCopyToNewNamed()
    • testCopyFromDefault

      @Test public void testCopyFromDefault()
    • testCopyFromDefaultToDefault

      @Test public void testCopyFromDefaultToDefault()
    • testAddToDefault

      @Test public void testAddToDefault()
    • testAddToExistingNamed

      @Test public void testAddToExistingNamed()
    • testAddToNewNamed

      @Test public void testAddToNewNamed()
    • testAddFromDefault

      @Test public void testAddFromDefault()
    • testAddFromDefaultToDefault

      @Test public void testAddFromDefaultToDefault()
    • testMoveToDefault

      @Test public void testMoveToDefault()
    • testMoveToNewNamed

      @Test public void testMoveToNewNamed()
    • testMoveFromDefault

      @Test public void testMoveFromDefault()
    • testMoveFromDefaultToDefault

      @Test public void testMoveFromDefaultToDefault()
    • testClearAll

      @Test public void testClearAll()
    • testClearDefault

      @Test public void testClearDefault()
    • testClearGraph

      @Test public void testClearGraph()
    • testClearNamed

      @Test public void testClearNamed()
    • testDropAll

      @Test public void testDropAll()
    • testDropDefault

      @Test public void testDropDefault()
    • testDropGraph

      @Test public void testDropGraph()
    • testDropNamed

      @Test public void testDropNamed()
    • testUpdateSequenceDeleteInsert

      @Test public void testUpdateSequenceDeleteInsert()
    • testUpdateSequenceInsertDelete

      @Test public void testUpdateSequenceInsertDelete()
    • testUpdateSequenceInsertDelete2

      @Test public void testUpdateSequenceInsertDelete2()
    • testUpdateSequenceInsertDeleteExample9

      @Test public void testUpdateSequenceInsertDeleteExample9() throws Exception
      Throws:
      Exception
    • testUpdateSequenceWithRelativeIRI

      @Test public void testUpdateSequenceWithRelativeIRI()
    • contextualInsertDeleteData

      @Test public void contextualInsertDeleteData() throws RepositoryException, MalformedQueryException, UpdateExecutionException
      Throws:
      RepositoryException
      MalformedQueryException
      UpdateExecutionException
    • testInvalidInsertUpdate

      @Test public void testInvalidInsertUpdate()
    • testInvalidDeleteUpdate

      @Test public void testInvalidDeleteUpdate()
    • loadDataset

      protected void loadDataset(String datasetFile) throws RDFParseException, RepositoryException, IOException
      Throws:
      RDFParseException
      RepositoryException
      IOException
    • getNamespaceDeclarations

      protected String getNamespaceDeclarations()
      Get a set of useful namespace prefix declarations.
      Returns:
      namespace prefix declarations for rdf, rdfs, dc, foaf and ex.
    • createRepository

      protected Repository createRepository()
      Creates, initializes and clears a repository.
      Returns:
      an initialized empty repository.
    • newRepository

      protected abstract Repository 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