public class TestRegionSizeCalculator extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
| Constructor and Description |
|---|
TestRegionSizeCalculator() |
| Modifier and Type | Method and Description |
|---|---|
void |
testDisabled()
When calculator is disabled, it should return 0 for each request.
|
void |
testLargeRegion()
When size of region in megabytes is larger than largest possible integer there could be
error caused by lost of precision.
|
void |
testSimpleTestCase() |
public static final HBaseClassTestRule CLASS_RULE
public TestRegionSizeCalculator()
public void testSimpleTestCase() throws Exception
Exceptionpublic void testLargeRegion() throws Exception
Exceptionpublic void testDisabled() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.