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(java.lang.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 java.io.IOException
java.io.IOExceptionpublic void testBasicGetColumn()
throws java.lang.Exception
java.lang.Exceptionpublic void testMultiVersionGetColumn()
throws java.lang.Exception
java.lang.Exceptionpublic void testBasicGetValue()
throws java.lang.Exception
java.lang.Exceptionpublic void testMultiVersionGetValue()
throws java.lang.Exception
java.lang.Exceptionpublic void testBasicLoadValue()
throws java.lang.Exception
java.lang.Exceptionpublic void testMultiVersionLoadValue()
throws java.lang.Exception
java.lang.Exceptionpublic void testCompareResults()
throws java.lang.Exception
java.lang.Exceptionpublic void testEmptyResultIsReadonly()
public void doReadBenchmark()
throws java.lang.Exception
Result.getValue(byte[], byte[]) and Result.loadValue(byte[], byte[], java.nio.ByteBuffer) performance.java.lang.Exceptionpublic static void main(java.lang.String[] args)
args -