Closed anthonyanjorin closed 7 years ago
Features: [fwd | structural | add+del | fixed]
I don't think this test is corr-based as there is only one Simpson, Homer
The description of the postcondition has a wrong family register. It should be:
FamilyRegister {
Skinner
Flanders
Rod (son)
Simpson
Bart (father)
Simpson
Homer (father) <- the deleted and recreated one
Marge (mother)
Bart (son)
Bart (son)
Lisa (daughter)
Maggie (daughter)
}
I added two new methods in the BXTool Interface:
They were required in order to get the incremental forward behavior for all TC6a-TC6e right. If performAndPropagateTargetEdit is used instead, this creates a round-trip scenario in which e.g. medini failes on most preconditions, because the backward transformation destroys the family model.
Suggested precondition:
FamilyRegister {
}
PersonRegister {
}
Set birthdays of all persons in the person register (this must be propagated as a target delta so the tools' inner state is consistent).
Then propagate the source delta deleting and re-creating Homer (father).
Expected postcondition:
FamilyRegister {
}
PersonRegister {
}