summaryrefslogtreecommitdiffstats
path: root/test/uscxml/promela
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-04-24 08:36:14 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-04-24 08:36:14 (GMT)
commit6b53548ae32336db822d6e6af0e14413c82c74dd (patch)
tree8f2ecf59b1713a9c3ff8720a01ac53c5fca7aa8e /test/uscxml/promela
parentb54d9c61b6c29c973168f33f683a49051f0ed3cc (diff)
downloaduscxml-6b53548ae32336db822d6e6af0e14413c82c74dd.zip
uscxml-6b53548ae32336db822d6e6af0e14413c82c74dd.tar.gz
uscxml-6b53548ae32336db822d6e6af0e14413c82c74dd.tar.bz2
Support for custom event sources with promela
Diffstat (limited to 'test/uscxml/promela')
-rw-r--r--test/uscxml/promela/test-invokers.scxml14
1 files changed, 11 insertions, 3 deletions
diff --git a/test/uscxml/promela/test-invokers.scxml b/test/uscxml/promela/test-invokers.scxml
index df94756..7af84d4 100644
--- a/test/uscxml/promela/test-invokers.scxml
+++ b/test/uscxml/promela/test-invokers.scxml
@@ -2,8 +2,10 @@
<state id="s0">
<invoke type="scxml">
<!--
- promela-event-source:
- to.s1
+ #promela-event-source-custom:
+ if
+ :: 1 -> eQ!#to.s1#; goto #DONE#; // end this invoker
+ fi;
-->
<content>
<scxml>
@@ -17,5 +19,11 @@
</invoke>
<transition event="to.s1" target="s1" />
</state>
- <state id="s1" final="true" />
+ <state id="s1">
+ <onentry>
+ <send event="to.s2" />
+ </onentry>
+ <transition event="to.s2" target="s2" />
+ </state>
+ <state id="s2" final="true" />
</scxml> \ No newline at end of file