public class TestTableInfoModel extends TestModelBase<org.apache.hadoop.hbase.rest.model.TableInfoModel>
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 |
---|
TestTableInfoModel() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.hbase.rest.model.TableInfoModel |
buildTestModel() |
protected void |
checkModel(org.apache.hadoop.hbase.rest.model.TableInfoModel model) |
void |
testBuildModel() |
void |
testFromPB() |
void |
testFromXML() |
fromJSON, fromPB, fromXML, testFromJSON, 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 TestTableInfoModel() throws Exception
Exception
protected org.apache.hadoop.hbase.rest.model.TableInfoModel buildTestModel()
buildTestModel
in class TestModelBase<org.apache.hadoop.hbase.rest.model.TableInfoModel>
protected void checkModel(org.apache.hadoop.hbase.rest.model.TableInfoModel model)
checkModel
in class TestModelBase<org.apache.hadoop.hbase.rest.model.TableInfoModel>
public void testBuildModel() throws Exception
testBuildModel
in class TestModelBase<org.apache.hadoop.hbase.rest.model.TableInfoModel>
Exception
public void testFromXML() throws Exception
testFromXML
in class TestModelBase<org.apache.hadoop.hbase.rest.model.TableInfoModel>
Exception
public void testFromPB() throws Exception
testFromPB
in class TestModelBase<org.apache.hadoop.hbase.rest.model.TableInfoModel>
Exception
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.