summaryrefslogtreecommitdiffstats
path: root/test/samples/uscxml/promela/test-simple-promela.scxml
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-04-22 14:02:03 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-04-22 14:02:03 (GMT)
commit1fb6bcf30f954e426f2d3002d14887574fb941dd (patch)
tree08cff7f2b879c50efe79e3c04d255075522af862 /test/samples/uscxml/promela/test-simple-promela.scxml
parent71c334bf4e35559496feac3f3cf00b72ceb88812 (diff)
downloaduscxml-1fb6bcf30f954e426f2d3002d14887574fb941dd.zip
uscxml-1fb6bcf30f954e426f2d3002d14887574fb941dd.tar.gz
uscxml-1fb6bcf30f954e426f2d3002d14887574fb941dd.tar.bz2
Major refactoring
- Moved tests - Changes to promela datamodel - Implemented Trie
Diffstat (limited to 'test/samples/uscxml/promela/test-simple-promela.scxml')
-rw-r--r--test/samples/uscxml/promela/test-simple-promela.scxml55
1 files changed, 0 insertions, 55 deletions
diff --git a/test/samples/uscxml/promela/test-simple-promela.scxml b/test/samples/uscxml/promela/test-simple-promela.scxml
deleted file mode 100644
index 00b95e4..0000000
--- a/test/samples/uscxml/promela/test-simple-promela.scxml
+++ /dev/null
@@ -1,55 +0,0 @@
-<scxml datamodel="promela">
- <datamodel>
- <data>
- bool b1;
- </data>
- <data>
- bool b2, b3, b4;
- </data>
- <data>
- bool b5, b6 = 3 + 4, b7, b8, b9;
- </data>
- <data>
- bool c1; bool c2; bool c3; bool c4;
- bool c5; bool c6; bool c7, c8 = 4 + 6, c9;
- </data>
- <data>
- byte state = 1;
- mtype = {
- FATAL, NON_FATAL, COMPLETE, INCOMPLETE,
- red, white, blue
- }
- </data>
- <data>
- bool busy[3], lazy[4 + 5];
- </data>
- <data>
- bool v3, v2 = 1;
- </data>
-
- </datamodel>
- <state id="init">
- <onentry>
- <script>
- busy[4 - 3] = 1;
- </script>
- <log expr="busy" />
- <script>
- v2=1; v3=1;
- </script>
- </onentry>
- <transition target="pass" cond="v2==v3 &amp;&amp; busy[1] == 1">
- </transition>
- <transition target="fail" />
- </state>
- <final id="pass">
- <onentry>
- <log label="Outcome" expr="'pass'"/>
- </onentry>
- </final>
- <final id="fail">
- <onentry>
- <log label="Outcome" expr="'fail'"/>
- </onentry>
- </final>
-</scxml> \ No newline at end of file