public class AbstractHTreeTestCase extends TestCase2
TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
AbstractHTreeTestCase() |
AbstractHTreeTestCase(String name) |
Modifier and Type | Method and Description |
---|---|
protected static void |
assertSameHTree(AbstractHTree expected,
AbstractHTree actual)
FIXME Write test helper assertSameHTree().
|
protected static void |
assertSameIterator(ITupleIterator<?> expected,
ITupleIterator<?> actual) |
static void |
assertSameIteratorAnyOrder(byte[][] expected,
Iterator<byte[]> actual)
Verifies that the iterator visits the specified objects in some arbitrary
ordering and that the iterator is exhausted once all expected objects
have been visited.
|
static void |
assertSameIteratorAnyOrder(String msg,
byte[][] expected,
Iterator<byte[]> actual)
Verifies that the iterator visits the specified objects in some arbitrary
ordering and that the iterator is exhausted once all expected objects
have been visited.
|
static void |
assertSameOrderIterator(byte[][] keys,
Iterator<byte[]> values) |
HTree |
getHTree(IRawStore store,
int addressBits)
Return a new
HTree backed by a simple transient store that will
NOT evict leaves or nodes onto the store. |
HTree |
getHTree(IRawStore store,
int addressBits,
boolean rawRecords,
boolean persistent) |
HTree |
getHTree(IRawStore store,
int addressBits,
boolean rawRecords,
boolean persistent,
ITupleSerializer tupleSer) |
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 AbstractHTreeTestCase()
public AbstractHTreeTestCase(String name)
public static void assertSameIteratorAnyOrder(byte[][] expected, Iterator<byte[]> actual)
public static void assertSameIteratorAnyOrder(String msg, byte[][] expected, Iterator<byte[]> actual)
public HTree getHTree(IRawStore store, int addressBits)
HTree
backed by a simple transient store that will
NOT evict leaves or nodes onto the store. The leaf cache will be large
and cache evictions will cause exceptions if they occur. This provides an
indication if cache evictions are occurring so that the tests of basic
tree operations in this test suite are known to be conducted in an
environment without incremental writes of leaves onto the store. This
avoids copy-on-write scenarios and let's us test with the knowledge that
there should always be a hard reference to a child or parent.addressBits
- The addressBts.public HTree getHTree(IRawStore store, int addressBits, boolean rawRecords, boolean persistent)
public HTree getHTree(IRawStore store, int addressBits, boolean rawRecords, boolean persistent, ITupleSerializer tupleSer)
protected static void assertSameHTree(AbstractHTree expected, AbstractHTree actual)
expected
- actual
- protected static void assertSameIterator(ITupleIterator<?> expected, ITupleIterator<?> actual)
public static void assertSameOrderIterator(byte[][] keys, Iterator<byte[]> values)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.