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, toString
protected 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.TestCase
Exception
protected ContextAwareRepository createRepository() throws Exception
Exception
protected abstract ContextAwareRepository newRepository() throws Exception
Exception
protected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
protected void runTest() throws Exception
runTest
in class junit.framework.TestCase
Exception
public static junit.framework.TestSuite suite(String manifestFileURL, SPARQLUpdateConformanceTest.Factory factory) throws Exception
Exception
public static junit.framework.TestSuite suite(String manifestFileURL, SPARQLUpdateConformanceTest.Factory factory, boolean approvedOnly) throws Exception
Exception
protected static String getManifestName(Repository manifestRep, RepositoryConnection con, String manifestFileURL) throws QueryEvaluationException, RepositoryException, MalformedQueryException
Copyright © 2001-2016 Aduna. All Rights Reserved.