SPARQL11QueryComplianceTest instead.@Deprecated public abstract class SPARQLQueryTest extends junit.framework.TestCase
| Modifier and Type | Class and Description |
|---|---|
static interface |
SPARQLQueryTest.Factory
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
checkOrder
Deprecated.
|
protected Repository |
dataRep
Deprecated.
|
protected Dataset |
dataset
Deprecated.
|
protected String[] |
ignoredTests
Deprecated.
|
protected boolean |
laxCardinality
Deprecated.
|
protected org.slf4j.Logger |
logger
Deprecated.
|
protected String |
queryFileURL
Deprecated.
|
protected String |
resultFileURL
Deprecated.
|
protected String |
testURI
Deprecated.
|
| Constructor and Description |
|---|
SPARQLQueryTest(String testURI,
String name,
String queryFileURL,
String resultFileURL,
Dataset dataSet,
boolean laxCardinality,
boolean checkOrder,
String... ignoredTests)
Deprecated.
|
SPARQLQueryTest(String testURI,
String name,
String queryFileURL,
String resultFileURL,
Dataset dataSet,
boolean laxCardinality,
String... ignoredTests)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
compareGraphs(Set<Statement> queryResult,
Set<Statement> expectedResult)
Deprecated.
|
protected void |
compareTupleQueryResults(TupleQueryResult queryResult,
TupleQueryResult expectedResult)
Deprecated.
|
protected Repository |
createRepository()
Deprecated.
|
protected static String |
getManifestName(Repository manifestRep,
RepositoryConnection con,
String manifestFileURL)
Deprecated.
|
protected abstract Repository |
newRepository()
Deprecated.
|
protected void |
printBindingSet(BindingSet bs,
StringBuilder appendable)
Deprecated.
|
protected boolean |
readExpectedBooleanQueryResult()
Deprecated.
|
protected Set<Statement> |
readExpectedGraphQueryResult()
Deprecated.
|
protected TupleQueryResult |
readExpectedTupleQueryResult()
Deprecated.
|
protected String |
readQueryString()
Deprecated.
|
protected void |
runTest()
Deprecated.
|
protected void |
setUp()
Deprecated.
|
static junit.framework.TestSuite |
suite(String manifestFileURL,
SPARQLQueryTest.Factory factory)
Deprecated.
|
static junit.framework.TestSuite |
suite(String manifestFileURL,
SPARQLQueryTest.Factory factory,
boolean approvedOnly)
Deprecated.
|
protected void |
tearDown()
Deprecated.
|
protected void |
uploadDataset(Dataset dataset)
Deprecated.
|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toStringprotected final org.slf4j.Logger logger
protected final String testURI
protected final String queryFileURL
protected final String resultFileURL
protected final Dataset dataset
protected final boolean laxCardinality
protected final boolean checkOrder
protected final String[] ignoredTests
protected Repository dataRep
public SPARQLQueryTest(String testURI, String name, String queryFileURL, String resultFileURL, Dataset dataSet, boolean laxCardinality, String... ignoredTests)
protected void setUp()
throws Exception
setUp in class junit.framework.TestCaseExceptionprotected final Repository createRepository() throws Exception
Exceptionprotected abstract Repository newRepository() throws Exception
Exceptionprotected void tearDown()
throws Exception
tearDown in class junit.framework.TestCaseExceptionprotected void runTest()
throws Exception
runTest in class junit.framework.TestCaseExceptionprotected final void compareTupleQueryResults(TupleQueryResult queryResult, TupleQueryResult expectedResult) throws Exception
Exceptionprotected final void printBindingSet(BindingSet bs, StringBuilder appendable)
protected final void compareGraphs(Set<Statement> queryResult, Set<Statement> expectedResult) throws Exception
Exceptionprotected final void uploadDataset(Dataset dataset) throws Exception
Exceptionprotected final String readQueryString() throws IOException
IOExceptionprotected final TupleQueryResult readExpectedTupleQueryResult() throws Exception
Exceptionprotected final boolean readExpectedBooleanQueryResult()
throws Exception
Exceptionprotected final Set<Statement> readExpectedGraphQueryResult() throws Exception
Exceptionpublic static junit.framework.TestSuite suite(String manifestFileURL, SPARQLQueryTest.Factory factory) throws Exception
Exceptionpublic static junit.framework.TestSuite suite(String manifestFileURL, SPARQLQueryTest.Factory factory, boolean approvedOnly) throws Exception
Exceptionprotected static String getManifestName(Repository manifestRep, RepositoryConnection con, String manifestFileURL) throws QueryEvaluationException, RepositoryException, MalformedQueryException
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.