diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-12-05 11:06:09 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-12-05 11:06:09 (GMT) |
commit | a5a139f46438148901ea6627b73d1bf6ae39b346 (patch) | |
tree | e043df6e22113184477a5ffb507f8ef14b7485e6 /test/uscxml/test-initial-configuration.scxml | |
parent | af6609592298c5e047e37e5ae2b47e6a8edbb677 (diff) | |
download | uscxml-a5a139f46438148901ea6627b73d1bf6ae39b346.zip uscxml-a5a139f46438148901ea6627b73d1bf6ae39b346.tar.gz uscxml-a5a139f46438148901ea6627b73d1bf6ae39b346.tar.bz2 |
Support for initial attribute with nested scxml invokers
Diffstat (limited to 'test/uscxml/test-initial-configuration.scxml')
-rw-r--r-- | test/uscxml/test-initial-configuration.scxml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/test/uscxml/test-initial-configuration.scxml b/test/uscxml/test-initial-configuration.scxml new file mode 100644 index 0000000..87c5796 --- /dev/null +++ b/test/uscxml/test-initial-configuration.scxml @@ -0,0 +1,41 @@ +<scxml> + <state id="s0"> + <invoke type="scxml" initial="s0pass s1pass"> + <content> + <scxml> + <parallel> + <state id="s0"> + <state id="s0fail"> + <onentry> + <log expr="s0fail!" /> + </onentry> + <transition target="quit" /> + </state> + <state id="s0pass"> + <onentry> + <log expr="s0pass!" /> + </onentry> + <transition target="quit" /> + </state> + </state> + <state id="s1"> + <state id="s1fail"> + <onentry> + <log expr="s1fail!" /> + </onentry> + <transition target="quit" /> + </state> + <state id="s1pass"> + <onentry> + <log expr="s1pass!" /> + <transition target="quit" /> + </onentry> + </state> + </state> + </parallel> + <final id="quit" /> + </scxml> + </content> + </invoke> + </state> +</scxml>
\ No newline at end of file |