diff options
author | Stefan Radomski <sradomski@mintwerk.de> | 2016-01-19 13:13:41 (GMT) |
---|---|---|
committer | Stefan Radomski <sradomski@mintwerk.de> | 2016-01-19 13:13:41 (GMT) |
commit | 024d82815dc6f2e2298fc8661424c25dd4c79d85 (patch) | |
tree | eb68a5d9932a45902c7058589a339468cf7daefd /test/uscxml/automated | |
parent | 6e96eafb9bf087c35cfe8e60196d0a2a1698d22b (diff) | |
download | uscxml-024d82815dc6f2e2298fc8661424c25dd4c79d85.zip uscxml-024d82815dc6f2e2298fc8661424c25dd4c79d85.tar.gz uscxml-024d82815dc6f2e2298fc8661424c25dd4c79d85.tar.bz2 |
Fixed a bug with deep initial states in compounds for C transformation
Diffstat (limited to 'test/uscxml/automated')
-rw-r--r-- | test/uscxml/automated/ecma/deep-histories.scxml | 21 | ||||
-rw-r--r-- | test/uscxml/automated/ecma/deep-initial.scxml | 18 |
2 files changed, 39 insertions, 0 deletions
diff --git a/test/uscxml/automated/ecma/deep-histories.scxml b/test/uscxml/automated/ecma/deep-histories.scxml new file mode 100644 index 0000000..1d22131 --- /dev/null +++ b/test/uscxml/automated/ecma/deep-histories.scxml @@ -0,0 +1,21 @@ +<scxml datamodel="ecmascript"> + <datamodel> + <data id="Var1" expr="0" /> + </datamodel> + <state id="s0"> + <history id="s0.h0" type="deep" /> + <state id="s0.0"> + <history id="s0.0.h0" type="shallow" /> + <state id="s0.0.0"> + </state> + <state id="s0.0.1"> + </state> + </state> + <state id="s0.1"> + + </state> + </state> + <state id="s1"> + </state> + +</scxml>
\ No newline at end of file diff --git a/test/uscxml/automated/ecma/deep-initial.scxml b/test/uscxml/automated/ecma/deep-initial.scxml new file mode 100644 index 0000000..0315d15 --- /dev/null +++ b/test/uscxml/automated/ecma/deep-initial.scxml @@ -0,0 +1,18 @@ +<scxml datamodel="ecmascript" initial="start"> + <datamodel> + <data id="Var1" expr="0" /> + </datamodel> + <state id="start" initial="deep"> + <transition cond="Var1 == 1" target="pass"/> + <transition target="fail"/> + <state id="inBetween"> + <onentry> + <assign location="Var1" expr="Var1 + 1" /> + <log label="Var1" expr="Var1" /> + </onentry> + <state id="deep" /> + </state> + </state> + <final id="pass" /> + <final id="fail" /> +</scxml>
\ No newline at end of file |