public class TestReadOnlyBTreeCursors extends AbstractBTreeCursorTestCase
ITupleCursor
for a read-only BTree
.TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestReadOnlyBTreeCursors() |
TestReadOnlyBTreeCursors(String arg0) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isReadOnly()
Return
true if the B+Tree under test is read-only. |
protected ITupleCursor2<String> |
newCursor(AbstractBTree btree,
int flags,
byte[] fromKey,
byte[] toKey)
Create an appropriate cursor instance for the given B+Tree.
|
void |
test_remove_not_allowed()
Verify that
ITupleCursor.remove() will thrown an exception if
the source BTree does not allow writes. |
test_baseCase, test_emptyIndex, test_keyRange_correctRejection, test_oneTuple, test_reverseTraversal
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, setUp, tearDown, toString
public TestReadOnlyBTreeCursors()
public TestReadOnlyBTreeCursors(String arg0)
arg0
- protected boolean isReadOnly()
AbstractBTreeCursorTestCase
true
if the B+Tree under test is read-only.isReadOnly
in class AbstractBTreeCursorTestCase
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_remove_not_allowed()
ITupleCursor.remove()
will thrown an exception if
the source BTree
does not allow writes.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.