public class TestNamespacesInstanceModel extends TestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel>
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
static String |
NAMESPACE_NAME |
static Map<String,String> |
NAMESPACE_PROPERTIES |
| Constructor and Description |
|---|
TestNamespacesInstanceModel() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel |
buildTestModel() |
org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel |
buildTestModel(String namespace,
Map<String,String> properties) |
protected void |
checkModel(org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel model) |
void |
checkModel(org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel model,
String namespace,
Map<String,String> properties) |
void |
testBuildModel() |
void |
testFromPB() |
void |
testFromXML() |
fromJSON, fromPB, fromXML, testFromJSON, testToJSON, testToXML, toJSON, toPB, toXMLpublic static final HBaseClassTestRule CLASS_RULE
public static final Map<String,String> NAMESPACE_PROPERTIES
public static final String NAMESPACE_NAME
public TestNamespacesInstanceModel() throws Exception
Exceptionprotected org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel buildTestModel()
buildTestModel in class TestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel>public org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel buildTestModel(String namespace, Map<String,String> properties)
protected void checkModel(org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel model)
checkModel in class TestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel>public void checkModel(org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel model, String namespace, Map<String,String> properties)
public void testBuildModel() throws Exception
testBuildModel in class TestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel>Exceptionpublic void testFromXML() throws Exception
testFromXML in class TestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel>Exceptionpublic void testFromPB() throws Exception
testFromPB in class TestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel>ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.