Class TestNamespacesInstanceModel
java.lang.Object
org.apache.hadoop.hbase.rest.model.TestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel>
org.apache.hadoop.hbase.rest.model.TestNamespacesInstanceModel
public class TestNamespacesInstanceModel
extends TestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel
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
void
void
Methods inherited from class org.apache.hadoop.hbase.rest.model.TestModelBase
fromJSON, fromPB, fromXML, testFromJSON, testToJSON, testToXML, toJSON, toPB, toXML
-
Field Details
-
CLASS_RULE
-
NAMESPACE_PROPERTIES
-
NAMESPACE_NAME
- See Also:
-
-
Constructor Details
-
TestNamespacesInstanceModel
- Throws:
Exception
-
-
Method Details
-
buildTestModel
- Specified by:
buildTestModel
in classTestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel>
-
buildTestModel
public org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel buildTestModel(String namespace, Map<String, String> properties) -
checkModel
- Specified by:
checkModel
in classTestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel>
-
checkModel
public void checkModel(org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel model, String namespace, Map<String, String> properties) -
testBuildModel
- Overrides:
testBuildModel
in classTestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel>
- Throws:
Exception
-
testFromXML
- Overrides:
testFromXML
in classTestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel>
- Throws:
Exception
-
testFromPB
- Overrides:
testFromPB
in classTestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesInstanceModel>
- Throws:
Exception
-