test534.txml 728 B

1234567891011121314151617181920
  1. <!-- test that that <send> 'event' value gets sent as the param _scxmleventname . -->
  2. <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">
  3. <state id="s0">
  4. <onentry>
  5. <send event="timeout" delay="30s"/>
  6. <send event="test" conf:basicHTTPAccessURITarget="" type="http://www.w3.org/TR/scxml/#BasicHTTPEventProcessor">
  7. </send>
  8. </onentry>
  9. <!-- if other end sends us back this event, we succeed -->
  10. <transition event="test" conf:eventNamedParamHasValue="_scxmleventname test" conf:targetpass=""/>
  11. <transition event="*" conf:targetfail=""/>
  12. </state>
  13. <conf:pass/>
  14. <conf:fail/>
  15. </scxml>