public class TestRegionSplitRestriction extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
(package private) org.apache.hadoop.conf.Configuration |
conf |
(package private) org.apache.hadoop.hbase.client.TableDescriptor |
tableDescriptor |
| Constructor and Description |
|---|
TestRegionSplitRestriction() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
void |
testDelimitedKeyPrefixRegionSplitRestriction() |
void |
testKeyPrefixRegionSplitRestriction() |
void |
testNoneRegionSplitRestriction() |
void |
testWhenConfigurationReturnsDelimitedKeyPrefixType() |
void |
testWhenConfigurationReturnsKeyPrefixType() |
void |
testWhenConfigurationReturnsNoneType() |
void |
testWhenTableDescriptorAndConfigurationReturnNull() |
void |
testWhenTableDescriptorReturnsDelimitedKeyPrefixType() |
void |
testWhenTableDescriptorReturnsInvalidType() |
void |
testWhenTableDescriptorReturnsKeyPrefixType() |
void |
testWhenTableDescriptorReturnsNoneType() |
public static final HBaseClassTestRule CLASS_RULE
org.apache.hadoop.conf.Configuration conf
@Mock org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor
public TestRegionSplitRestriction()
public void setup()
public void testWhenTableDescriptorReturnsNoneType() throws IOException
IOExceptionpublic void testWhenTableDescriptorReturnsKeyPrefixType() throws IOException
IOExceptionpublic void testWhenTableDescriptorReturnsDelimitedKeyPrefixType() throws IOException
IOExceptionpublic void testWhenConfigurationReturnsNoneType() throws IOException
IOExceptionpublic void testWhenConfigurationReturnsKeyPrefixType() throws IOException
IOExceptionpublic void testWhenConfigurationReturnsDelimitedKeyPrefixType() throws IOException
IOExceptionpublic void testWhenTableDescriptorAndConfigurationReturnNull() throws IOException
IOExceptionpublic void testWhenTableDescriptorReturnsInvalidType() throws IOException
IOExceptionpublic void testNoneRegionSplitRestriction() throws IOException
IOExceptionpublic void testKeyPrefixRegionSplitRestriction() throws IOException
IOExceptionpublic void testDelimitedKeyPrefixRegionSplitRestriction() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.