public class TestIndexSegmentCursors extends AbstractTupleCursorTestCase
IndexSegment.IndexSegmentTupleCursor
.TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestIndexSegmentCursors() |
TestIndexSegmentCursors(String arg0) |
Modifier and Type | Method and Description |
---|---|
protected IndexSegment |
buildIndexSegment(BTree btree)
Builds an
IndexSegment from a BTree . |
protected IndexSegment |
buildIndexSegment(BTree btree,
int m) |
protected ITupleCursor2<String> |
newCursor(AbstractBTree btree,
int flags,
byte[] fromKey,
byte[] toKey)
Create an appropriate cursor instance for the given B+Tree.
|
protected void |
setUp() |
protected void |
tearDown() |
void |
test_baseCase()
A test for first(), last(), next(), prior(), and seek() given a B+Tree
that has been pre-populated with a few tuples.
|
void |
test_oneTuple() |
assertEquals, doBaseCaseTest, doEmptyIndexTest, doOneTupleTest, doReverseTraversalTest, getBaseCaseBTree, getOneTupleBTree, getReverseTraversalBTree, newCursor
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, toString
public TestIndexSegmentCursors()
public TestIndexSegmentCursors(String arg0)
arg0
- 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 IndexSegment buildIndexSegment(BTree btree) throws Exception
IndexSegment
from a BTree
.btree
- Exception
protected IndexSegment buildIndexSegment(BTree btree, int m) throws Exception
Exception
protected ITupleCursor2<String> newCursor(AbstractBTree btree, int flags, byte[] fromKey, byte[] toKey)
AbstractTupleCursorTestCase
newCursor
in class AbstractTupleCursorTestCase
ITupleCursor
for that B+Tree.public void test_oneTuple() throws IOException, Exception
IOException
Exception
public void test_baseCase() throws Exception
Exception
IOException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.