public abstract class SPARQLComplianceTest extends Object
Constructor and Description |
---|
SPARQLComplianceTest(String displayName,
String testURI,
String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
addIgnoredTest(String ignoredTest) |
protected void |
compareGraphs(Iterable<Statement> queryResult,
Iterable<Statement> expectedResult) |
protected abstract Repository |
getDataRepository() |
String |
getDisplayName() |
protected List<String> |
getIgnoredTests() |
String |
getName() |
String |
getTestURI() |
protected static boolean |
includeSubManifest(String subManifestFile,
List<String> excludedSubdirs)
Verifies if the selected subManifest occurs in the supplied list of excluded subdirs.
|
protected static void |
printBindingSet(BindingSet bs,
StringBuilder appendable) |
protected abstract void |
runTest() |
protected void |
setIgnoredTests(List<String> ignoredTests) |
void |
test() |
protected void |
upload(IRI graphURI,
Resource context) |
protected void |
uploadDataset(Dataset dataset) |
public String getDisplayName()
public String getTestURI()
public String getName()
protected abstract Repository getDataRepository()
protected static boolean includeSubManifest(String subManifestFile, List<String> excludedSubdirs)
subManifestFile
- the url of a sub-manifestexcludedSubdirs
- an array of directory names. May be null.false
if the supplied list of excluded subdirs is not empty and contains a match for the
supplied sub-manifest, true
otherwise.protected static final void printBindingSet(BindingSet bs, StringBuilder appendable)
protected void addIgnoredTest(String ignoredTest)
protected void setIgnoredTests(List<String> ignoredTests)
ignoredTests
- the ignoredTests to setCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.