Class AbstractSHACLTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.eclipse.rdf4j.testsuite.shacl.manifest.AbstractSHACLTest
-
- All Implemented Interfaces:
junit.framework.Test
@Deprecated public abstract class AbstractSHACLTest extends junit.framework.TestCase
Deprecated.This test suite is not maintained. Use {@see org.eclipse.rdf4j.sail.shacl.W3cComplianceTest} instead. We may un-deprecate this suite in the future.A SHACL constraint test suite, created by reading in a W3C working-group style manifest.- Author:
- James Leigh
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanconformsDeprecated.protected ModeldataGraphDeprecated.protected RepositorydataRepDeprecated.protected booleanfailureDeprecated.protected org.slf4j.LoggerloggerDeprecated.protected ModelshapesGraphDeprecated.protected StringtestURIDeprecated.
-
Constructor Summary
Constructors Constructor Description AbstractSHACLTest(String testURI, String label, Model shapesGraph, Model dataGraph, boolean failure, boolean conforms)Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected RepositorycreateRepository(Model shapesGraph)Deprecated.protected abstract SailnewSail()Deprecated.Creates a new un-initialized Sail stackvoidrunTest()Deprecated.voidsetUp()Deprecated.voidtearDown()Deprecated.protected voidupload(Repository rep, Model dataGraph)Deprecated.-
Methods inherited from class junit.framework.TestCase
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
-
-
-
-
Field Detail
-
logger
protected final org.slf4j.Logger logger
Deprecated.
-
testURI
protected final String testURI
Deprecated.
-
shapesGraph
protected final Model shapesGraph
Deprecated.
-
dataGraph
protected final Model dataGraph
Deprecated.
-
failure
protected final boolean failure
Deprecated.
-
conforms
protected final boolean conforms
Deprecated.
-
dataRep
protected Repository dataRep
Deprecated.
-
-
Method Detail
-
setUp
public void setUp() throws ExceptionDeprecated.- Overrides:
setUpin classjunit.framework.TestCase- Throws:
Exception
-
createRepository
protected Repository createRepository(Model shapesGraph) throws Exception
Deprecated.- Throws:
Exception
-
newSail
protected abstract Sail newSail()
Deprecated.Creates a new un-initialized Sail stack- Returns:
- a new un-initialized Sail stack
-
tearDown
public void tearDown() throws ExceptionDeprecated.- Overrides:
tearDownin classjunit.framework.TestCase- Throws:
Exception
-
runTest
public void runTest() throws ExceptionDeprecated.- Overrides:
runTestin classjunit.framework.TestCase- Throws:
Exception
-
upload
protected void upload(Repository rep, Model dataGraph)
Deprecated.
-
-