summaryrefslogtreecommitdiffstats
path: root/test/uscxml/promela/test-simple.scxml
diff options
context:
space:
mode:
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