test144.txml 690 B

123456789101112131415161718192021222324252627
  1. <?xml version="1.0"?>
  2. <!-- test that events are inserted into the queue in the order in which they are raised. If
  3. foo occurs before bar, success, otherwise failure -->
  4. <scxml initial="s0" version="1.0" conf:datamodel="" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
  5. <state id="s0">
  6. <onentry>
  7. <raise event="foo"/>
  8. <raise event="bar"/>
  9. </onentry>
  10. <transition event="foo" target="s1"/>
  11. <transition event="*" conf:targetfail=""/>
  12. </state>
  13. <state id="s1">
  14. <transition event="bar" conf:targetpass=""/>
  15. <transition event="*" conf:targetfail=""/>
  16. </state>
  17. <conf:pass/>
  18. <conf:fail/>
  19. </scxml>