public class AbstractBigdataExprBuilderTestCase
extends junit.framework.TestCase
BigdataExprBuilder and friends.| Modifier and Type | Field and Description | 
|---|---|
| protected String | baseURI | 
| protected String | lex | 
| protected AbstractTripleStore | tripleStore | 
| protected BigdataValueFactory | valueFactory | 
| Constructor and Description | 
|---|
| AbstractBigdataExprBuilderTestCase() | 
| AbstractBigdataExprBuilderTestCase(String name) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected static void | assertSameAST(String queryStr,
             IQueryNode expected,
             IQueryNode actual) | 
| protected Properties | getProperties() | 
| protected AbstractTripleStore | getStore(Properties properties) | 
| protected VarNode | makeAnon(VarNode v)Marks the variable as anonymous. | 
| protected IV<BigdataValue,?> | makeIV(BigdataValue value)Note: makeIV() in the tests can leave the IV as a MockIV since we will
 never have anything in the database (unless there is a Vocabulary or it
 is otherwise inline, in which case this code is sufficient to resolve the
 inline IV). | 
| protected VarNode | mockAnonVar(String varname)Return an anonymous variable having exactly the given variable name. | 
| QueryRoot | parse(String queryStr,
     String baseURI)Applies the  Bigdata2ASTSPARQLParser. | 
| protected UpdateRoot | parseUpdate(String updateStr,
           String baseURI)Applies the  Bigdata2ASTSPARQLParser. | 
| protected void | setUp() | 
| 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, runTest, setName, toStringprotected String baseURI
protected AbstractTripleStore tripleStore
protected String lex
protected BigdataValueFactory valueFactory
public AbstractBigdataExprBuilderTestCase()
public AbstractBigdataExprBuilderTestCase(String name)
name - protected void setUp()
              throws Exception
setUp in class junit.framework.TestCaseExceptionprotected void tearDown()
                 throws Exception
tearDown in class junit.framework.TestCaseExceptionprotected VarNode mockAnonVar(String varname)
 Note: This avoids a side-effect on the counter, which is part of the
 BigdataASTContext against which the parse tree is being
 interpreted.
varname - The exact variable name (NOT a prefix).protected IV<BigdataValue,?> makeIV(BigdataValue value)
protected VarNode makeAnon(VarNode v)
v - The variable.protected Properties getProperties()
protected AbstractTripleStore getStore(Properties properties)
public QueryRoot parse(String queryStr, String baseURI) throws org.openrdf.query.MalformedQueryException
Bigdata2ASTSPARQLParser.org.openrdf.query.MalformedQueryExceptionprotected UpdateRoot parseUpdate(String updateStr, String baseURI) throws org.openrdf.query.MalformedQueryException
Bigdata2ASTSPARQLParser.org.openrdf.query.MalformedQueryExceptionprotected static void assertSameAST(String queryStr, IQueryNode expected, IQueryNode actual)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.