public class TestTableRegionModel extends TestModelBase<org.apache.hadoop.hbase.rest.model.TableRegionModel>
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
END_KEY |
private static long |
ID |
private static String |
LOCATION |
private static byte[] |
START_KEY |
private static String |
TABLE |
Constructor and Description |
---|
TestTableRegionModel() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.hbase.rest.model.TableRegionModel |
buildTestModel() |
protected void |
checkModel(org.apache.hadoop.hbase.rest.model.TableRegionModel model) |
void |
testFromPB() |
void |
testGetName() |
void |
testSetName() |
fromJSON, fromPB, fromXML, testBuildModel, testFromJSON, testFromXML, testToJSON, testToXML, toJSON, toPB, toXML
public static final HBaseClassTestRule CLASS_RULE
private static final String TABLE
private static final byte[] START_KEY
private static final byte[] END_KEY
private static final long ID
private static final String LOCATION
public TestTableRegionModel() throws Exception
Exception
protected org.apache.hadoop.hbase.rest.model.TableRegionModel buildTestModel()
buildTestModel
in class TestModelBase<org.apache.hadoop.hbase.rest.model.TableRegionModel>
protected void checkModel(org.apache.hadoop.hbase.rest.model.TableRegionModel model)
checkModel
in class TestModelBase<org.apache.hadoop.hbase.rest.model.TableRegionModel>
public void testGetName()
public void testSetName()
public void testFromPB() throws Exception
testFromPB
in class TestModelBase<org.apache.hadoop.hbase.rest.model.TableRegionModel>
Exception
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.