public class TestKeyBufferSearch extends TestCase2
IKeyBuffer#search(byte[] searchKey)
.TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestKeyBufferSearch() |
TestKeyBufferSearch(String name) |
Modifier and Type | Method and Description |
---|---|
int |
search(AbstractKeyBuffer kbuf,
byte[] key) |
void |
test_prefixMatchLength() |
void |
test_search01()
Test search for keys using both a mutable and an immutable key buffer and
a known set of keys.
|
void |
test_search02()
Tests with non-zero offset into a key buffer with a shared prefix
of 3 bytes.
|
void |
test_search03()
Test with prefixLength of zero and various search keys.
|
void |
test_search04()
Test search on empty key buffer.
|
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 TestKeyBufferSearch()
public TestKeyBufferSearch(String name)
public int search(AbstractKeyBuffer kbuf, byte[] key)
public void test_search01()
public void test_search02()
public void test_search03()
public void test_search04()
public void test_prefixMatchLength()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.