summaryrefslogtreecommitdiffstats
path: root/test/w3c/promela/test387.scxml
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2016-05-12 13:12:33 (GMT)
committerStefan Radomski <github@mintwerk.de>2016-05-12 13:12:33 (GMT)
commitb62e7979600feee23dc7cdb61042a8fc7673122b (patch)
treef7351372f37979dd2d048e0b68a16a4cd3b2aadb /test/w3c/promela/test387.scxml
parent1b11b310be61e51b3ac5ebb83f7c8a33aef3d6e8 (diff)
downloaduscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.zip
uscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.tar.gz
uscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.tar.bz2
Major Refactoring v2.0
Diffstat (limited to 'test/w3c/promela/test387.scxml')
-rw-r--r--test/w3c/promela/test387.scxml93
1 files changed, 0 insertions, 93 deletions
diff --git a/test/w3c/promela/test387.scxml b/test/w3c/promela/test387.scxml
deleted file mode 100644
index 9983f48..0000000
--- a/test/w3c/promela/test387.scxml
+++ /dev/null
@@ -1,93 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- test that the default history state works correctly. From initial state s3 we take a transition to s0's default
-shallow history state. That should generate "enteringS011", which takes us to s4. In s4, we
-transition to s1's default deep history state. We should end up in s122, generating "enteringS122". Otherwise failure.-->
-<scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s3" version="1.0" datamodel="promela">
- <state id="s0" initial="s01">
- <transition event="enteringS011" target="s4"/>
- <transition event="*" target="fail"/>
- <history type="shallow" id="s0HistShallow">
- <transition target="s01"/>
- </history>
- <history type="deep" id="s0HistDeep">
- <transition target="s022"/>
- </history>
- <state id="s01" initial="s011">
- <state id="s011">
- <onentry>
- <raise event="enteringS011"/>
- </onentry>
- </state>
- <state id="s012">
- <onentry>
- <raise event="enteringS012"/>
- </onentry>
- </state>
- </state>
- <state id="s02" initial="s021">
- <state id="s021">
- <onentry>
- <raise event="enteringS021"/>
- </onentry>
- </state>
- <state id="s022">
- <onentry>
- <raise event="enteringS022"/>
- </onentry>
- </state>
- </state>
- </state>
- <state id="s1" initial="s11">
- <transition event="enteringS122" target="pass"/>
- <transition event="*" target="fail"/>
- <history type="shallow" id="s1HistShallow">
- <transition target="s11"/>
- </history>
- <history type="deep" id="s1HistDeep">
- <transition target="s122"/>
- </history>
- <state id="s11" initial="s111">
- <state id="s111">
- <onentry>
- <raise event="enteringS111"/>
- </onentry>
- </state>
- <state id="s112">
- <onentry>
- <raise event="enteringS112"/>
- </onentry>
- </state>
- </state>
- <state id="s12" initial="s121">
- <state id="s121">
- <onentry>
- <raise event="enteringS121"/>
- </onentry>
- </state>
- <state id="s122">
- <onentry>
- <raise event="enteringS122"/>
- </onentry>
- </state>
- </state>
- </state>
- <state id="s3">
- <onentry>
- <send xmlns:scxml="http://www.w3.org/2005/07/scxml" delay="1000" event="timeout"/>
- </onentry>
- <transition target="s0HistShallow"/>
- </state>
- <state id="s4">
- <transition target="s1HistDeep"/>
- </state>
- <final xmlns:scxml="http://www.w3.org/2005/07/scxml" id="pass">
- <onentry>
- <log label="Outcome" expr="'pass'"/>
- </onentry>
- </final>
- <final xmlns:scxml="http://www.w3.org/2005/07/scxml" id="fail">
- <onentry>
- <log label="Outcome" expr="'fail'"/>
- </onentry>
- </final>
-</scxml>