public class TestTableSchemaModel extends TestModelBase<TableSchemaModel>
| Modifier and Type | Field and Description |
|---|---|
static String |
TABLE_NAME |
| Constructor and Description |
|---|
TestTableSchemaModel() |
| Modifier and Type | Method and Description |
|---|---|
protected TableSchemaModel |
buildTestModel() |
TableSchemaModel |
buildTestModel(String name) |
protected void |
checkModel(TableSchemaModel model) |
void |
checkModel(TableSchemaModel model,
String tableName) |
void |
testBuildModel() |
void |
testFromPB() |
void |
testFromXML() |
fromJSON, fromPB, fromXML, testFromJSON, testToJSON, testToXML, toJSON, toPB, toXMLpublic static final String TABLE_NAME
protected TableSchemaModel buildTestModel()
buildTestModel in class TestModelBase<TableSchemaModel>public TableSchemaModel buildTestModel(String name)
protected void checkModel(TableSchemaModel model)
checkModel in class TestModelBase<TableSchemaModel>public void checkModel(TableSchemaModel model, String tableName)
public void testBuildModel()
throws Exception
testBuildModel in class TestModelBase<TableSchemaModel>Exceptionpublic void testFromXML()
throws Exception
testFromXML in class TestModelBase<TableSchemaModel>Exceptionpublic void testFromPB()
throws Exception
testFromPB in class TestModelBase<TableSchemaModel>Exception