public class AbstractASTEvaluationTestCase extends AbstractQueryEngineTestCase
TestCase2.MyProperties, TestCase2.RandomType
Modifier and Type | Field and Description |
---|---|
protected String |
baseURI |
protected AbstractTripleStore |
store |
protected BigdataValueFactory |
valueFactory |
_randomType
Constructor and Description |
---|
AbstractASTEvaluationTestCase() |
AbstractASTEvaluationTestCase(String name) |
Modifier and Type | Method and Description |
---|---|
protected static void |
assertSameAST(IQueryNode expected,
IQueryNode actual) |
protected static Set<FilterNode> |
asSet(FilterNode[] a) |
protected static Set<Integer> |
asSet(Integer[] a) |
protected static Set<IVariable<?>> |
asSet(IVariable<?>[] vars) |
protected static Set<IVariable<?>> |
asSet(String[] vars) |
protected static Set<VarNode> |
asSet(VarNode[] a) |
protected void |
enableDeleteMarkersInIndes() |
BOpContextBase |
getBOpContext()
Return the context for evaluation of
IValueExpression s during
query optimization. |
Properties |
getProperties()
Reads in the configuration properties for the test from a
variety of resources and returns a properties hierarchy.
|
protected AbstractTripleStore |
getStore(Properties properties) |
protected IV |
makeIV(org.openrdf.model.Value v)
Return a (Mock) IV for a Value.
|
protected void |
setUp() |
protected void |
tearDown() |
assertSameSolutions, assertSameSolutions, assertSameSolutions, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, compareGraphs, compareTupleQueryResults, diff
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsWithinUlps, assertSameArray, assertSameArray, assertSameBigDecimal, assertSameBigDecimal, assertSameBigInteger, assertSameBigInteger, assertSameIterator, assertSameIterator, assertSameIteratorAnyOrder, assertSameIteratorAnyOrder, assertSameValue, assertSameValue, assertZeroUlps, assertZeroUlps, fail, getInnerCause, getNormalInt, getProjectBuildPath, getRandomObject, getRandomObject, getRandomOrder, getRandomString, getTestInputStream, getTestResource, getTestResource, getUlps, getUlps, isDEBUG, isDEBUG, isINFO, isINFO, isInnerCause, logProperties
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 AbstractTripleStore store
protected BigdataValueFactory valueFactory
protected String baseURI
public AbstractASTEvaluationTestCase()
public AbstractASTEvaluationTestCase(String name)
public BOpContextBase getBOpContext()
IValueExpression
s during
query optimization.ILexiconConfiguration
and LexiconRelation
for
evaluation if IValueExpression
s during query
optimization. (During query evaluation this information is passed
into the pipeline operators by the ContextBindingSet
.)BLZG-1372
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
protected void enableDeleteMarkersInIndes()
public Properties getProperties()
TestCase2
Properties
object, then the lower levels of the
hierarchy are recursively searched.The hierarchy is constructed from the following properties files in the following order. The first property file in this list corresponds to the top of the property hierarchy. The last property file in this list corresponds to the bottom of the property hierarchy. The property resources are:
getProperties
in class TestCase2
Properties
object that supplies bindings for
property names according to the described hierarchy among
property resources. The returned Properties
is NOT
cached.
TODO This does not handle the recursive truncation of the
class name to search for "test.properties" yet.protected AbstractTripleStore getStore(Properties properties)
protected static void assertSameAST(IQueryNode expected, IQueryNode actual)
protected static final Set<FilterNode> asSet(FilterNode[] a)
protected IV makeIV(org.openrdf.model.Value v)
v
- The value.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.