Class AbstractComplianceTest
java.lang.Object
org.eclipse.rdf4j.testsuite.sparql.AbstractComplianceTest
- Direct Known Subclasses:
AggregateTest
,ArbitraryLengthPathTest
,BasicTest
,BindTest
,BuiltinFunctionTest
,ConstructTest
,DefaultGraphTest
,DescribeTest
,GroupByTest
,InTest
,OptionalTest
,PropertyPathTest
,SubselectTest
,UnionTest
,ValuesTest
Abstract base class for tests included in the
RepositorySPARQLComplianceTestSuite
.- Author:
- Jeen Broekstra
-
Field Summary
Modifier and TypeFieldDescriptionprotected RepositoryConnection
protected final org.slf4j.Logger
protected Repository
-
Constructor Summary
-
Method Summary
-
Field Details
-
logger
protected final org.slf4j.Logger logger -
repo
-
conn
-
-
Constructor Details
-
AbstractComplianceTest
public AbstractComplianceTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
loadTestData
protected void loadTestData(String dataFile, Resource... contexts) throws RDFParseException, RepositoryException, IOException -
getNamespaceDeclarations
Get a set of useful namespace prefix declarations.- Returns:
- namespace prefix declarations for dc, foaf and ex.
-