public abstract class SPARQLUpdateConformanceTest
extends junit.framework.TestCase
| Modifier and Type | Class and Description |
|---|---|
static interface |
SPARQLUpdateConformanceTest.Factory |
| Modifier and Type | Field and Description |
|---|---|
protected ContextAwareRepository |
dataRep |
protected Dataset |
dataset |
protected Repository |
expectedResultRepo |
protected String |
requestFileURL |
protected String |
testURI |
| Constructor and Description |
|---|
SPARQLUpdateConformanceTest(String testURI,
String name,
String requestFile,
URI defaultGraphURI,
Map<String,URI> inputNamedGraphs,
URI resultDefaultGraphURI,
Map<String,URI> resultNamedGraphs) |
| Modifier and Type | Method and Description |
|---|---|
protected ContextAwareRepository |
createRepository() |
protected static String |
getManifestName(Repository manifestRep,
RepositoryConnection con,
String manifestFileURL) |
protected abstract ContextAwareRepository |
newRepository() |
protected void |
runTest() |
protected void |
setUp() |
static junit.framework.TestSuite |
suite(String manifestFileURL,
SPARQLUpdateConformanceTest.Factory factory) |
static junit.framework.TestSuite |
suite(String manifestFileURL,
SPARQLUpdateConformanceTest.Factory factory,
boolean approvedOnly) |
protected void |
tearDown() |
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 String testURI
protected final String requestFileURL
protected ContextAwareRepository dataRep
protected Repository expectedResultRepo
protected final Dataset dataset
protected void setUp()
throws Exception
setUp in class junit.framework.TestCaseExceptionprotected ContextAwareRepository createRepository() throws Exception
Exceptionprotected abstract ContextAwareRepository newRepository() throws Exception
Exceptionprotected void tearDown()
throws Exception
tearDown in class junit.framework.TestCaseExceptionprotected void runTest()
throws Exception
runTest in class junit.framework.TestCaseExceptionpublic static junit.framework.TestSuite suite(String manifestFileURL, SPARQLUpdateConformanceTest.Factory factory) throws Exception
Exceptionpublic static junit.framework.TestSuite suite(String manifestFileURL, SPARQLUpdateConformanceTest.Factory factory, boolean approvedOnly) throws Exception
Exceptionprotected static String getManifestName(Repository manifestRep, RepositoryConnection con, String manifestFileURL) throws QueryEvaluationException, RepositoryException, MalformedQueryException
Copyright © 2001–2015 Aduna. All rights reserved.