diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-04-24 14:50:34 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-04-24 14:50:34 (GMT) |
commit | 363250f8a9e33dc3f198f114fdfccd100b55ca12 (patch) | |
tree | 539c0b085c1071a02ffb1529bfa76585ed109617 | |
parent | 6b53548ae32336db822d6e6af0e14413c82c74dd (diff) | |
download | uscxml-363250f8a9e33dc3f198f114fdfccd100b55ca12.zip uscxml-363250f8a9e33dc3f198f114fdfccd100b55ca12.tar.gz uscxml-363250f8a9e33dc3f198f114fdfccd100b55ca12.tar.bz2 |
More tests for promela datamodel
-rw-r--r-- | test/uscxml/promela/test-event-source.scxml (renamed from test/uscxml/promela/test-invokers.scxml) | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/test/uscxml/promela/test-invokers.scxml b/test/uscxml/promela/test-event-source.scxml index 7af84d4..3816bd0 100644 --- a/test/uscxml/promela/test-invokers.scxml +++ b/test/uscxml/promela/test-event-source.scxml @@ -1,7 +1,8 @@ <scxml datamodel="promela"> <state id="s0"> <invoke type="scxml"> - <!-- + <!-- Sends a single event and exits --> + <!-- #promela-event-source-custom: if :: 1 -> eQ!#to.s1#; goto #DONE#; // end this invoker @@ -21,9 +22,18 @@ </state> <state id="s1"> <onentry> + <!-- Send event to our external queue --> <send event="to.s2" /> </onentry> <transition event="to.s2" target="s2" /> </state> - <state id="s2" final="true" /> + <state id="s2"> + <onentry> + <!-- Send event to our internal queue --> + <raise event="to.s3" /> + </onentry> + <transition event="to.s3" target="s3" /> + </state> + + <state id="s3" final="true" /> </scxml>
\ No newline at end of file |