Class AbstractComplianceTest
java.lang.Object
org.eclipse.rdf4j.testsuite.sparql.AbstractComplianceTest
- Direct Known Subclasses:
AggregateTest
,ArbitraryLengthPathTest
,BasicTest
,BindTest
,BuiltinFunctionTest
,ConstructTest
,DefaultGraphTest
,DescribeTest
,ExistsTest
,FilterScopeTest
,GroupByTest
,InTest
,MinusTest
,OptionalTest
,OrderByTest
,PropertyPathTest
,SubselectTest
,UnionTest
,ValuesTest
Abstract base class for tests included in the
RepositorySPARQLComplianceTestSuite
.- Author:
- Jeen Broekstra
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.slf4j.Logger
protected final Supplier
<Repository> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected String
Get a set of useful namespace prefix declarations.protected void
loadTestData
(String dataFile, RepositoryConnection conn, Resource... contexts) protected org.junit.jupiter.api.DynamicTest
makeTest
(String name, org.junit.jupiter.api.function.ThrowingConsumer<RepositoryConnection> x) protected RepositoryConnection
protected Repository
-
Field Details
-
logger
protected final org.slf4j.Logger logger -
repo
-
-
Constructor Details
-
AbstractComplianceTest
-
-
Method Details
-
makeTest
protected org.junit.jupiter.api.DynamicTest makeTest(String name, org.junit.jupiter.api.function.ThrowingConsumer<RepositoryConnection> x) -
openRepository
-
openConnection
-
closeRepository
-
loadTestData
protected void loadTestData(String dataFile, RepositoryConnection conn, Resource... contexts) throws RDFParseException, RepositoryException, IOException -
getNamespaceDeclarations
Get a set of useful namespace prefix declarations.- Returns:
- namespace prefix declarations for dc, foaf and ex.
-