summaryrefslogtreecommitdiffstats
path: root/test/uscxml/promela/test-history.scxml
diff options
context:
space:
mode:
Diffstat (limited to 'test/uscxml/promela/test-history.scxml')
-rw-r--r--test/uscxml/promela/test-history.scxml16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/uscxml/promela/test-history.scxml b/test/uscxml/promela/test-history.scxml
new file mode 100644
index 0000000..ef48f6a
--- /dev/null
+++ b/test/uscxml/promela/test-history.scxml
@@ -0,0 +1,16 @@
+<scxml datamodel="promela">
+ <state id="s0">
+ <history id="h01" type="deep" />
+ <state id="s01">
+ <transition target="s02" event="foo" />
+ <transition target="s1" event="bar" />
+ </state>
+ <state id="s02">
+ <script>printf("In S02");</script>
+ <transition target="s1" />
+ </state>
+ </state>
+ <state id="s1">
+ <transition target="h01" />
+ </state>
+</scxml> \ No newline at end of file