test415.txml 630 B

123456789101112131415
  1. <?xml version="1.0"?>
  2. <!-- Test that the state machine halts when it enters a top-level final state. Since
  3. the initial state is a final state, this machine should halt immediately without
  4. processing "event1" which is raised in the final state's on-entry handler. This
  5. is a manual test since there is no platform-independent way to test that event1
  6. is not processed -->
  7. <scxml initial="final" version="1.0" conf:datamodel="" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
  8. <final id="final">
  9. <onentry>
  10. <raise event="event1"/>
  11. </onentry>
  12. </final>
  13. </scxml>