| Summary: | [Interpreter]/[Editor] Application Conditions/Negative Application Conditions don't work as expected | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMFT.Henshin | Reporter: | Felix Rieger <riegerf> | ||||
| Component: | Interpreter | Assignee: | Project Inbox <henshin.interpreter-inbox> | ||||
| Status: | RESOLVED WONTFIX | QA Contact: | |||||
| Severity: | critical | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Felix Rieger
Created attachment 184291 [details]
Application Condition/Negative Application Condition tests
To be run as a JUnit plugin test.
- See HenshinNacTest.java for details on the model and rules.
- henshin rules are located in testhenshinrules/nactest.henshin
- model instance is located in testmodelinstances/fourLayer.testmodelmodel
Mappings for application conditions are not defined on the same level as LHS->RHS mappings. LHS->RHS mappings are defined in the rule. Mappings for any application condition are defined in its corresponding NestedApplication. For example a single application condition for the LHS of a rule (LHS->AC), the mappings would be contained in the NestedCondition which contains the graph AC as the conclusion as well as the mappings between LHS and AC. The NestedCondition is again contained in the graph for which the condition is defined, in this case the graph LHS. LHS ->NestedCondition -->AC -->Mappings between LHS and AC |