blob: 06ac189ff7e4b787c2ca31b2e7571a6c7f459793 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?xml version="1.0" standalone="no"?>
<!-- test that _event is not bound before any event has been raised -->
<scxml xmlns="http://www.w3.org/2005/07/scxml" initial="s0" version="1.0" name="machineName" datamodel="lua">
<state id="s0">
<onentry>
<if cond="_event ~= nil">
<raise event="bound"/>
<else/>
<raise event="unbound"/>
</if>
</onentry>
<transition event="unbound" target="pass"/>
<transition event="bound" target="fail"/>
</state>
<final id="pass"/>
<final id="fail"/>
</scxml>
|