summaryrefslogtreecommitdiffstats
path: root/test/w3c/lua/test419.scxml
blob: 1043b31ca3d1000e6f1a7959457769cec3b24688 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml version="1.0" standalone="no"?>
<!-- test that eventless transitions take precedence over event-driven ones -->
<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" initial="s1" datamodel="lua">
  <state id="s1">
    <onentry>
      <raise event="internalEvent"/>
      <send event="externalEvent"/>
    </onentry>
    <transition event="*" target="fail"/>
    <transition target="pass"/>
  </state>
  <final id="pass"/>
  <final id="fail"/>
</scxml>