public class TestMemorySortOp extends TestCase2
MemorySortOp
.
The test suite for the IVComparator
is responsible for testing the
ability to compare inline and non-inline IV
s, placing them into an
order which is not inconsistent with the SPARQL ORDER BY semantics.
TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestMemorySortOp() |
TestMemorySortOp(String name) |
Modifier and Type | Method and Description |
---|---|
void |
testComputedValueExpressions()
Test with computed value expressions.
|
void |
testInlineIVs()
Unit test with inline
IV . |
void |
testMaterializedIVs()
Test with materialized IVs.
|
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, getProperties, 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, setUp, tearDown, toString
public TestMemorySortOp()
public TestMemorySortOp(String name)
name
- public void testMaterializedIVs()
public void testInlineIVs()
IV
.public void testComputedValueExpressions()
Note: Since there are some unbound values for the base variables, solutions in which those variables are not bound will cause type errors. Unless the value expressions are evaluated before we sort the solutions those type errors will propagate out of the sort and fail the query. Correct treatment is to treat the type errors as unbound variables see trac-765
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.