test_after_reentry.xml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?xml version="1.0" ?>
  2. <test>
  3. <statechart>
  4. <semantics
  5. big_step_maximality="take_many"
  6. combo_step_maximality="combo_take_one"/>
  7. <tree>
  8. <state>
  9. <parallel id="p">
  10. <state id="o0" initial="a">
  11. <state id="a">
  12. <transition after="100" cond='INSTATE(["/p/o1/x"])' target="../b"/>
  13. <transition after="150" target="../c"/>
  14. </state>
  15. <state id="b">
  16. <onentry>
  17. <raise event="in_b" port="out"/>
  18. </onentry>
  19. <transition target="../a"/>
  20. </state>
  21. <state id="c">
  22. <onentry>
  23. <raise event="in_c" port="out"/>
  24. </onentry>
  25. </state>
  26. </state>
  27. <state id="o1" initial="x">
  28. <state id="x">
  29. <transition after="250" target="../y"/>
  30. </state>
  31. <state id="y"/>
  32. </state>
  33. </parallel>
  34. </state>
  35. </tree>
  36. </statechart>
  37. <output>
  38. <big_step>
  39. <event name="in_b" port="out"/>
  40. </big_step>
  41. <big_step>
  42. <event name="in_b" port="out"/>
  43. </big_step>
  44. <big_step>
  45. <event name="in_c" port="out"/>
  46. </big_step>
  47. </output>
  48. </test>