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
IOException
public void testWhenTableDescriptorReturnsKeyPrefixType() throws IOException
IOException
public void testWhenTableDescriptorReturnsDelimitedKeyPrefixType() throws IOException
IOException
public void testWhenConfigurationReturnsNoneType() throws IOException
IOException
public void testWhenConfigurationReturnsKeyPrefixType() throws IOException
IOException
public void testWhenConfigurationReturnsDelimitedKeyPrefixType() throws IOException
IOException
public void testWhenTableDescriptorAndConfigurationReturnNull() throws IOException
IOException
public void testWhenTableDescriptorReturnsInvalidType() throws IOException
IOException
public void testNoneRegionSplitRestriction() throws IOException
IOException
public void testKeyPrefixRegionSplitRestriction() throws IOException
IOException
public void testDelimitedKeyPrefixRegionSplitRestriction() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.