test_after_reentry.xml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. <root>
  8. <parallel id="p">
  9. <state id="o0" initial="a">
  10. <state id="a">
  11. <transition after="100 ms" cond='INSTATE(["/p/o1/x"])' target="../b"/>
  12. <transition after="150 ms" target="../c"/>
  13. </state>
  14. <state id="b">
  15. <onentry>
  16. <raise event="in_b" port="out"/>
  17. </onentry>
  18. <transition target="../a"/>
  19. </state>
  20. <state id="c">
  21. <onentry>
  22. <raise event="in_c" port="out"/>
  23. </onentry>
  24. </state>
  25. </state>
  26. <state id="o1" initial="x">
  27. <state id="x">
  28. <transition after="250 ms" target="../y"/>
  29. </state>
  30. <state id="y"/>
  31. </state>
  32. </parallel>
  33. </root>
  34. </statechart>
  35. <output>
  36. <big_step>
  37. <event name="in_b" port="out"/>
  38. </big_step>
  39. <big_step>
  40. <event name="in_b" port="out"/>
  41. </big_step>
  42. <big_step>
  43. <event name="in_c" port="out"/>
  44. </big_step>
  45. </output>
  46. </test>