Class TestNamespacesModel
java.lang.Object
org.apache.hadoop.hbase.rest.model.TestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesModel>
org.apache.hadoop.hbase.rest.model.TestNamespacesModel
public class TestNamespacesModel
extends TestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesModel>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.hadoop.hbase.rest.model.NamespacesModel
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
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_NAME_1
- See Also:
-
NAMESPACE_NAME_2
- See Also:
-
-
Constructor Details
-
TestNamespacesModel
- Throws:
Exception
-
-
Method Details
-
buildTestModel
- Specified by:
buildTestModel
in classTestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesModel>
-
buildTestModel
-
checkModel
- Specified by:
checkModel
in classTestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesModel>
-
checkModel
public void checkModel(org.apache.hadoop.hbase.rest.model.NamespacesModel model, String... namespaceName) -
testBuildModel
- Overrides:
testBuildModel
in classTestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesModel>
- Throws:
Exception
-
testFromXML
- Overrides:
testFromXML
in classTestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesModel>
- Throws:
Exception
-
testFromPB
- Overrides:
testFromPB
in classTestModelBase<org.apache.hadoop.hbase.rest.model.NamespacesModel>
- Throws:
Exception
-