Class SPARQLComplianceTest
- java.lang.Object
-
- org.eclipse.rdf4j.testsuite.query.parser.sparql.manifest.SPARQLComplianceTest
-
- Direct Known Subclasses:
SPARQL11UpdateComplianceTest,SPARQLQueryComplianceTest,SPARQLSyntaxComplianceTest
public abstract class SPARQLComplianceTest extends Object
Base functionality for SPARQL compliance test suites using a W3C-style Manifest.- Author:
- Jeen Broekstra
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classSPARQLComplianceTest.DynamicSparqlComplianceTest
-
Constructor Summary
Constructors Constructor Description SPARQLComplianceTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddIgnoredTest(String ignoredTest)protected List<String>getIgnoredTests()protected static booleanincludeSubManifest(String subManifestFile, List<String> excludedSubdirs)Verifies if the selected subManifest occurs in the supplied list of excluded subdirs.protected static voidprintBindingSet(BindingSet bs, StringBuilder appendable)protected voidsetIgnoredTests(List<String> ignoredTests)protected booleanshouldIgnoredTest(String ignoredTest)
-
-
-
Method Detail
-
printBindingSet
protected static final void printBindingSet(BindingSet bs, StringBuilder appendable)
-
includeSubManifest
protected static boolean includeSubManifest(String subManifestFile, List<String> excludedSubdirs)
Verifies if the selected subManifest occurs in the supplied list of excluded subdirs.- Parameters:
subManifestFile- the url of a sub-manifestexcludedSubdirs- an array of directory names. May be null.- Returns:
falseif the supplied list of excluded subdirs is not empty and contains a match for the supplied sub-manifest,trueotherwise.
-
addIgnoredTest
protected void addIgnoredTest(String ignoredTest)
-
shouldIgnoredTest
protected boolean shouldIgnoredTest(String ignoredTest)
-
-