public class TestRemoteSparql11QueryBuilder extends AbstractBigdataExprBuilderTestCase
RemoteSparql11QueryBuilder
, including some correct
rejection tests when the solutions to be vectored to the remote end point can
not be represented using the BINDINGS
clause.baseURI, lex, tripleStore, valueFactory
Constructor and Description |
---|
TestRemoteSparql11QueryBuilder() |
TestRemoteSparql11QueryBuilder(String name) |
Modifier and Type | Method and Description |
---|---|
protected IRemoteSparqlQueryBuilder |
newFixture(ServiceNode serviceNode,
org.openrdf.query.BindingSet[] a)
Return the
IRemoteSparqlQueryBuilder under test. |
void |
test_service_001()
A simple test with nothing bound and NO source solution.
|
void |
test_service_001b()
A simple test with nothing bound and a single empty source
solution.
|
void |
test_service_002()
A test where a single fully bound triple pattern is presented.
|
void |
test_service_003()
A variant test in which there are some BINDINGS to be passed through.
|
void |
test_service_004()
A variant test in there is a blank node in the BINDINGS to be flowed
through to the remote SERVICE.
|
void |
test_service_005()
A variant test in there is a blank node in the BINDINGS to be flowed
through to the remote SERVICE.
|
void |
test_service_006()
A variant test in there is a blank node in the BINDINGS to be flowed
through to the remote SERVICE.
|
void |
test_service_007()
A variant test in there is a blank node in the BINDINGS to be flowed
through to the remote SERVICE.
|
void |
test_service_008()
A variant test in there is a blank node in the BINDINGS to be flowed
through to the remote SERVICE.
|
assertSameAST, getProperties, getStore, makeAnon, makeIV, mockAnonVar, parse, parseUpdate, setUp, 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, runTest, setName, toString
public TestRemoteSparql11QueryBuilder()
public TestRemoteSparql11QueryBuilder(String name)
name
- protected IRemoteSparqlQueryBuilder newFixture(ServiceNode serviceNode, org.openrdf.query.BindingSet[] a)
IRemoteSparqlQueryBuilder
under test.serviceNode
- a
- public void test_service_001() throws Exception
Exception
public void test_service_001b() throws Exception
Exception
public void test_service_002() throws Exception
Note: It is possible to optimize this as an ASK query, but only when there is a single solution flowing into the service end point.
Exception
public void test_service_003() throws Exception
Value
and also
exercises the prefix declarations. This test does NOT use blank nodes in
the BINDINGS.Exception
public void test_service_004() throws Exception
Exception
public void test_service_005() throws Exception
Exception
public void test_service_006() throws Exception
Exception
public void test_service_007() throws Exception
Note: This case can not be handled with the
RemoteSparql11QueryBuilder
.
Exception
public void test_service_008() throws Exception
Note: This case can not be handled with the
RemoteSparql11QueryBuilder
.
Exception
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.