use of org.obeonetwork.dsl.database.TableContainer in project InformationSystem by ObeoNetwork.
the class TableChangeBuilder method handleAddChange.
@Override
protected Diff handleAddChange(ReferenceChange change) {
Comparison comparison = change.getMatch().getComparison();
TableContainer tableContainer = (TableContainer) change.getMatch().getRight();
Table table = (Table) change.getValue();
return createAddTable(comparison, tableContainer, table, change);
}
use of org.obeonetwork.dsl.database.TableContainer in project InformationSystem by ObeoNetwork.
the class AbstractSQLGenerationTest method assertGenerationEquals.
public void assertGenerationEquals(String inputFolderName) {
TableContainer source = loadTableContainerFromFile(inputFolderName, INPUT_FILENAME_1);
TableContainer target = loadTableContainerFromFile(inputFolderName, INPUT_FILENAME_2);
assertGenerationEquals(source, target, INPUT + inputFolderName + "/expectedSql");
}
Aggregations