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 org.openrdf.repository.Repository |
dataRep |
protected org.openrdf.query.Dataset |
dataset |
protected org.openrdf.repository.Repository |
expectedResultRepo |
protected org.openrdf.model.URI |
inputDefaultGraph |
protected Map<String,org.openrdf.model.URI> |
inputNamedGraphs |
protected static org.slf4j.Logger |
logger |
protected String |
requestFileURL |
protected org.openrdf.model.URI |
resultDefaultGraph |
protected Map<String,org.openrdf.model.URI> |
resultNamedGraphs |
protected String |
testURI |
Constructor and Description |
---|
SPARQLUpdateConformanceTest(String testURI,
String name,
String requestFile,
org.openrdf.model.URI defaultGraphURI,
Map<String,org.openrdf.model.URI> inputNamedGraphs,
org.openrdf.model.URI resultDefaultGraphURI,
Map<String,org.openrdf.model.URI> resultNamedGraphs) |
Modifier and Type | Method and Description |
---|---|
protected void |
compareGraphs(Iterable<? extends org.openrdf.model.Statement> actual,
Iterable<? extends org.openrdf.model.Statement> expected) |
protected org.openrdf.repository.Repository |
createRepository() |
protected static String |
getManifestName(org.openrdf.repository.Repository manifestRep,
org.openrdf.repository.RepositoryConnection con,
String manifestFileURL) |
protected abstract org.openrdf.repository.Repository |
newRepository() |
protected String |
readUpdateString() |
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 static final org.slf4j.Logger logger
protected final String testURI
protected final String requestFileURL
protected org.openrdf.repository.Repository dataRep
protected org.openrdf.repository.Repository expectedResultRepo
protected org.openrdf.model.URI inputDefaultGraph
protected org.openrdf.model.URI resultDefaultGraph
protected final org.openrdf.query.Dataset dataset
public SPARQLUpdateConformanceTest(String testURI, String name, String requestFile, org.openrdf.model.URI defaultGraphURI, Map<String,org.openrdf.model.URI> inputNamedGraphs, org.openrdf.model.URI resultDefaultGraphURI, Map<String,org.openrdf.model.URI> resultNamedGraphs)
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected org.openrdf.repository.Repository createRepository() throws Exception
Exception
protected abstract org.openrdf.repository.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
protected void compareGraphs(Iterable<? extends org.openrdf.model.Statement> actual, Iterable<? extends org.openrdf.model.Statement> expected) throws Exception
Exception
protected String readUpdateString() throws IOException
IOException
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(org.openrdf.repository.Repository manifestRep, org.openrdf.repository.RepositoryConnection con, String manifestFileURL) throws org.openrdf.query.QueryEvaluationException, org.openrdf.repository.RepositoryException, org.openrdf.query.MalformedQueryException
org.openrdf.query.QueryEvaluationException
org.openrdf.repository.RepositoryException
org.openrdf.query.MalformedQueryException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.