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