summaryrefslogtreecommitdiffstats
path: root/test/uscxml/promela/test-simple.scxml
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2016-10-25 11:59:18 (GMT)
committerStefan Radomski <github@mintwerk.de>2016-10-25 11:59:18 (GMT)
commit954a1eb75f2abc81da1e09701d700674f0baddfb (patch)
tree873eb6412e958ecd53214ddbd6a3e17465da5100 /test/uscxml/promela/test-simple.scxml
parent1a1513c6497e8818eb2a92a8fbf77d4c60bc911e (diff)
downloaduscxml-954a1eb75f2abc81da1e09701d700674f0baddfb.zip
uscxml-954a1eb75f2abc81da1e09701d700674f0baddfb.tar.gz
uscxml-954a1eb75f2abc81da1e09701d700674f0baddfb.tar.bz2
Worked on PROMELA transformation
Diffstat (limited to 'test/uscxml/promela/test-simple.scxml')
-rw-r--r--test/uscxml/promela/test-simple.scxml15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/uscxml/promela/test-simple.scxml b/test/uscxml/promela/test-simple.scxml
new file mode 100644
index 0000000..61c8022
--- /dev/null
+++ b/test/uscxml/promela/test-simple.scxml
@@ -0,0 +1,15 @@
+<!--
+ Simple example
+
+ $ uscxml-transform -s -i this_file.scxml > test.pml
+ $ spin -p -l -h test.pml
+-->
+<scxml datamodel="promela">
+ <state id="s0">
+ <onentry>
+ <raise event="foo" />
+ </onentry>
+ <transition event="foo" target="s1" />
+ </state>
+ <state id="s1" final="true" />
+</scxml> \ No newline at end of file