summaryrefslogtreecommitdiffstats
path: root/test/w3c/lua/test337.scxml
blob: 641838b35bc5e0143036e68d80933f23feda80e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0" standalone="no"?>
<!-- test that origintype is blank on internal events -->
<scxml xmlns="http://www.w3.org/2005/07/scxml" initial="s0" version="1.0" name="machineName" datamodel="lua">
  <state id="s0">
    <onentry>
      <raise event="foo"/>
    </onentry>
    <transition event="foo" cond="_event.origintype == ''" target="pass"/>
    <transition event="*" target="fail"/>
  </state>
  <final id="pass"/>
  <final id="fail"/>
</scxml>