1234567891011121314151617181920212223 |
- testclass LocalEvents for statechart eventdriven.localEvents {
-
- @Test
- operation test() {
- enter
-
- assert active(eventdriven.localEvents.r1.Comp1.r.A1)
- assert active(eventdriven.localEvents.r2.Comp2.r.A2)
-
- raise e
-
- assert active(eventdriven.localEvents.r1.Comp1.r.D1)
- assert active(eventdriven.localEvents.r2.Comp2.r.D2)
- assert cycleCountSm == 5
- assert cycleCount1 == 5
- assert cycleCount2 == 5
- assert checksum == 3
- exit
- }
- }
|