use of org.alfresco.util.schemacomp.DbProperty in project alfresco-repository by Alfresco.
the class ColumnTest method doDiffTests.
@Override
protected void doDiffTests() {
DbProperty thisTypeProp = new DbProperty(thisColumn, "type");
DbProperty thatTypeProp = new DbProperty(thatColumn, "type");
inOrder.verify(comparisonUtils).compareSimple(thisTypeProp, thatTypeProp, ctx);
DbProperty thisNullableProp = new DbProperty(thisColumn, "nullable");
DbProperty thatNullableProp = new DbProperty(thatColumn, "nullable");
inOrder.verify(comparisonUtils).compareSimple(thisNullableProp, thatNullableProp, ctx);
DbProperty thisOrderProp = new DbProperty(thisColumn, "order");
DbProperty thatOrderProp = new DbProperty(thatColumn, "order");
inOrder.verify(comparisonUtils).compareSimple(thisOrderProp, thatOrderProp, ctx);
DbProperty thisAutoIncProp = new DbProperty(thisColumn, "autoIncrement");
DbProperty thatAutoIncProp = new DbProperty(thatColumn, "autoIncrement");
inOrder.verify(comparisonUtils).compareSimple(thisAutoIncProp, thatAutoIncProp, ctx);
}
use of org.alfresco.util.schemacomp.DbProperty in project alfresco-repository by Alfresco.
the class ForeignKeyTest method doDiffTests.
@Override
protected void doDiffTests() {
inOrder.verify(comparisonUtils).compareSimple(new DbProperty(thisFK, "localColumn"), new DbProperty(thatFK, "localColumn"), ctx);
inOrder.verify(comparisonUtils).compareSimple(new DbProperty(thisFK, "targetTable"), new DbProperty(thatFK, "targetTable"), ctx);
inOrder.verify(comparisonUtils).compareSimple(new DbProperty(thisFK, "targetColumn"), new DbProperty(thatFK, "targetColumn"), ctx);
}
Aggregations