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