summaryrefslogtreecommitdiffstats
path: root/test/uscxml/test-initial-configuration.scxml
diff options
context:
space:
mode:
Diffstat (limited to 'test/uscxml/test-initial-configuration.scxml')
-rw-r--r--test/uscxml/test-initial-configuration.scxml41
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