public abstract class AbstractSHACLTest
extends junit.framework.TestCase
Modifier and Type | Field and Description |
---|---|
protected boolean |
conforms |
protected Model |
dataGraph |
protected Repository |
dataRep |
protected boolean |
failure |
protected org.slf4j.Logger |
logger |
protected Model |
shapesGraph |
protected String |
testURI |
Constructor and Description |
---|
AbstractSHACLTest(String testURI,
String label,
Model shapesGraph,
Model dataGraph,
boolean failure,
boolean conforms) |
Modifier and Type | Method and Description |
---|---|
protected Repository |
createRepository(Model shapesGraph) |
protected abstract Sail |
newSail()
Creates a new un-initialized Sail stack
|
void |
runTest() |
void |
setUp() |
void |
tearDown() |
protected void |
upload(Repository rep,
Model dataGraph) |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toString
protected final org.slf4j.Logger logger
protected final String testURI
protected final Model shapesGraph
protected final Model dataGraph
protected final boolean failure
protected final boolean conforms
protected Repository dataRep
public void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected Repository createRepository(Model shapesGraph) throws Exception
Exception
protected abstract Sail newSail()
public void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
public void runTest() throws Exception
runTest
in class junit.framework.TestCase
Exception
protected void upload(Repository rep, Model dataGraph)
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.