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 Repository |
dataRep |
protected Dataset |
dataset |
protected Repository |
expectedResultRepo |
protected String |
requestFileURL |
protected String |
testURI |
Constructor and Description |
---|
SPARQLUpdateConformanceTest(String testURI,
String name,
String requestFile,
IRI defaultGraphURI,
Map<String,IRI> inputNamedGraphs,
IRI resultDefaultGraphURI,
Map<String,IRI> resultNamedGraphs) |
Modifier and Type | Method and Description |
---|---|
protected Repository |
createRepository() |
protected static String |
getManifestName(Repository manifestRep,
RepositoryConnection con,
String manifestFileURL) |
protected abstract Repository |
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 Repository dataRep
protected Repository expectedResultRepo
protected final Dataset dataset
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected Repository createRepository() throws Exception
Exception
protected abstract Repository 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 © 2015-2020 Eclipse Foundation. All Rights Reserved.