summaryrefslogtreecommitdiffstats
path: root/test/uscxml/promela/test-history.scxml
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-11-12 12:36:27 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-11-12 12:36:27 (GMT)
commit8202b54c5d3ce1fbc4f079918551f2f076a221cb (patch)
tree20ba167c6d87e66e2e2b13e62bde1c92a9925175 /test/uscxml/promela/test-history.scxml
parentc66fa34eb48f81da05966b947a2e37067318a09f (diff)
downloaduscxml-8202b54c5d3ce1fbc4f079918551f2f076a221cb.zip
uscxml-8202b54c5d3ce1fbc4f079918551f2f076a221cb.tar.gz
uscxml-8202b54c5d3ce1fbc4f079918551f2f076a221cb.tar.bz2
More work on PROMELA transformation
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