| Summary: | CountedUnit should return false when a negative count is set | ||
|---|---|---|---|
| Product: | [Modeling] EMFT.Henshin | Reporter: | Felix Rieger <riegerf> |
| Component: | Core | Assignee: | Project Inbox <henshin.interpreter-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Felix Rieger
A count < -1 is not valid. Proper values are N+ and "-1" (as long as possible). Executing a counted unit with -1 should always return true, because the subunit was executed "as long as possible" no matter how often this was. A proper value of N+ or -1 should be ensured by model constraints for correct Henshin diagrams or the different editors. ocl constraint added |