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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
SPARQLQueryComplianceTest.DynamicSPARQLQueryComplianceTest
protected class
SPARQLQueryComplianceTest.SPARQLQueryTestManifest
-
Nested classes/interfaces inherited from class org.eclipse.rdf4j.testsuite.query.parser.sparql.manifest.SPARQLComplianceTest
SPARQLComplianceTest.DynamicSparqlComplianceTest
-
-
Constructor Summary
Constructors Constructor Description SPARQLQueryComplianceTest()
SPARQLQueryComplianceTest(List<String> excludedSubdirs)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Collection<org.junit.jupiter.api.DynamicTest>
getTestData(String manifestResource)
Collection<org.junit.jupiter.api.DynamicTest>
getTestData(String manifestResource, boolean approvedOnly)
protected abstract Repository
newRepository()
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.abstract Collection<org.junit.jupiter.api.DynamicTest>
tests()
-
Methods inherited from class org.eclipse.rdf4j.testsuite.query.parser.sparql.manifest.SPARQLComplianceTest
addIgnoredTest, getIgnoredTests, includeSubManifest, printBindingSet, setIgnoredTests, shouldIgnoredTest
-
-
-
-
Method Detail
-
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)
-
-