summaryrefslogtreecommitdiffstats
path: root/test/w3c/lua/test201.scxml
blob: e1d6fe7e6c10774b6b61023d2d040e4988a013d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?xml version="1.0" standalone="no"?>
<!-- we test that the processor supports the basic http event i/o processor.  This is an optional
test since platforms are not required to support basic http event i/o -->
<scxml xmlns="http://www.w3.org/2005/07/scxml" initial="s0" version="1.0" datamodel="lua">
  <state id="s0">
    <onentry>
      <send type="http://www.w3.org/TR/scxml/#BasicHTTPEventProcessor" event="event1" targetexpr="_ioprocessors.basichttp.location"/>
      <send event="timeout"/>
    </onentry>
    <transition event="event1" target="pass"/>
    <transition event="*" target="fail"/>
  </state>
  <final id="pass"/>
  <final id="fail"/>
</scxml>