test553.txml 808 B

123456789101112131415161718192021222324252627
  1. <?xml version="1.0"?>
  2. <!-- we test that the processor does not dispatch the event if evaluation
  3. of <send>'s args causes an error.. -->
  4. <scxml initial="s0" conf:datamodel="" version="1.0" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
  5. <state id="s0">
  6. <onentry>
  7. <!-- timeout event -->
  8. <send event="timeout" conf:delay="1"/>
  9. <!-- generate an invalid namelist -->
  10. <send event="event1" conf:invalidNamelist=""/>
  11. </onentry>
  12. <!-- if we get the timeout before event1, we assume that event1 hasn't been sent
  13. We ignore the error event here because this assertion doesn't mention it -->
  14. <transition event="timeout" conf:targetpass=""/>
  15. <transition event="event1" conf:targetfail=""/>
  16. </state>
  17. <conf:pass/>
  18. <conf:fail/>
  19. </scxml>