diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-04-22 14:02:03 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-04-22 14:02:03 (GMT) |
commit | 1fb6bcf30f954e426f2d3002d14887574fb941dd (patch) | |
tree | 08cff7f2b879c50efe79e3c04d255075522af862 /test/uscxml/test-invoked.scxml | |
parent | 71c334bf4e35559496feac3f3cf00b72ceb88812 (diff) | |
download | uscxml-1fb6bcf30f954e426f2d3002d14887574fb941dd.zip uscxml-1fb6bcf30f954e426f2d3002d14887574fb941dd.tar.gz uscxml-1fb6bcf30f954e426f2d3002d14887574fb941dd.tar.bz2 |
Major refactoring
- Moved tests
- Changes to promela datamodel
- Implemented Trie
Diffstat (limited to 'test/uscxml/test-invoked.scxml')
-rw-r--r-- | test/uscxml/test-invoked.scxml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/test/uscxml/test-invoked.scxml b/test/uscxml/test-invoked.scxml new file mode 100644 index 0000000..f34ed5c --- /dev/null +++ b/test/uscxml/test-invoked.scxml @@ -0,0 +1,29 @@ +<!-- This is invoked in test-communications.scxml from a scxml invoker --> +<scxml datamodel="ecmascript"> + <state id="start"> + <onentry> + <script> + foo = { + "atom": "urghs", + "array": [0,1,2,3,4], + "compound": { + "key1": "value1", + "key2": "value2", + "key3": "value3", + } + }; + bar = "This is some string"; + </script> + <log expr="'Message from the invoked scxml interpreter'" type="http://www.w3.org/TR/scxml/#Anything" id="thisOne" /> + <send target="#_parent" event="transitionToNext" namelist="foo bar"> + <param name="bar" expr="bar" /> + <content> +This is some content! + </content> + </send> + </onentry> + + <transition target="done" /> + </state> + <state id="done" final="true" /> +</scxml>
\ No newline at end of file |