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 Link icon

  • Constructor Details Link icon

    • SPARQLUpdateTest Link icon

      public SPARQLUpdateTest()
  • Method Details Link icon

    • setUp Link icon

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

      @AfterEach public void tearDown() throws Exception
      Throws:
      Exception
    • testDeleteFromDefaultGraph Link icon

      @Test public void testDeleteFromDefaultGraph() throws Exception
      Throws:
      Exception
    • testDeleteFromDefaultGraphUsingWith Link icon

      @Test public void testDeleteFromDefaultGraphUsingWith() throws Exception
      Throws:
      Exception
    • testInsertWhereInvalidTriple Link icon

      @Test public void testInsertWhereInvalidTriple() throws Exception
      Throws:
      Exception
    • testDeleteWhereInvalidTriple Link icon

      @Test public void testDeleteWhereInvalidTriple() throws Exception
      Throws:
      Exception
    • testDeleteInsertWhereInvalidTriple Link icon

      @Test public void testDeleteInsertWhereInvalidTriple() throws Exception
      Throws:
      Exception
    • testInsertWhere Link icon

      @Test public void testInsertWhere() throws Exception
      Throws:
      Exception
    • testInsertWhereWithBinding Link icon

      @Test public void testInsertWhereWithBinding() throws Exception
      Throws:
      Exception
    • testInsertWhereWithBindings2 Link icon

      @Test public void testInsertWhereWithBindings2() throws Exception
      Throws:
      Exception
    • testInsertEmptyWhere Link icon

      @Test public void testInsertEmptyWhere() throws Exception
      Throws:
      Exception
    • testInsertEmptyWhereWithBinding Link icon

      @Test public void testInsertEmptyWhereWithBinding() throws Exception
      Throws:
      Exception
    • testInsertNonMatchingWhere Link icon

      @Test public void testInsertNonMatchingWhere() throws Exception
      Throws:
      Exception
    • testInsertNonMatchingWhereWithBindings Link icon

      @Test public void testInsertNonMatchingWhereWithBindings() throws Exception
      Throws:
      Exception
    • testInsertWhereWithBindings Link icon

      @Test public void testInsertWhereWithBindings() throws Exception
      Throws:
      Exception
    • testInsertWhereWithOptional Link icon

      @Test public void testInsertWhereWithOptional() throws Exception
      Throws:
      Exception
    • testInsertWhereWithBlankNode Link icon

      @Test public void testInsertWhereWithBlankNode() throws Exception
      Throws:
      Exception
    • testDeleteInsertWhere Link icon

      @Test public void testDeleteInsertWhere() throws Exception
      Throws:
      Exception
    • testDeleteWhereOptional Link icon

      @Test public void testDeleteWhereOptional() throws Exception
      Throws:
      Exception
    • testDeleteInsertWhereWithBindings Link icon

      @Test public void testDeleteInsertWhereWithBindings() throws Exception
      Throws:
      Exception
    • testDeleteInsertWhereWithBindings2 Link icon

      @Test public void testDeleteInsertWhereWithBindings2() throws Exception
      Throws:
      Exception
    • testDeleteInsertWhereLoopingBehavior Link icon

      @Test public void testDeleteInsertWhereLoopingBehavior() throws Exception
      Throws:
      Exception
    • testAutoCommitHandling Link icon

      @Test public void testAutoCommitHandling() throws Exception
      Throws:
      Exception
    • testConsecutiveUpdatesInSameTransaction Link icon

      @Test public void testConsecutiveUpdatesInSameTransaction() throws Exception
      Throws:
      Exception
    • testInsertTransformedWhere Link icon

      @Test public void testInsertTransformedWhere() throws Exception
      Throws:
      Exception
    • testInsertWhereGraph Link icon

      @Test public void testInsertWhereGraph() throws Exception
      Throws:
      Exception
    • testInsertWhereUsing Link icon

      @Test public void testInsertWhereUsing() throws Exception
      Throws:
      Exception
    • testInsertWhereUsingWith Link icon

      @Test public void testInsertWhereUsingWith() throws Exception
      Throws:
      Exception
    • testInsertWhereWith Link icon

      @Test public void testInsertWhereWith() throws Exception
      Throws:
      Exception
    • testDeleteWhereShortcut Link icon

      @Test public void testDeleteWhereShortcut() throws Exception
      Throws:
      Exception
    • testDeleteWhere Link icon

      @Test public void testDeleteWhere() throws Exception
      Throws:
      Exception
    • testDeleteTransformedWhere Link icon

      @Test public void testDeleteTransformedWhere() throws Exception
      Throws:
      Exception
    • testInsertData Link icon

      @Test public void testInsertData() throws Exception
      Throws:
      Exception
    • testInsertData2 Link icon

      @Test public void testInsertData2() throws Exception
      Throws:
      Exception
    • testInsertDataLangTaggedLiteral Link icon

      @Test public void testInsertDataLangTaggedLiteral() throws Exception
      Throws:
      Exception
    • testInsertDataGraph1 Link icon

      @Test public void testInsertDataGraph1() throws Exception
      Throws:
      Exception
    • testInsertDataGraph2 Link icon

      @Test public void testInsertDataGraph2() throws Exception
      Throws:
      Exception
    • testInsertDataGraph3 Link icon

      @Test public void testInsertDataGraph3() throws Exception
      Throws:
      Exception
    • testInsertDataBlankNode Link icon

      @Test public void testInsertDataBlankNode() throws Exception
      Throws:
      Exception
    • testInsertDataMultiplePatterns Link icon

      @Test public void testInsertDataMultiplePatterns() throws Exception
      Throws:
      Exception
    • testInsertDataInGraph Link icon

      @Test public void testInsertDataInGraph() throws Exception
      Throws:
      Exception
    • testInsertDataInGraph2 Link icon

      @Test public void testInsertDataInGraph2() throws Exception
      Throws:
      Exception
    • testDeleteData Link icon

      @Test public void testDeleteData() throws Exception
      Throws:
      Exception
    • testDeleteDataUnicode Link icon

      @Test public void testDeleteDataUnicode() throws Exception
      Throws:
      Exception
    • testDeleteDataMultiplePatterns Link icon

      @Test public void testDeleteDataMultiplePatterns() throws Exception
      Throws:
      Exception
    • testDeleteDataFromGraph Link icon

      @Test public void testDeleteDataFromGraph() throws Exception
      Throws:
      Exception
    • testDeleteDataFromWrongGraph Link icon

      @Test public void testDeleteDataFromWrongGraph() throws Exception
      Throws:
      Exception
    • testCreateNewGraph Link icon

      @Test public void testCreateNewGraph() throws Exception
      Throws:
      Exception
    • testCreateExistingGraph Link icon

      @Test public void testCreateExistingGraph() throws Exception
      Throws:
      Exception
    • testCopyToDefault Link icon

      @Test public void testCopyToDefault() throws Exception
      Throws:
      Exception
    • testCopyToExistingNamed Link icon

      @Test public void testCopyToExistingNamed() throws Exception
      Throws:
      Exception
    • testCopyToNewNamed Link icon

      @Test public void testCopyToNewNamed() throws Exception
      Throws:
      Exception
    • testCopyFromDefault Link icon

      @Test public void testCopyFromDefault() throws Exception
      Throws:
      Exception
    • testCopyFromDefaultToDefault Link icon

      @Test public void testCopyFromDefaultToDefault() throws Exception
      Throws:
      Exception
    • testAddToDefault Link icon

      @Test public void testAddToDefault() throws Exception
      Throws:
      Exception
    • testAddToExistingNamed Link icon

      @Test public void testAddToExistingNamed() throws Exception
      Throws:
      Exception
    • testAddToNewNamed Link icon

      @Test public void testAddToNewNamed() throws Exception
      Throws:
      Exception
    • testAddFromDefault Link icon

      @Test public void testAddFromDefault() throws Exception
      Throws:
      Exception
    • testAddFromDefaultToDefault Link icon

      @Test public void testAddFromDefaultToDefault() throws Exception
      Throws:
      Exception
    • testMoveToDefault Link icon

      @Test public void testMoveToDefault() throws Exception
      Throws:
      Exception
    • testMoveToNewNamed Link icon

      @Test public void testMoveToNewNamed() throws Exception
      Throws:
      Exception
    • testMoveFromDefault Link icon

      @Test public void testMoveFromDefault() throws Exception
      Throws:
      Exception
    • testMoveFromDefaultToDefault Link icon

      @Test public void testMoveFromDefaultToDefault() throws Exception
      Throws:
      Exception
    • testClearAll Link icon

      @Test public void testClearAll() throws Exception
      Throws:
      Exception
    • testClearDefault Link icon

      @Test public void testClearDefault() throws Exception
      Throws:
      Exception
    • testClearGraph Link icon

      @Test public void testClearGraph() throws Exception
      Throws:
      Exception
    • testClearNamed Link icon

      @Test public void testClearNamed() throws Exception
      Throws:
      Exception
    • testDropAll Link icon

      @Test public void testDropAll() throws Exception
      Throws:
      Exception
    • testDropDefault Link icon

      @Test public void testDropDefault() throws Exception
      Throws:
      Exception
    • testDropGraph Link icon

      @Test public void testDropGraph() throws Exception
      Throws:
      Exception
    • testDropNamed Link icon

      @Test public void testDropNamed() throws Exception
      Throws:
      Exception
    • testUpdateSequenceDeleteInsert Link icon

      @Test public void testUpdateSequenceDeleteInsert() throws Exception
      Throws:
      Exception
    • testUpdateSequenceInsertDelete Link icon

      @Test public void testUpdateSequenceInsertDelete() throws Exception
      Throws:
      Exception
    • testUpdateSequenceInsertDelete2 Link icon

      @Test public void testUpdateSequenceInsertDelete2() throws Exception
      Throws:
      Exception
    • testUpdateSequenceInsertDeleteExample9 Link icon

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

      @Test public void testUpdateSequenceWithRelativeIRI() throws Exception
      Throws:
      Exception
    • contextualInsertDeleteData Link icon

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

      @Test public void testInvalidInsertUpdate()
    • testInvalidDeleteUpdate Link icon

      @Test public void testInvalidDeleteUpdate()
    • loadDataset Link icon

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

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

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

      protected abstract Repository newRepository() throws Exception
      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