public class TestTableDescriptorBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
(package private) String[] |
illegalTableNames |
(package private) String[] |
legalTableNames |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
| Constructor and Description |
|---|
TestTableDescriptorBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
testAddCoprocessorTwice() |
void |
testAddDuplicateFamilies() |
void |
testClassMethodsAreBuilderStyle() |
void |
testGetMaxFileSize()
Test default value handling for maxFileSize
|
void |
testGetMemStoreFlushSize()
Test default value handling for memStoreFlushSize
|
void |
testGetSetRemoveCP()
Test cps in the table description.
|
void |
testIllegalTableNames() |
void |
testIllegalTableNamesRegex() |
void |
testLegalTableNames() |
void |
testLegalTableNamesRegex() |
void |
testModifyFamily() |
void |
testModifyInexistentFamily() |
void |
testPb() |
void |
testPriority() |
void |
testRemoveNonExistingCoprocessor()
Test removing cps in the table description that does not exist
|
void |
testRemoveString()
Test that we add and remove strings from settings properly.
|
void |
testSetEmptyValue() |
void |
testSetListRemoveCP()
Test cps in the table description.
|
void |
testSetMaxFileSize() |
void |
testSetMemStoreFlushSize() |
void |
testStringCustomizedValues() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public org.junit.rules.TestName name
String[] legalTableNames
String[] illegalTableNames
public TestTableDescriptorBuilder()
public void testAddCoprocessorTwice() throws IOException
IOExceptionpublic void testPb() throws org.apache.hadoop.hbase.exceptions.DeserializationException, IOException
org.apache.hadoop.hbase.exceptions.DeserializationExceptionIOExceptionpublic void testGetSetRemoveCP() throws Exception
Exception - if setting a coprocessor failspublic void testSetListRemoveCP() throws Exception
Exception - if setting a coprocessor failspublic void testRemoveNonExistingCoprocessor() throws Exception
Exceptionpublic void testRemoveString()
public void testLegalTableNames()
public void testIllegalTableNames()
public void testLegalTableNamesRegex()
public void testIllegalTableNamesRegex()
public void testGetMaxFileSize()
public void testSetMaxFileSize() throws org.apache.hadoop.hbase.exceptions.HBaseException
org.apache.hadoop.hbase.exceptions.HBaseExceptionpublic void testGetMemStoreFlushSize()
public void testSetMemStoreFlushSize() throws org.apache.hadoop.hbase.exceptions.HBaseException
org.apache.hadoop.hbase.exceptions.HBaseExceptionpublic void testClassMethodsAreBuilderStyle()
public void testModifyFamily()
public void testModifyInexistentFamily()
public void testAddDuplicateFamilies()
public void testPriority()
public void testStringCustomizedValues() throws org.apache.hadoop.hbase.exceptions.HBaseException
org.apache.hadoop.hbase.exceptions.HBaseExceptionpublic void testSetEmptyValue()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.