public class TestNamespacesModel extends TestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesModel>
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
static String |
NAMESPACE_NAME_1 |
static String |
NAMESPACE_NAME_2 |
Constructor and Description |
---|
TestNamespacesModel() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.hbase.rest.model.NamespacesModel |
buildTestModel() |
org.apache.hadoop.hbase.rest.model.NamespacesModel |
buildTestModel(String... namespaces) |
protected void |
checkModel(org.apache.hadoop.hbase.rest.model.NamespacesModel model) |
void |
checkModel(org.apache.hadoop.hbase.rest.model.NamespacesModel model,
String... namespaceName) |
void |
testBuildModel() |
void |
testFromPB() |
void |
testFromXML() |
fromJSON, fromPB, fromXML, testFromJSON, testToJSON, testToXML, toJSON, toPB, toXML
public static final HBaseClassTestRule CLASS_RULE
public static final String NAMESPACE_NAME_1
public static final String NAMESPACE_NAME_2
public TestNamespacesModel() throws Exception
Exception
protected org.apache.hadoop.hbase.rest.model.NamespacesModel buildTestModel()
buildTestModel
in class TestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesModel>
public org.apache.hadoop.hbase.rest.model.NamespacesModel buildTestModel(String... namespaces)
protected void checkModel(org.apache.hadoop.hbase.rest.model.NamespacesModel model)
checkModel
in class TestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesModel>
public void checkModel(org.apache.hadoop.hbase.rest.model.NamespacesModel model, String... namespaceName)
public void testBuildModel() throws Exception
testBuildModel
in class TestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesModel>
Exception
public void testFromXML() throws Exception
testFromXML
in class TestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesModel>
Exception
public void testFromPB() throws Exception
testFromPB
in class TestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesModel>
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.