summaryrefslogtreecommitdiffstats
path: root/test/uscxml/promela
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
parentc66fa34eb48f81da05966b947a2e37067318a09f (diff)
downloaduscxml-8202b54c5d3ce1fbc4f079918551f2f076a221cb.zip
uscxml-8202b54c5d3ce1fbc4f079918551f2f076a221cb.tar.gz
uscxml-8202b54c5d3ce1fbc4f079918551f2f076a221cb.tar.bz2
More work on PROMELA transformation
Diffstat (limited to 'test/uscxml/promela')
-rw-r--r--test/uscxml/promela/test-history.scxml16
-rw-r--r--test/uscxml/promela/test-ltl.scxml4
2 files changed, 18 insertions, 2 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
diff --git a/test/uscxml/promela/test-ltl.scxml b/test/uscxml/promela/test-ltl.scxml
index a584e06..23079d9 100644
--- a/test/uscxml/promela/test-ltl.scxml
+++ b/test/uscxml/promela/test-ltl.scxml
@@ -1,7 +1,7 @@
<scxml datamodel="promela">
<!--
- promela-event-source:
- toogle.foo
+ #promela-event-source:
+ toggle.foo
-->
<datamodel>
<data id="foo" expr="0" type="bit" />