123456789101112131415161718192021222324252627 |
- testclass ConstOnlyInternalScope for statechart declarations.ConstOnlyInternalScope {
- /*
- * Test is the statechart is entered correctly.
- */
- @Test
- operation statechartEntry(){
- enter
- assert active(declarations.ConstOnlyInternalScope.main_region.A)
-
- }
-
- /*
- * Test is the statechart is entered correctly.
- */
- @Test
- operation stateTransition(){
-
- enter
- raise e : 1
- proceed 1 cycle
- assert active(declarations.ConstOnlyInternalScope.main_region.B)
-
- }
- }
-
|