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
FieldsModifier and TypeFieldDescriptionprotected RepositoryConnectionprotected final org.slf4j.Loggerprotected Repository -
Constructor Summary
Constructors -
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.
-