Home
last modified time | relevance | path

Searched refs:buildTestModel (Results 1 – 18 of 18) sorted by relevance

/dports/databases/hbase/hbase-1.2.1/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/model/
H A DTestTableSchemaModel.java66 protected TableSchemaModel buildTestModel() { in buildTestModel() method in TestTableSchemaModel
67 return buildTestModel(TABLE_NAME); in buildTestModel()
70 public TableSchemaModel buildTestModel(String name) { in buildTestModel() method in TestTableSchemaModel
76 model.addColumnFamily(testColumnSchemaModel.buildTestModel()); in buildTestModel()
97 checkModel(buildTestModel()); in testBuildModel()
H A DTestNamespacesModel.java49 protected NamespacesModel buildTestModel() { in buildTestModel() method in TestNamespacesModel
50 return buildTestModel(NAMESPACE_NAME_1, NAMESPACE_NAME_2); in buildTestModel()
53 public NamespacesModel buildTestModel(String... namespaces) { in buildTestModel() method in TestNamespacesModel
73 checkModel(buildTestModel()); in testBuildModel()
H A DTestNamespacesInstanceModel.java56 protected NamespacesInstanceModel buildTestModel() { in buildTestModel() method in TestNamespacesInstanceModel
57 return buildTestModel(NAMESPACE_NAME, NAMESPACE_PROPERTIES); in buildTestModel()
60 public NamespacesInstanceModel buildTestModel(String namespace, Map<String,String> properties) { in buildTestModel() method in TestNamespacesInstanceModel
85 checkModel(buildTestModel()); in testBuildModel()
H A DTestModelBase.java61 protected abstract T buildTestModel(); in buildTestModel() method in TestModelBase
103 checkModel(buildTestModel()); in testBuildModel()
116 checkModel(fromXML(toXML(buildTestModel()))); in testToXML()
122 ObjectNode actObj = mapper.readValue(toJSON(buildTestModel()), ObjectNode.class); in testToJSON()
125 assertEquals(AS_JSON, toJSON(buildTestModel())); in testToJSON()
H A DTestTableRegionModel.java51 protected TableRegionModel buildTestModel() { in buildTestModel() method in TestTableRegionModel
68 TableRegionModel model = buildTestModel(); in testGetName()
76 TableRegionModel model = buildTestModel(); in testSetName()
H A DTestCellModel.java46 protected CellModel buildTestModel() { in buildTestModel() method in TestCellModel
62 checkModel(buildTestModel()); in testBuildModel()
H A DTestTableInfoModel.java57 protected TableInfoModel buildTestModel() { in buildTestModel() method in TestTableInfoModel
76 checkModel(buildTestModel()); in testBuildModel()
H A DTestCellSetModel.java83 protected CellSetModel buildTestModel() { in buildTestModel() method in TestCellSetModel
126 checkModel(buildTestModel()); in testBuildModel()
H A DTestStorageClusterVersionModel.java38 protected StorageClusterVersionModel buildTestModel() { in buildTestModel() method in TestStorageClusterVersionModel
H A DTestVersionModel.java53 protected VersionModel buildTestModel() { in buildTestModel() method in TestVersionModel
H A DTestTableListModel.java46 protected TableListModel buildTestModel() { in buildTestModel() method in TestTableListModel
H A DTestRowModel.java52 protected RowModel buildTestModel() { in buildTestModel() method in TestRowModel
H A DTestColumnSchemaModel.java50 protected ColumnSchemaModel buildTestModel() { in buildTestModel() method in TestColumnSchemaModel
H A DTestScannerModel.java60 protected ScannerModel buildTestModel() { in buildTestModel() method in TestScannerModel
H A DTestStorageClusterStatusModel.java76 protected StorageClusterStatusModel buildTestModel() { in buildTestModel() method in TestStorageClusterStatusModel
/dports/databases/hbase/hbase-1.2.1/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/
H A DTestNamespacesInstanceResource.java258 model1 = testNamespacesInstanceModel.buildTestModel(NAMESPACE1, NAMESPACE1_PROPS); in testInvalidNamespacePostsAndPuts()
260 model2 = testNamespacesInstanceModel.buildTestModel(NAMESPACE2, NAMESPACE2_PROPS); in testInvalidNamespacePostsAndPuts()
262 model3 = testNamespacesInstanceModel.buildTestModel(NAMESPACE3, NAMESPACE3_PROPS); in testInvalidNamespacePostsAndPuts()
295 model1 = testNamespacesInstanceModel.buildTestModel(NAMESPACE1, NAMESPACE1_PROPS); in testNamespaceCreateAndDeleteXMLAndJSON()
297 model2 = testNamespacesInstanceModel.buildTestModel(NAMESPACE2, NAMESPACE2_PROPS); in testNamespaceCreateAndDeleteXMLAndJSON()
371 model3 = testNamespacesInstanceModel.buildTestModel(NAMESPACE3, NAMESPACE3_PROPS); in testNamespaceCreateAndDeletePBAndNoBody()
373 model4 = testNamespacesInstanceModel.buildTestModel(NAMESPACE4, NAMESPACE4_PROPS); in testNamespaceCreateAndDeletePBAndNoBody()
H A DTestSchemaResource.java103 model = testTableSchemaModel.buildTestModel(TABLE1); in testTableCreateAndDeleteXML()
150 model = testTableSchemaModel.buildTestModel(TABLE2); in testTableCreateAndDeletePB()
H A DTestNamespacesResource.java105 model = testNamespacesModel.buildTestModel(); in testNamespaceListXMLandJSON()
163 model = testNamespacesModel.buildTestModel(); in testNamespaceListPBandDefault()