Class SPARQLQueryComplianceTest

java.lang.Object
org.eclipse.rdf4j.testsuite.query.parser.sparql.manifest.SPARQLComplianceTest
org.eclipse.rdf4j.testsuite.query.parser.sparql.manifest.SPARQLQueryComplianceTest
Direct Known Subclasses:
GeoSPARQLManifestTest, SPARQL10QueryComplianceTest, SPARQL11QueryComplianceTest, SPARQL12QueryComplianceTest

public abstract class SPARQLQueryComplianceTest extends SPARQLComplianceTest
Base functionality for SPARQL query compliance test suites .
Author:
Jeen Broekstra
  • Constructor Details

    • SPARQLQueryComplianceTest

      public SPARQLQueryComplianceTest()
    • SPARQLQueryComplianceTest

      public SPARQLQueryComplianceTest(List<String> excludedSubdirs)
  • Method Details

    • newRepository

      protected abstract Repository newRepository() throws Exception
      Throws:
      Exception
    • testParameterListener

      protected void testParameterListener(String displayName, String testURI, String name, String queryFileURL, String resultFileURL, Dataset dataset, boolean ordered, boolean laxCardinality)
      This can be overridden in order to read one or more of the test parameters.
      Parameters:
      displayName -
      testURI -
      name -
      queryFileURL -
      resultFileURL -
      dataset -
      ordered -
      laxCardinality -
    • tests

      @TestFactory public abstract Collection<org.junit.jupiter.api.DynamicTest> tests()
    • getTestData

      public Collection<org.junit.jupiter.api.DynamicTest> getTestData(String manifestResource)
    • getTestData

      public Collection<org.junit.jupiter.api.DynamicTest> getTestData(String manifestResource, boolean approvedOnly)