diff options
author | Stefan Radomski <github@mintwerk.de> | 2016-08-03 21:58:05 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2016-08-03 21:58:05 (GMT) |
commit | 398630710aef647a2d68705f46c4691994c0f5c9 (patch) | |
tree | 34fb7e66b750e75a506eade0483fb38bc9826217 /test | |
parent | e46dd37dc472b467ac8da137677bdcd3c4770b29 (diff) | |
download | uscxml-398630710aef647a2d68705f46c4691994c0f5c9.zip uscxml-398630710aef647a2d68705f46c4691994c0f5c9.tar.gz uscxml-398630710aef647a2d68705f46c4691994c0f5c9.tar.bz2 |
Fixed parts of issue 88
Diffstat (limited to 'test')
-rw-r--r-- | test/issues/test-issue88.scxml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/issues/test-issue88.scxml b/test/issues/test-issue88.scxml new file mode 100644 index 0000000..3ac55c7 --- /dev/null +++ b/test/issues/test-issue88.scxml @@ -0,0 +1,28 @@ +<scxml datamodel="lua" initial="Start" name="Root" version="1.0" xmlns="http://www.w3.org/2005/07/scxml"> + <datamodel> + <data id="Var1">{ + testInt=10, + testDouble=10.0, + testString='message' +} + </data> + <data id="Var2">{0,1,2,3,4,5,6}</data> + </datamodel> + <final id="pass"> + <onentry> + <log expr="Var1" /> + <log expr="Var2" /> + </onentry> + </final> + <state id="Start"> + <onentry> + <log label="Var1" expr="Var1" /> + <log label="Var2" expr="Var2" /> + <!-- <assign expr="555" location="Var2[3]"/> --> + <assign expr="555" location="Var1.testInt"/> + <assign expr="555.555" location="Var1.testDouble"/> + <assign expr="'modified message'" location="Var1.testString"/> + </onentry> + <transition target="pass" /> + </state> +</scxml> |