public class TestResult
extends TestCase
| Constructor and Description |
|---|
TestResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
doReadBenchmark()
Microbenchmark that compares
Result.getValue(byte[], byte[]) and Result.loadValue(byte[], byte[], java.nio.ByteBuffer) performance. |
static void |
main(String[] args)
Calls non-functional test methods.
|
void |
testBasicGetColumn() |
void |
testBasicGetValue() |
void |
testBasicLoadValue() |
void |
testCompareResults()
Verify that Result.compareResults(...) behaves correctly.
|
void |
testEmptyResultIsReadonly()
Verifies that one can't modify instance of EMPTY_RESULT.
|
void |
testMultiVersionGetColumn() |
void |
testMultiVersionGetValue() |
void |
testMultiVersionLoadValue() |
void |
testResultAsCellScanner()
Run some tests to ensure Result acts like a proper CellScanner.
|
public void testResultAsCellScanner()
throws IOException
IOExceptionpublic void testMultiVersionGetColumn()
throws Exception
Exceptionpublic void testMultiVersionLoadValue()
throws Exception
Exceptionpublic void testCompareResults()
throws Exception
Exceptionpublic void testEmptyResultIsReadonly()
public void doReadBenchmark()
throws Exception
Result.getValue(byte[], byte[]) and Result.loadValue(byte[], byte[], java.nio.ByteBuffer) performance.Exceptionpublic static void main(String[] args)
args -