public class SPARQLUpdateTestv2
extends junit.framework.TestCase
Modifier and Type | Field and Description |
---|---|
protected org.openrdf.model.URI |
alice |
protected org.openrdf.model.URI |
bob |
protected org.openrdf.repository.RepositoryConnection |
con |
protected static String |
EX_NS |
protected org.openrdf.model.ValueFactory |
f |
protected org.openrdf.model.URI |
graph1 |
protected org.openrdf.model.URI |
graph2 |
protected static org.slf4j.Logger |
logger |
Constructor and Description |
---|
SPARQLUpdateTestv2() |
Modifier and Type | Method and Description |
---|---|
protected long |
countSolutions(String query) |
protected org.openrdf.repository.Repository |
createRepository() |
protected long |
debugPrintSolutions(String query) |
protected String |
getNamespaceDeclarations()
Get a set of useful namespace prefix declarations.
|
protected Properties |
getProperties()
Note: This method may be overridden in order to run the test suite
against other variations of the bigdata backend.
|
protected void |
loadDataset(String datasetFile)
Note: Overridden to turn off autocommit and commit after the data are
loaded.
|
protected org.openrdf.repository.Repository |
newRepository() |
void |
setUp() |
void |
tearDown() |
protected void |
tearDownBackend(IIndexManager backend) |
void |
testTicket571Standalone() |
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, runTest, setName, toString
protected static final org.slf4j.Logger logger
protected org.openrdf.repository.RepositoryConnection con
protected org.openrdf.model.ValueFactory f
protected org.openrdf.model.URI bob
protected org.openrdf.model.URI alice
protected org.openrdf.model.URI graph1
protected org.openrdf.model.URI graph2
protected static final String EX_NS
public void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
protected void tearDownBackend(IIndexManager backend)
protected org.openrdf.repository.Repository createRepository() throws Exception
Exception
protected org.openrdf.repository.Repository newRepository() throws org.openrdf.repository.RepositoryException
org.openrdf.repository.RepositoryException
protected void loadDataset(String datasetFile) throws org.openrdf.rio.RDFParseException, org.openrdf.repository.RepositoryException, IOException
org.openrdf.rio.RDFParseException
org.openrdf.repository.RepositoryException
IOException
protected String getNamespaceDeclarations()
protected Properties getProperties()
public void testTicket571Standalone() throws org.openrdf.repository.RepositoryException, org.openrdf.query.MalformedQueryException, org.openrdf.query.UpdateExecutionException, org.openrdf.query.QueryEvaluationException
org.openrdf.repository.RepositoryException
org.openrdf.query.MalformedQueryException
org.openrdf.query.UpdateExecutionException
org.openrdf.query.QueryEvaluationException
protected long countSolutions(String query) 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
protected long debugPrintSolutions(String query) 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.