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