Class SHACLManifestTestSuiteFactory
java.lang.Object
org.eclipse.rdf4j.testsuite.shacl.manifest.SHACLManifestTestSuiteFactory
Functionality for creating a JUnit test suite out of a W3C Working Group-style manifest for SHACL shape constraints
testsuite
- Author:
- James Leigh
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjunit.framework.TestSuitecreateTestSuite(SHACLManifestTestSuiteFactory.TestFactory factory, boolean officialWorkingGroupTests, boolean approvedTestsOnly, boolean useRemoteTests, String... excludedSubdirs) Creates a newTestSuitefor executiong ofAbstractSHACLTests.
-
Constructor Details
-
SHACLManifestTestSuiteFactory
public SHACLManifestTestSuiteFactory()
-
-
Method Details
-
createTestSuite
public junit.framework.TestSuite createTestSuite(SHACLManifestTestSuiteFactory.TestFactory factory, boolean officialWorkingGroupTests, boolean approvedTestsOnly, boolean useRemoteTests, String... excludedSubdirs) throws Exception Creates a newTestSuitefor executiong ofAbstractSHACLTests.- Parameters:
factory- a factory class that creates each individual test case.officialWorkingGroupTests- indicates whether to use the official W3C working group tests, or RDF4J's own set of tests.approvedTestsOnly- iftrue, use working group-approved tests only. Has no influence when officialWorkingGroup tests is set tofalse.useRemoteTests- if set totrue, use manifests and tests located athttp://www.w3.org/2009/sparql/docs/tests/data-sparql11/, instead of local copies.excludedSubdirs- an (optionally empty) list of subdirectories to exclude from testing. If specified, test cases in one of the supplied subdirs will not be executed. If left empty, all tests will be executed.- Returns:
- a TestSuite.
- Throws:
Exception
-