summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFawzi Mohamed <fawzi.mohamed@theqtcompany.com>2015-02-17 18:52:55 +0100
committerFawzi Mohamed <fawzi.mohamed@theqtcompany.com>2015-02-18 18:26:35 +0200
commit1d77ea247d81958081e10c4038efc00c2da54773 (patch)
tree74a58bda2b1cee2aeb15e9098fe8aaa8c5bfecdb
parent80eecc1c5cd54d65e54890db62adc4e40d9c9e86 (diff)
adding SCION testsuite
adding tests from the apache 2.0 licensed https://github.com/jbeard4/SCION Change-Id: I5285e9cded64fa79a9f326ca2ea542dc5c81709a Reviewed-by: Fawzi Mohamed <fawzi.mohamed@theqtcompany.com>
-rw-r--r--tests/3rdparty/scion-tests/LICENSE.txt201
-rw-r--r--tests/3rdparty/scion-tests/README.txt3
-rw-r--r--tests/3rdparty/scion-tests/node-test-server.js80
-rwxr-xr-xtests/3rdparty/scion-tests/run-tests-node.sh46
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/.gitignore4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/LICENSE.txt201
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/README.md167
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/lib/test-client.js245
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/package.json38
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/require.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/require.scxml56
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/script2.js1
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/script3.js1
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/script4.js1
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/submodule1.js1
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/submodule2.js1
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/submodule3.js1
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/submodule4.js1
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/runner.js11
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send1.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send1.scxml40
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send2.json13
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send2.scxml44
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send3.json14
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send3.scxml45
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send4.json15
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send4.scxml54
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send5.json16
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send5.scxml56
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send6.json17
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send6.scxml57
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send7.json18
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send7.scxml47
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send8.json19
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send8.scxml48
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test0.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test0.scxml56
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test1.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test1.scxml44
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test2.json13
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test2.scxml65
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test3.json22
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test3.scxml70
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test4.json9
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test4.scxml62
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m0.json13
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m0.scxml18
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m1.json14
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m1.scxml20
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m2.json15
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m2.scxml25
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m3.json24
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m3.scxml34
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic0.json6
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic0.scxml29
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic1.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic1.scxml28
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic2.json16
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic2.scxml35
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/TestConditionalTransition.json33
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/TestConditionalTransition.scxml99
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test0.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test0.scxml32
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test1.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test1.scxml35
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test2.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test2.scxml32
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/default-initial-state/initial1.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/default-initial-state/initial1.scxml29
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/default-initial-state/initial2.json13
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/default-initial-state/initial2.scxml30
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send1.json17
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send1.scxml42
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send2.json17
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send2.scxml46
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send3.json17
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send3.scxml47
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/documentOrder/documentOrder0.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/documentOrder/documentOrder0.scxml34
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/foreach/test1.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/foreach/test1.scxml50
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy+documentOrder/test0.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy+documentOrder/test0.scxml41
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy+documentOrder/test1.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy+documentOrder/test1.scxml40
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier0.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier0.scxml32
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier1.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier1.scxml37
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier2.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier2.scxml38
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/history/history0.json23
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/history/history0.scxml48
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/history/history1.json24
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/history/history1.scxml53
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/history/history2.json25
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/history/history2.scxml54
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/history/history3.json26
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/history/history3.scxml59
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/history/history4.json47
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/history/history4.scxml101
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/history/history5.json19
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/history/history5.scxml75
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/history/history6.json28
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/history/history6.scxml74
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/if-else/test0.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/if-else/test0.scxml106
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/in/TestInPredicate.json48
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/in/TestInPredicate.scxml110
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/internal-transitions/test0.json17
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/internal-transitions/test0.scxml56
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/internal-transitions/test1.json18
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/internal-transitions/test1.scxml89
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test0.json10
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test0.scxml32
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test1.json10
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test1.scxml43
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test10.json17
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test10.scxml63
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test2.json10
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test2.scxml46
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test3.json11
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test3.scxml43
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test4.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test4.scxml48
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test5.json13
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test5.scxml43
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test6.json10
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test6.scxml55
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test7.json11
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test7.scxml55
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test8.json10
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test8.scxml52
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test9.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test9.scxml53
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/multiple-events-per-transition/test1.json20
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/multiple-events-per-transition/test1.scxml36
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test0.json10
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test0.scxml44
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test1.json11
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test1.scxml46
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test10.json20
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test10.scxml56
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test11.json21
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test11.scxml37
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test12.json22
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test12.scxml52
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test13.json23
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test13.scxml55
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test14.json24
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test14.scxml69
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test15.json25
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test15.scxml65
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test16.json26
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test16.scxml45
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test17.json27
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test17.scxml46
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test18.json28
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test18.scxml40
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test19.json29
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test19.scxml50
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test2.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test2.scxml51
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test20.json30
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test20.scxml51
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test21.json31
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test21.scxml47
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test22.json32
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test22.scxml49
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test23.json33
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test23.scxml39
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test24.json34
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test24.scxml49
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test25.json35
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test25.scxml50
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test26.json36
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test26.scxml39
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test27.json36
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test27.scxml55
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test28.json36
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test28.scxml49
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test29.json36
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test29.scxml49
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test3.json13
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test3.scxml39
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test30.json36
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test30.scxml51
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test31.json36
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test31.scxml54
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test4.json14
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test4.scxml59
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test5.json15
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test5.scxml58
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test6.json16
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test6.scxml63
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test7.json17
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test7.scxml62
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test8.json18
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test8.scxml53
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test9.json19
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test9.scxml53
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test0.json7
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test0.scxml31
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test1.json13
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test1.scxml51
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test2.json14
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test2.scxml63
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test3.json15
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test3.scxml76
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-0-0.js1
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-1-0.js1
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-1-1.js1
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-2-0.js1
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-2-1.js1
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-2-2.js1
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-2-3.js1
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-3-0.js3
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test0.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test0.scxml46
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test1.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test1.scxml42
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test2.json13
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test2.scxml62
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test3.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test3.scxml50
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/script/test0.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/script/test0.scxml48
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/script/test1.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/script/test1.scxml45
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/script/test2.json13
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/script/test2.scxml70
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/star0.json13
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/star0.scxml34
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/test0.json40
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/test0.scxml48
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/test1.json41
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/test1.scxml53
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/send-data/send1.json15
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/send-data/send1.scxml73
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/send-internal/test0.json9
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/send-internal/test0.scxml69
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test0.json12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test0.scxml39
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test1.json17
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test1.scxml43
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test2.json18
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test2.scxml47
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test3.json19
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test3.scxml73
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test144.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test144.txml.scxml23
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test147.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test147.txml.scxml30
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test148.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test148.txml.scxml31
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test149.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test149.txml.scxml25
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test150.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test150.txml.scxml41
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test151.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test151.txml.scxml41
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test152.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test152.txml.scxml48
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test153.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test153.txml.scxml35
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test155.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test155.txml.scxml26
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test156.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test156.txml.scxml28
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test158.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test158.txml.scxml23
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test159.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test159.txml.scxml20
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test172.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test172.txml.scxml20
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test173.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test173.txml.scxml21
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test174.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test174.txml.scxml21
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test175.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test175.txml.scxml27
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test176.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test176.txml.scxml30
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test178.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test178.txml.scxml27
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test179.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test179.txml.scxml18
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test183.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test183.txml.scxml21
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test185.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test185.txml.scxml23
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test186.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test186.txml.scxml31
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test187.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test187.txml.scxml33
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test194.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test194.txml.scxml22
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test198.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test198.txml.scxml19
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test199.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test199.txml.scxml18
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test200.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test200.txml.scxml18
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test201.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test201.txml.scxml19
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test205.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test205.txml.scxml30
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test207.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test207.txml.scxml56
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test208.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test208.txml.scxml21
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test210.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test210.txml.scxml24
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test215.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test215.txml.scxml29
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test216.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test216.txml.scxml22
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test220.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test220.txml.scxml21
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test223.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test223.txml.scxml29
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test224.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test224.txml.scxml31
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test225.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test225.txml.scxml38
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test226.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test226.txml.scxml23
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test228.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test228.txml.scxml33
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test229.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test229.txml.scxml42
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test230.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test230.txml.scxml62
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test232.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test232.txml.scxml40
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test233.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test233.txml.scxml35
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test234.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test234.txml.scxml66
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test235.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test235.txml.scxml23
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test236.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test236.txml.scxml39
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test237.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test237.txml.scxml41
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test239.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test239.txml.scxml32
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test240.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test240.txml.scxml67
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test241.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test241.txml.scxml98
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test242.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test242.txml.scxml53
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test243.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test243.txml.scxml36
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test244.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test244.txml.scxml39
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test245.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test245.txml.scxml34
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test247.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test247.txml.scxml22
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test250.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test250.txml.scxml42
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test252.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test252.txml.scxml47
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test253.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test253.txml.scxml79
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test276.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test276.txml.scxml17
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test278.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test278.txml.scxml21
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test279.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test279.txml.scxml21
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test280.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test280.txml.scxml28
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test286.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test286.txml.scxml18
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test287.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test287.txml.scxml19
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test294.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test294.txml.scxml46
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test298.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test298.txml.scxml23
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test301.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test301.txml.scxml13
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test302.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test302.txml.scxml15
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test303.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test303.txml.scxml20
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test304.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test304.txml.scxml13
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test307.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test307.txml.scxml42
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test309.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test309.txml.scxml12
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test310.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test310.txml.scxml18
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test311.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test311.txml.scxml16
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test312.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test312.txml.scxml20
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test313.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test313.txml.scxml21
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test314.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test314.txml.scxml34
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test318.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test318.txml.scxml27
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test319.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test319.txml.scxml20
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test321.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test321.txml.scxml15
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test322.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test322.txml.scxml33
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test323.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test323.txml.scxml15
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test324.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test324.txml.scxml21
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test325.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test325.txml.scxml18
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test326.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test326.txml.scxml35
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test329.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test329.txml.scxml53
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test330.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test330.txml.scxml23
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test331.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test331.txml.scxml60
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test332.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test332.txml.scxml29
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test333.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test333.txml.scxml16
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test335.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test335.txml.scxml16
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test336.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test336.txml.scxml25
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test337.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test337.txml.scxml16
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test338.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test338.txml.scxml39
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test339.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test339.txml.scxml16
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test342.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test342.txml.scxml25
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test343.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test343.txml.scxml34
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test344.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test344.txml.scxml20
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test346.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test346.txml.scxml53
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test355.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test355.txml.scxml14
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test364.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test364.txml.scxml73
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test372.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test372.txml.scxml28
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test375.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test375.txml.scxml26
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test376.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test376.txml.scxml22
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test377.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test377.txml.scxml31
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test378.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test378.txml.scxml25
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test387.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test387.txml.scxml97
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test388.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test388.txml.scxml76
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test396.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test396.txml.scxml16
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test399.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test399.txml.scxml66
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test401.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test401.txml.scxml21
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test402.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test402.txml.scxml40
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403a.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403a.txml.scxml43
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403b.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403b.txml.scxml40
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403c.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403c.txml.scxml54
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test404.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test404.txml.scxml60
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test405.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test405.txml.scxml67
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test406.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test406.txml.scxml64
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test407.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test407.txml.scxml20
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test409.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test409.txml.scxml32
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test411.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test411.txml.scxml32
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test412.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test412.txml.scxml52
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test413.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test413.txml.scxml45
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test416.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test416.txml.scxml22
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test417.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test417.txml.scxml34
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test419.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test419.txml.scxml17
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test421.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test421.txml.scxml28
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test422.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test422.txml.scxml75
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test423.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test423.txml.scxml25
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test436.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test436.txml.scxml21
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test441a.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test441a.txml.scxml44
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test441b.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test441b.txml.scxml44
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test444.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test444.txml.scxml16
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test445.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test445.txml.scxml16
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test448.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test448.txml.scxml31
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test449.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test449.txml.scxml11
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test451.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test451.txml.scxml18
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test453.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test453.txml.scxml19
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test456.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test456.txml.scxml19
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test487.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test487.txml.scxml17
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test488.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test488.txml.scxml34
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test503.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test503.txml.scxml37
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test504.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test504.txml.scxml75
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test505.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test505.txml.scxml47
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test506.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test506.txml.scxml53
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test521.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test521.txml.scxml23
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test525.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test525.txml.scxml26
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test527.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test527.txml.scxml25
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test528.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test528.txml.scxml34
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test529.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test529.txml.scxml25
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test530.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test530.txml.scxml26
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test533.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test533.txml.scxml62
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test550.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test550.txml.scxml20
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test551.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test551.txml.scxml23
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test552.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test552.txml.scxml18
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test553.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test553.txml.scxml_23
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test554.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test554.txml.scxml25
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test557.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test557.txml.scxml26
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test558.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test558.txml.scxml24
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test560.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test560.txml.scxml19
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test561.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test561.txml.scxml_24
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test562.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test562.txml.scxml22
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test569.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test569.txml.scxml15
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test570.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test570.txml.scxml45
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test576.txml.json4
-rw-r--r--tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test576.txml.scxml37
581 files changed, 14750 insertions, 0 deletions
diff --git a/tests/3rdparty/scion-tests/LICENSE.txt b/tests/3rdparty/scion-tests/LICENSE.txt
new file mode 100644
index 0000000..261eeb9
--- /dev/null
+++ b/tests/3rdparty/scion-tests/LICENSE.txt
@@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/tests/3rdparty/scion-tests/README.txt b/tests/3rdparty/scion-tests/README.txt
new file mode 100644
index 0000000..907d9d5
--- /dev/null
+++ b/tests/3rdparty/scion-tests/README.txt
@@ -0,0 +1,3 @@
+Test Suite taken from https://github.com/jbeard4/scxml-test-framework,
+the test framework of https://github.com/jbeard4/SCION .
+It is licensed with the Apache 2.0 license, see LICENSE.txt
diff --git a/tests/3rdparty/scion-tests/node-test-server.js b/tests/3rdparty/scion-tests/node-test-server.js
new file mode 100644
index 0000000..bb6b5c1
--- /dev/null
+++ b/tests/3rdparty/scion-tests/node-test-server.js
@@ -0,0 +1,80 @@
+//load statechart from scxml string; return initial state and token id
+
+//send event to statechart with tokenid
+//clean up statechart
+
+var scion = require('scion'),
+ http = require('http');
+
+var sessionCounter = 0, sessions = {}, timeouts = {}, timeoutMs = 5000;
+
+function loadScxml(scxmlStr){
+}
+
+function cleanUp(sessionToken){
+ delete sessions[sessionToken];
+}
+
+http.createServer(function (req, res) {
+ //TODO: set a timeout to clean up if we don't hear back for a while
+ var s = "";
+ req.on("data",function(data){
+ s += data;
+ });
+ req.on("end",function(){
+ var sessionToken;
+ try{
+ var reqJson = JSON.parse(s);
+ if(reqJson.load){
+ console.log("Loading new statechart");
+
+ scion.urlToModel(reqJson.load,function(err,model){
+ if(err){
+ console.error(err.stack);
+ res.writeHead(500, {'Content-Type': 'text/plain'});
+ res.end(err.message);
+ }else{
+ var interpreter = new scion.SCXML(model);
+
+ var sessionToken = sessionCounter;
+ sessionCounter++;
+ sessions[sessionToken] = interpreter;
+
+ var conf = interpreter.start();
+
+ res.writeHead(200, {'Content-Type': 'application/json'});
+ res.end(JSON.stringify({
+ sessionToken : sessionToken,
+ nextConfiguration : conf
+ }));
+
+ timeouts[sessionToken] = setTimeout(function(){cleanUp(sessionToken);},timeoutMs);
+ }
+ });
+
+ }else if(reqJson.event && (typeof reqJson.sessionToken === "number")){
+ console.log("sending event to statechart",reqJson.event);
+ sessionToken = reqJson.sessionToken;
+ var nextConfiguration = sessions[sessionToken].gen(reqJson.event);
+ console.log('nextConfiguration',nextConfiguration);
+ res.writeHead(200, {'Content-Type': 'application/json'});
+ res.end(JSON.stringify({
+ nextConfiguration : nextConfiguration
+ }));
+
+ clearTimeout(timeouts[sessionToken]);
+ timeouts[sessionToken] = setTimeout(function(){cleanUp(sessionToken);},timeoutMs);
+ }else{
+ //unrecognized. send back an error
+ res.writeHead(400, {'Content-Type': 'text/plain'});
+ res.end("Unrecognized request.\n");
+ }
+ }catch(e){
+ console.error(e.stack);
+ console.error(e);
+ res.writeHead(500, {'Content-Type': 'text/plain'});
+ res.end(e.message);
+ }
+ });
+}).listen(42000, '127.0.0.1');
+
diff --git a/tests/3rdparty/scion-tests/run-tests-node.sh b/tests/3rdparty/scion-tests/run-tests-node.sh
new file mode 100755
index 0000000..19d58ef
--- /dev/null
+++ b/tests/3rdparty/scion-tests/run-tests-node.sh
@@ -0,0 +1,46 @@
+if [ ! -e node_modules ]; then mkdir node_modules; fi
+npm install request underscore nopt node-static .. #install scion as a dependency, and scxml-test-framework's dependencies
+
+#start the server
+node node-test-server.js &
+#keep the pid (so we can kill it later)
+serverpid=$!
+
+sleep 1
+
+#run the client
+node scxml-test-framework/lib/test-client.js \
+ scxml-test-framework/test/actionSend/*.scxml \
+ scxml-test-framework/test/assign-current-small-step/*.scxml \
+ scxml-test-framework/test/atom3-basic-tests/*.scxml \
+ scxml-test-framework/test/basic/*.scxml \
+ scxml-test-framework/test/cond-js/*.scxml \
+ scxml-test-framework/test/default-initial-state/*.scxml \
+ scxml-test-framework/test/delayedSend/*.scxml \
+ scxml-test-framework/test/documentOrder/*.scxml \
+ scxml-test-framework/test/foreach/*.scxml \
+ scxml-test-framework/test/hierarchy/*.scxml \
+ scxml-test-framework/test/hierarchy+documentOrder/*.scxml \
+ scxml-test-framework/test/history/*.scxml \
+ scxml-test-framework/test/if-else/*.scxml \
+ scxml-test-framework/test/in/*.scxml \
+ scxml-test-framework/test/internal-transitions/*.scxml \
+ scxml-test-framework/test/more-parallel/*.scxml \
+ scxml-test-framework/test/multiple-events-per-transition/*.scxml \
+ scxml-test-framework/test/parallel/*.scxml \
+ scxml-test-framework/test/parallel+interrupt/*.scxml \
+ scxml-test-framework/test/script/*.scxml \
+ scxml-test-framework/test/script-src/*.scxml \
+ scxml-test-framework/test/scxml-prefix-event-name-matching/*.scxml \
+ scxml-test-framework/test/send-data/*.scxml \
+ scxml-test-framework/test/send-internal/*.scxml \
+ scxml-test-framework/test/targetless-transition/*.scxml
+
+status=$?
+
+#kill the server
+kill $serverpid
+
+if [ "$status" = '0' ]; then echo SUCCESS; else echo FAILURE; fi;
+
+exit $status
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/.gitignore b/tests/3rdparty/scion-tests/scxml-test-framework/.gitignore
new file mode 100644
index 0000000..2565ddd
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/.gitignore
@@ -0,0 +1,4 @@
+*.sw*
+node_modules
+
+test/w3c-ecma/.DS_Store
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/LICENSE.txt b/tests/3rdparty/scion-tests/scxml-test-framework/LICENSE.txt
new file mode 100644
index 0000000..261eeb9
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/LICENSE.txt
@@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/README.md b/tests/3rdparty/scion-tests/scxml-test-framework/README.md
new file mode 100644
index 0000000..72d9e86
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/README.md
@@ -0,0 +1,167 @@
+Overview
+========
+
+The SCXML Test Framework project has two main purposes:
+
+1. To collect test cases to run against SCXML implementations.
+2. To implement a generic test runner client for a client-server, HTTP- and JSON-based SCXML testing protocol. By separating out the client test runner from the SCXML interpreter on the server, it should be possible to test various SCXML implementations in a language-agnostic way.
+
+
+SCXML Test Cases
+===============
+
+Each SCXML test case comprises a pair of documents:
+
+- an SCXML document
+- a JSON "test script", which defines events to send into the state machine, and the expected basic state machine configuration after processing each event
+
+
+JSON Test Script
+----------------
+
+See test [basic/basic1.json](scxml-test-framework/blob/master/test/basic/basic1.json) for an example of the JSON test script format:
+
+```json
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["b"]
+ }
+ ]
+}
+```
+
+This test script indicates that after SCXML document [basic/basic1.scxml](scxml-test-framework/blob/master/test/basic/basic1.scxml) is loaded into the SCXML interpreter, the expected initial configuration of the state machine will be a single state with id "a". Next, an event with name "t" and no data will be dispatched on the state machine, and the resulting state machine configuration will be a single state with id "b".
+
+Note that the "initialConfiguration" and "nextConfiguration" properties should only contain the ids of expected *basic* states, which is to say "initialConfiguration" and "nextConfiguration" specify a "basic configuration", or a configuration of basic states. As a "full configuration", or a configuration composed of both basic and non-basic states, can be derived from a basic configuration, specifying only basic configurations in the test script can be done without leading to a loss of safety or generality.
+
+Also note that the format of the test script assumes that each event dispatched on the state machine will trigger a single macrostep which may update the state configuration. The state machine configuration at the end of the macrostep can then be compared to an expected configuration. The testing framework explicitly does not test the intermediate state changes resulting from individual microsteps. This implies that the SCXML implementation being tested must be able to report the state configuration at the end of a macrostep in order for this testing scheme to be applied.
+
+
+Delay
+-----
+
+The JSON test script may also specify that an event should be sent after a delay. For example, from [delayedSend/send1.json](scxml-test-framework/blob/master/test/delayedSend/send1.json):
+
+```json
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t1" },
+ "nextConfiguration" : ["b"]
+ },
+ {
+ "after" : 100,
+ "event" : { "name" : "t2" },
+ "nextConfiguration" : ["d"]
+ }
+ ]
+}
+```
+
+This test says that after SCXML document [delayedSend/send1.scxml](scxml-test-framework/blob/master/test/delayedSend/send1.scxml) is loaded, the initial configuration will contain only the state with id "a". After dispatching event "t1" on the loaded SCXML session, the next configuration will contain only state with id "b". The test runner will then wait 100 milliseconds, and subsequently dispatch event "t2" on the loaded SCXML session. The expected next configuration will contain only the state with id "d".
+
+
+Dependency on SCION Semantics
+-----------------------------
+
+The JSON test scripts included in this project assume a particular Statecharts semantics will be implemented by the SCXML interpreter. These semantics are currently those of the SCION project, which are documented [here](https://github.com/jbeard4/SCION/wiki/Scion-Semantics), and are not the same as the semantics specified by the Step Algorithm in the SCXML specification. The reason for this is documented [here](https://github.com/jbeard4/SCION/wiki/SCION-vs.-SCXML-Comparison). A desirable feature for this project would be to allow the test scripts to be parameterizable for different Statecharts semantics. For now the best approach to allow for alternative semantics is to fork this project and rewrite the JSON test scripts as needed.
+
+
+Test Runner Client
+==================
+
+The SCXML Test Framework project includes a test runner client, written in JavaScript for node.js, which implements the client side of an HTTP- and JSON-based SCXML testing protocol. The SCXML interpreter implementation to be tested runs on an HTTP server, which the SCXML interpreter project should provide. This should allow various SCXML implementations to be tested in a language-agnostic way.
+
+The test runner client can run tests sequentially or in parallel. It will exit when all tests have completed, and its exit status will be the number of tests failed or errored; thus, if all tests pass, the return status will be 0.
+
+
+Installation
+------------
+
+The SCXML Test Framework can be installed through npm, which is bundled with node.js:
+
+ npm install scxml-test-framework
+
+Or:
+
+ npm install git://github.com/jbeard4/scxml-test-framework.git
+
+
+Usage
+-----
+
+To run it:
+
+ node scxml-test-framework [--test-server-url url] [--parallel] [path/to/test1.scxml [path/to/test2.scxml ...]]
+
+For example, to run the client on all tests included in this project in parallel against the SCXML test server running on localhost:9000 (in the bash shell):
+
+ node scxml-test-framework --test-server-url localhost:9000 --parallel test/*/*.scxml
+
+Note that each SCXML document specified should have a JSON test script in the same directory, with the same basename and a ".json" extension. This is already done for the tests included with this project.
+
+Testing Protocol
+----------------
+
+A test case involves the following sequence of events:
+
+1. The client selects a test case, and sends the server a "load" event and a URL pointing to the associated SCXML document (the test client is also running a simple HTTP file server, and so is able to serve this document).
+2. The server receives request to load the SCXML document, downloads the document via an HTTP GET request, and creates a new SCXML session from the document. The server also generates a token that can be used to map subsequent client requests back to the newly-created SCXML session. The server then returns initial configuration of the SCXML session, and the generated token, to the client on the HTTP response.
+3. The client receives the server response, and compares the returned initial configuration to the expected initial configuration specified in the test script.
+4. For each event and expected configuration in JSON test script:
+ 1. The client sends event to server. Each event is sent along with SCXML session token.
+ 2. The server receives the event and token, and uses the token to retrieve SCXML session. The server then dispatches the received event on the SCXML session, and returns the new SCXML session configuration to the client on the HTTP response.
+ 3. The client receives the new configuration on the HTTP response and compares it to the expected configuration. If the configuration from the server matches the expected configuration, then the client will continue sending events; otherwise, the test fails.
+
+
+The use of tokens is needed because the client may run tests in parallel, rather than sequentially, which would require multiple SCXML sessions to be loaded on the server simultaneously, and the token is thus needed to distinguish them.
+
+
+Here is an example of the JSON sent over the wire when running test [basic/basic1.scxml](scxml-test-framework/blob/master/test/basic/basic1.scxml):
+
+Client request to load statechart.
+
+```json
+ {
+ "load":"http://localhost:9999/test/basic/basic1.scxml"
+ }
+```
+
+Server response with token and initial configuration
+
+```json
+ {
+ "sessionToken" : 1,
+ "nextConfiguration" : ["a"]
+ }
+```
+
+Client request to send event to statechart associated with token 1
+
+```json
+ {
+ "event" : { "name" : "t" },
+ "sessionToken" : 1
+ }
+```
+
+Server response with next state configuration
+
+```json
+ {
+ "nextConfiguration" : ["b"]
+ }
+```
+
+Server Implementation
+--------------------
+
+The following are examples of SCXML test server implementations:
+* [JavaScript (node.js)](https://github.com/jbeard4/SCION/blob/master/test/node-test-server.js)
+* [JavaScript (Rhino)](https://github.com/jbeard4/SCION/blob/master/test/rhino-test-server.js)
+* [Python](https://github.com/jbeard4/pySCION/blob/master/test/test-server.py)
+* [C#](https://github.com/jbeard4/SCION.NET/blob/master/test/TestServer.cs)
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/lib/test-client.js b/tests/3rdparty/scion-tests/scxml-test-framework/lib/test-client.js
new file mode 100644
index 0000000..5146534
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/lib/test-client.js
@@ -0,0 +1,245 @@
+//specify on the command-line tests to run...scxml files?
+
+//read tests from filesystem
+
+//run in two modes: parallel and serial
+
+//specify test-server to communicate with
+
+//client-server protocol:
+//send sc to load; initial configuration returned in the response, along with id token. compare
+//send event and id token; return new configuration; compare
+//when done, send "done" event so server can optionally clean up.
+
+//do the simplest thing first: run sequentially
+
+var fs = require('fs'),
+ path = require('path'),
+ _ = require('underscore'),
+ request = require('request'),
+ assert = require('assert'),
+ nopt = require('nopt'),
+ Static = require('node-static'),
+ http = require('http'),
+ urlModule = require('url'),
+ pathModule = require('path'),
+ knownOpts = {
+ "parallel" : Boolean,
+ "test-server-url" : String,
+ "file-server-port" : Number,
+ "file-server-host" : String,
+ "verbose" : Boolean,
+ "report" : Boolean
+ },
+ shortHands = {
+ "p" : "--parallel",
+ "t" : "--test-server-url",
+ "f" : "--file-server-port",
+ "h" : "--file-server-host",
+ "v" : "--verbose",
+ "r" : "--report"
+ },
+ parsed = nopt(knownOpts, shortHands);
+
+var fileServerPort = parsed['file-server-port'] || 9999,
+ fileServerHost = parsed['file-server-host'] || 'localhost';
+
+var cwd = process.cwd();
+
+//start serving files
+var file = new Static.Server(cwd);
+var fileServer = http.createServer(function (request, response) {
+ request.addListener('end', function () {
+ file.serve(request, response);
+ }).resume();
+});
+fileServer.listen(fileServerPort);
+console.log('File server listing on ',fileServerPort);
+
+//run tests
+var url = parsed["test-server-url"] || "http://localhost:42000/";
+var parallel = parsed.parallel;
+var verbose = parsed.verbose;
+var report = parsed.report;
+var scxmlTestFiles = parsed.argv.remain;
+
+//TODO: if scxmlTestFiles is empty, get all files ../test/*/*.scxml
+
+var testJson = scxmlTestFiles.map(function(s){return path.join(path.dirname(s),path.basename(s,'.scxml') + '.json');}).
+ map(function(f){return fs.readFileSync(f,'utf8');}).map(JSON.parse);
+var testPairs = _.zip(scxmlTestFiles,scxmlTestFiles,testJson);
+
+var testsPassed = 0, testsFailed = 0, testsErrored = 0, testResults = [];
+
+function testPair(pair,done){
+ var testName = pair[0], scxml = pair[1], testJson = pair[2], sessionToken, event;
+
+ function handleResponse(error, response, body){
+ if(error || response.statusCode !== 200){
+
+ console.log("\x1b[31mError\x1b[0m: " + testName);
+
+ if(verbose) {
+ console.error(error, body);
+ }
+
+ testResults.push({ name: testName, result: 'error', error: error, data: body });
+
+ testsErrored++;
+ done();
+ return;
+ }
+
+ try{
+ assert.deepEqual(
+ body.nextConfiguration.sort(),
+ ( ((typeof sessionToken !== 'undefined') && event) ? event.nextConfiguration : testJson.initialConfiguration).sort());
+ }catch(e){
+ console.log("\x1b[35mFailed\x1b[0m: " + testName);
+
+ if(verbose) {
+ console.error(e);
+ }
+
+ testsFailed++;
+
+ testResults.push({ name: testName, result: 'fail', error: e, data: body });
+
+ done();
+ return;
+ }
+
+ if((typeof body.sessionToken !== 'undefined') && (typeof sessionToken === 'undefined')){
+ sessionToken = body.sessionToken; //we send this along with all subsequent requests
+ }
+
+ sendEvent();
+ }
+
+ //send scxml
+ var loadUrl = urlModule.format({
+ protocol : 'http:',
+ hostname : fileServerHost,
+ port:fileServerPort,
+ pathname : scxml
+ });
+
+ if(verbose) {
+ console.log("loading",testName,loadUrl);
+ }
+
+ request.post( {
+ url : url,
+ json : {
+ load : loadUrl
+ }
+ }, handleResponse);
+
+ //send events until there are no more events
+ function sendEvent(){
+ event = testJson.events.shift();
+ if(event){
+ function doSend(){
+
+ if(verbose) {
+ console.log("sending event",event.event);
+ }
+
+ request.post(
+ {
+ url : url,
+ json : {
+ event : event.event,
+ sessionToken : sessionToken
+ }
+ },
+ handleResponse);
+ }
+
+ if(event.after){
+ console.log("waiting to send",event.after);
+ setTimeout(doSend,event.after);
+ }else{
+ doSend();
+ }
+ }else{
+ console.log("\x1b[32mPassed\x1b[0m: " + testName);
+
+ testsPassed++;
+
+ testResults.push({ name: testName, result: 'pass', error: null, data: null });
+
+ done();
+ }
+ }
+}
+
+function complete(){
+ //stop serving files
+ fileServer.close();
+
+ //print summary
+ console.log("TEST RESULTS");
+ console.log("\x1b[32mPassed: " + testsPassed + "\x1b[0m, \x1b[31mError: " + testsErrored + "\x1b[0m, \x1b[35mFailed: " + testsFailed + "\x1b[0m");
+
+ if(report) {
+ generate_html_report(testResults, function () {
+ process.exit(testsFailed + testsErrored);
+ });
+ } else {
+ process.exit(testsFailed + testsErrored);
+ }
+
+}
+
+function generate_html_report (results, report_done) {
+ var all_html = "<!doctype html><html><body><h1>Test Results</h1>";
+
+ all_html += "<h3>Summary</h3><p>NodeJs Version: " + process.version + " - " + new Date() + "<p>";
+
+ all_html += "<p>Passed: " + testsPassed + ", Error: " + testsErrored + ", Failed: " + testsFailed + "</p>";
+
+ all_html += "<h3>Tests</h3><table border='1'><tr><td>Name</td><td>Result</td><td>Error</td><td>Data</td></tr>";
+
+ for (var i = testResults.length - 1; i >= 0; i--) {
+
+ all_html += "<tr><td>" + testResults[i].name + "</td><td>" + testResults[i].result + "</td><td>" + testResults[i].error + "</td><td>" + JSON.stringify(testResults[i].data) + "</td></tr>";
+
+ };
+
+ all_html += "</body></html>";
+
+ var date_filename = new Date().getTime();
+
+ fs.writeFile("Report " + date_filename + ".html", all_html, function(err) {
+ if(err) {
+ console.log('Error creating report');
+ console.log(err);
+ report_done();
+ } else {
+ console.log("Report is created at /reports/" + date_filename);
+ report_done();
+ }
+ });
+}
+
+if(parallel){
+ //run in parallel
+ function done(){
+ if((testResults.length) === scxmlTestFiles.length) complete();
+ }
+ testPairs.forEach(function(pair){testPair(pair,done);});
+}else{
+ //run sequentially
+ (function(pair){
+ if(pair){
+ var f = arguments.callee;
+ var nextStep = function(){ f(testPairs.pop()); };
+ testPair(pair,nextStep);
+ }else{
+ //we're done
+ complete();
+ }
+ })(testPairs.pop());
+}
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/package.json b/tests/3rdparty/scion-tests/scxml-test-framework/package.json
new file mode 100644
index 0000000..2aa3f17
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/package.json
@@ -0,0 +1,38 @@
+{
+ "name": "scxml-test-framework",
+ "version": "0.0.1",
+ "description": "A set of SCXML tests, and an HTTP client test runner for testing against SCXML HTTP test servers.",
+ "keywords": [
+ "scxml",
+ "statecharts",
+ "w3c",
+ "javascript"
+ ],
+ "maintainers": [{
+ "name": "Jacob Beard",
+ "email": "jbeard4@cs.mcgill.ca",
+ "url": "http://echo-flow.com"
+ }],
+ "bugs": {
+ "email": "jbeard4@cs.mcgill.ca",
+ "url": "https://github.com/jbeard4/scxml-test-framework/issues"
+ },
+ "licenses": [
+ {
+ "type": "Apache-2.0",
+ "url": "https://github.com/jbeard4/scxml-test-framework/blob/master/LICENSE.txt"
+ }
+ ],
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/jbeard4/scxml-test-framework.git"
+ },
+ "dependencies": {
+ "request" : "*",
+ "underscore" : "*",
+ "nopt" : "*",
+ "node-static" : "*"
+ },
+ "engines" : { "node" : ">=0.4.7" },
+ "main": "./lib/test-client"
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/require.json b/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/require.json
new file mode 100644
index 0000000..1d2faec
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/require.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["b"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/require.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/require.scxml
new file mode 100644
index 0000000..221ad81
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/require.scxml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ profile="ecmascript"
+ id="root">
+
+ <datamodel>
+ <data id="util"/>
+ <data id="submodule1"/>
+ <data id="submodule2"/>
+ <data id="submodule3"/>
+ <data id="submodule4"/>
+ </datamodel>
+
+ <script>
+ util = require('util'); //require built-in module
+ console.log('hello');
+ submodule1 = require('./submodule1');
+ </script>
+
+ <script src="script2.js"/>
+
+ <state id="a">
+ <onentry>
+ <script>
+ submodule3 = require('./submodule3');
+ </script>
+ <script src="script4.js"/>
+ <log label="util" expr="util"/>
+ <log label="submodules" expr="[submodule1, submodule2, submodule3, submodule4]"/>
+ </onentry>
+
+ <transition event="t" target="b" cond="util &amp;&amp; submodule1 &amp;&amp; submodule2 &amp;&amp; submodule3 &amp;&amp; submodule4"/>
+ <transition event="t" target="f"/>
+ </state>
+
+ <state id="b"/>
+ <state id="f"/>
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/script2.js b/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/script2.js
new file mode 100644
index 0000000..25259e7
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/script2.js
@@ -0,0 +1 @@
+submodule2 = require('./submodule2');
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/script3.js b/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/script3.js
new file mode 100644
index 0000000..76a37e1
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/script3.js
@@ -0,0 +1 @@
+submodule3 = require('./submodule3');
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/script4.js b/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/script4.js
new file mode 100644
index 0000000..348b8c9
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/script4.js
@@ -0,0 +1 @@
+submodule4 = require('./submodule4');
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/submodule1.js b/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/submodule1.js
new file mode 100644
index 0000000..bd816ea
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/submodule1.js
@@ -0,0 +1 @@
+module.exports = 1;
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/submodule2.js b/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/submodule2.js
new file mode 100644
index 0000000..4bbffde
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/submodule2.js
@@ -0,0 +1 @@
+module.exports = 2;
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/submodule3.js b/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/submodule3.js
new file mode 100644
index 0000000..690aad3
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/submodule3.js
@@ -0,0 +1 @@
+module.exports = 3;
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/submodule4.js b/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/submodule4.js
new file mode 100644
index 0000000..a9bbdd8
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/require/submodule4.js
@@ -0,0 +1 @@
+module.exports = 4;
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/runner.js b/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/runner.js
new file mode 100644
index 0000000..da68716
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test-ext/node/runner.js
@@ -0,0 +1,11 @@
+var scion = require('scion');
+
+scion.pathToModel('require/require.scxml',function(err,model){
+ if(err) throw err;
+
+ var scxml = new scion.SCXML(model);
+ var initialConfig = scxml.start();
+ console.log("initialConfig",initialConfig);
+ var nextConfig = scxml.gen("t");
+ console.log("nextConfig",nextConfig);
+});
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send1.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send1.json
new file mode 100644
index 0000000..0e49c49
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send1.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send1.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send1.scxml
new file mode 100644
index 0000000..5c62852
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send1.scxml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ initial="a"
+ version="1.0">
+
+ <state id="a">
+ <transition target="b" event="t">
+ <raise event="s"/>
+ </transition>
+ </state>
+
+ <state id="b">
+ <transition target="c" event="s"/>
+ </state>
+
+ <state id="c">
+ </state>
+
+</scxml>
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send2.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send2.json
new file mode 100644
index 0000000..6831c27
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send2.json
@@ -0,0 +1,13 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c"]
+ }
+ ]
+}
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send2.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send2.scxml
new file mode 100644
index 0000000..6eb8dda
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send2.scxml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ initial="a"
+ version="1.0">
+
+ <state id="a">
+ <onexit>
+ <raise event="s"/>
+ </onexit>
+
+ <transition target="b" event="t">
+ </transition>
+ </state>
+
+ <state id="b">
+ <transition target="c" event="s"/>
+ </state>
+
+ <state id="c">
+ </state>
+
+</scxml>
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send3.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send3.json
new file mode 100644
index 0000000..a61d05d
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send3.json
@@ -0,0 +1,14 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c"]
+ }
+ ]
+}
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send3.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send3.scxml
new file mode 100644
index 0000000..c7237cf
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send3.scxml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ initial="a"
+ version="1.0">
+
+ <state id="a">
+ <transition target="b" event="t">
+ </transition>
+ </state>
+
+ <state id="b">
+ <onentry>
+ <raise event="s"/>
+ </onentry>
+
+ <transition target="c" event="s"/>
+ </state>
+
+ <state id="c">
+ </state>
+
+</scxml>
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send4.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send4.json
new file mode 100644
index 0000000..f5f76a3
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send4.json
@@ -0,0 +1,15 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["d"]
+ }
+ ]
+}
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send4.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send4.scxml
new file mode 100644
index 0000000..77ede37
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send4.scxml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+ This is a test to illustrate the event lifeline. In c, event "s" should no longer be in the event queue, as we are using Next Small Step semantics, so we should end up in d. This would not be true if we were using Remainder semantics.
+ -->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ initial="a"
+ version="1.0">
+
+ <state id="a">
+ <transition target="b" event="t">
+ </transition>
+ </state>
+
+ <state id="b">
+ <onentry>
+ <raise event="s"/>
+ </onentry>
+
+ <transition target="c" event="s"/>
+ <transition target="f1"/>
+ </state>
+
+ <state id="c">
+ <transition target="f2" event="s"/>
+ <transition target="d"/>
+ </state>
+
+ <state id="f1">
+ </state>
+
+ <state id="d">
+ </state>
+
+ <state id="f2">
+ </state>
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send5.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send5.json
new file mode 100644
index 0000000..60a56b6
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send5.json
@@ -0,0 +1,16 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["d"]
+ }
+ ]
+}
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send5.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send5.scxml
new file mode 100644
index 0000000..9e8a450
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send5.scxml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+ This is a test to illustrate the event lifeline, and how multiple events are handled. The whole set of triggered events will be dequeued from the inner event queue in the next small step. This is different from scxml, where only one event will be dequeued at a time in the next small step. So, SCXML semantics would lead to f2, whereas our semantics would lead to d.
+ -->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ initial="a"
+ version="1.0">
+
+ <state id="a">
+ <transition target="b" event="t">
+ </transition>
+ </state>
+
+ <state id="b">
+ <onentry>
+ <raise event="s"/>
+ <raise event="r"/>
+ </onentry>
+
+ <transition target="c" event="s"/>
+ <transition target="f1"/>
+ </state>
+
+ <state id="c">
+ <transition target="f2" event="r"/>
+ <transition target="d"/>
+ </state>
+
+ <state id="f1">
+ </state>
+
+ <state id="d">
+ </state>
+
+ <state id="f2">
+ </state>
+
+</scxml>
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send6.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send6.json
new file mode 100644
index 0000000..abb5069
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send6.json
@@ -0,0 +1,17 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["d"]
+ }
+ ]
+}
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send6.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send6.scxml
new file mode 100644
index 0000000..bb77351
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send6.scxml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+ This is a quick followup to send5.json, to show that order in the event set does not matter. Transitions with events r and s are switched.
+ -->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ initial="a"
+ version="1.0" >
+
+ <state id="a">
+ <transition target="b" event="t">
+ </transition>
+ </state>
+
+ <state id="b">
+ <onentry>
+ <raise event="s"/>
+ <raise event="r"/>
+ </onentry>
+
+ <transition target="c" event="r"/>
+ <transition target="f1"/>
+ </state>
+
+ <state id="c">
+ <transition target="f2" event="s"/>
+ <transition target="d"/>
+ </state>
+
+ <state id="f1">
+ </state>
+
+ <state id="d">
+ </state>
+
+ <state id="f2">
+ </state>
+
+</scxml>
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send7.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send7.json
new file mode 100644
index 0000000..7e334b0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send7.json
@@ -0,0 +1,18 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["b3"]
+ }
+ ]
+}
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send7.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send7.scxml
new file mode 100644
index 0000000..5e7dffd
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send7.scxml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+ Illustrates one of the edge cases of these semantics. Because initial transition will be taken in its own small step, triggered event "s" will be "lost" - not availble in the next small step from b1. Will therefore end up in b3.
+ -->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ initial="a"
+ version="1.0">
+
+ <state id="a">
+ <transition target="b" event="t">
+ <raise event="s"/>
+ </transition>
+ </state>
+
+ <state id="b" initial="b1">
+ <state id="b1">
+ <transition event="s" target="b2"/>
+ <transition target="b3"/>
+ </state>
+
+ <state id="b2">
+ </state>
+
+ <state id="b3">
+ </state>
+ </state>
+</scxml>
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send8.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send8.json
new file mode 100644
index 0000000..8b988bf
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send8.json
@@ -0,0 +1,19 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["b2"]
+ }
+ ]
+}
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send8.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send8.scxml
new file mode 100644
index 0000000..2484433
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/actionSend/send8.scxml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+ Illustrates one of the edge cases of these semantics. Followup to send7. If we target, not the outer composite state, but the inner state directly, the event will be available in the next small step. This is an example of the way in which these semantics break the synchrony hypthosesis.
+ -->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ initial="a"
+ version="1.0">
+
+ <state id="a">
+ <transition target="b1" event="t">
+ <raise event="s"/>
+ </transition>
+ </state>
+
+ <state id="b" initial="b1">
+ <state id="b1">
+ <transition event="s" target="b2"/>
+ <transition target="b3"/>
+ </state>
+
+ <state id="b2">
+ </state>
+
+ <state id="b3">
+ </state>
+ </state>
+</scxml>
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test0.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test0.json
new file mode 100644
index 0000000..0e49c49
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test0.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test0.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test0.scxml
new file mode 100644
index 0000000..12131d8
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test0.scxml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <datamodel>
+ <data id="x"/>
+ </datamodel>
+
+ <state id="a">
+ <onentry>
+ <!-- first -1 will be assigned to the datamodel. then, in the same small-step, this will be overridden by the 99 -->
+ <assign location="x" expr="-1"/>
+ <assign location="x" expr="99"/>
+ </onentry>
+
+ <!-- in order for this transition to be taken, a must be updated immediately, in the same small-step -->
+ <transition event="t" target="b" cond="x === 99">
+ <assign location="x" expr="x + 1"/>
+ </transition>
+ </state>
+
+ <state id="b">
+ <!-- use regular assignment syntax, assuming datamodel variables are in script scope -->
+ <onentry>
+ <script>
+ x *= 2;
+ </script>
+ </onentry>
+
+ <transition target="c" cond="x === 200"/>
+ <transition target="f"/>
+ </state>
+
+ <state id="c"/>
+
+ <state id="f"/>
+
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test1.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test1.json
new file mode 100644
index 0000000..0e49c49
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test1.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test1.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test1.scxml
new file mode 100644
index 0000000..21e8777
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test1.scxml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+ This test illustrates how possibly infinite loops may be created. Here, without the counter and the cond, the big-step would never complete.
+ -->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <datamodel>
+ <data id="i"/>
+ </datamodel>
+
+ <state id="a">
+ <transition target="b" event="t">
+ <assign location="i" expr="0"/>
+ </transition>
+ </state>
+
+ <state id="b">
+ <transition target="b" cond="i &lt; 100">
+ <assign location="i" expr="i + 1"/>
+ </transition>
+ <transition target="c" cond="i === 100"/>
+ </state>
+
+ <state id="c"/>
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test2.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test2.json
new file mode 100644
index 0000000..36628bc
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test2.json
@@ -0,0 +1,13 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["e"]
+ }
+ ]
+}
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test2.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test2.scxml
new file mode 100644
index 0000000..05cf13b
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test2.scxml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+ This is another test that illustrates how possibly infinite loops may be created. Here, without the counter and the cond, the big-step would never complete.
+ -->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <datamodel>
+ <data id="i"/>
+ </datamodel>
+
+ <state id="a">
+ <transition target="b" event="t">
+ <assign location="i" expr="0"/>
+ </transition>
+ </state>
+
+ <state id="A">
+
+ <state id="b">
+ <transition target="c" cond="i &lt; 100">
+ <assign location="i" expr="i + 1"/>
+ </transition>
+ </state>
+
+ <state id="c">
+ <transition target="b" cond="i &lt; 100">
+ <assign location="i" expr="i + 1"/>
+ </transition>
+ </state>
+
+ <transition target="d" cond="i === 100">
+ <assign location="i" expr="i * 2"/>
+ </transition>
+ </state>
+
+
+ <state id="d">
+ <transition target="e" cond="i === 200"/>
+ <transition target="f"/>
+ </state>
+
+ <state id="e"/>
+
+ <state id="f"/>
+
+</scxml>
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test3.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test3.json
new file mode 100644
index 0000000..58b5b14
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test3.json
@@ -0,0 +1,22 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t1" },
+ "nextConfiguration" : ["b1","c1"]
+ },
+ {
+ "event" : { "name" : "t2" },
+ "nextConfiguration" : ["b2","c2"]
+ },
+ {
+ "event" : { "name" : "t3" },
+ "nextConfiguration" : ["d"]
+ }
+ ]
+}
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test3.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test3.scxml
new file mode 100644
index 0000000..203ed43
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test3.scxml
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+ This test demonstrates the way the memory model semantics interact with transition order and concurrency semantics. Here, transitions originating from c1 and b1 will be taken in the same small-step, however i will not be updated until the end of that small step. The transitions actions are evaluated in document order, though, so the outcome is deterministic, so the assignment action on the transition originating from c1 will win.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <datamodel>
+ <data id="i"/>
+ </datamodel>
+
+ <state id="a">
+ <transition target="p" event="t1">
+ <assign location="i" expr="0"/>
+ </transition>
+ </state>
+
+ <parallel id="p">
+
+ <state id="b" initial="b1">
+ <state id="b1">
+ <transition event="t2" target="b2">
+ <assign location="i" expr="i + 1"/>
+ </transition>
+ </state>
+
+ <state id="b2">
+ </state>
+ </state>
+
+ <state id="c" initial="c1">
+ <state id="c1">
+ <transition event="t2" target="c2">
+ <assign location="i" expr="i - 1"/>
+ </transition>
+ </state>
+
+ <state id="c2">
+ </state>
+ </state>
+
+ <transition event="t3" target="d" cond="i === 0"/>
+ <transition event="t3" target="f"/>
+ </parallel>
+
+
+ <state id="d"/>
+
+ <state id="f"/>
+
+</scxml>
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test4.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test4.json
new file mode 100644
index 0000000..d616eb4
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test4.json
@@ -0,0 +1,9 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c"]
+ }
+ ]
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test4.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test4.scxml
new file mode 100644
index 0000000..64a8a8b
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/assign-current-small-step/test4.scxml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <datamodel>
+ <data id="x"/>
+ </datamodel>
+
+ <state id="a">
+ <onentry>
+ <assign location="x" expr="2"/>
+ </onentry>
+
+ <transition event="t" target="b1"/>
+ </state>
+
+ <state id="b">
+ <onentry>
+ <assign location="x" expr="x * 3"/>
+ <log expr="'b, x:' + x"/>
+ </onentry>
+
+ <state id="b1">
+ <onentry>
+ <assign location="x" expr="x * 5"/>
+ <log expr="'b1, x:' + x"/>
+ </onentry>
+ </state>
+
+ <state id="b2">
+ <onentry>
+ <assign location="x" expr="x * 7"/>
+ <log expr="'b2, x:' + x"/>
+ </onentry>
+ </state>
+
+ <transition target="c" cond="x === 30"/>
+ <transition target="f"/>
+ </state>
+
+ <state id="c"/>
+
+ <state id="f"/>
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m0.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m0.json
new file mode 100644
index 0000000..2121cdd
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m0.json
@@ -0,0 +1,13 @@
+{
+ "initialConfiguration" : ["A"],
+ "events" : [
+ {
+ "event" : { "name" : "e1" },
+ "nextConfiguration" : ["B"]
+ },
+ {
+ "event" : { "name" : "e2" },
+ "nextConfiguration" : ["A"]
+ }
+ ]
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m0.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m0.scxml
new file mode 100644
index 0000000..32026af
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m0.scxml
@@ -0,0 +1,18 @@
+<ns0:scxml
+ datamodel="ecmascript"
+ xmlns:ns0="http://www.w3.org/2005/07/scxml" version="1.0" name="root">
+ <ns0:state id="A">
+ <ns0:onentry>
+ <ns0:log expr="&quot;entering A&quot;"/>
+ </ns0:onentry>
+ <ns0:onexit>
+ <ns0:log expr="&quot;exiting A&quot;"/>
+ </ns0:onexit>
+ <ns0:transition target="B" event="e1">
+ <ns0:log expr="&quot;doing A-&gt;B transition&quot;"/>
+ </ns0:transition>
+ </ns0:state>
+ <ns0:state id="B">
+ <ns0:transition target="A" event="e2"/>
+ </ns0:state>
+</ns0:scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m1.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m1.json
new file mode 100644
index 0000000..eb25138
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m1.json
@@ -0,0 +1,14 @@
+{
+ "initialConfiguration" : ["A"],
+ "events" : [
+ {
+ "event" : { "name" : "e1" },
+ "nextConfiguration" : ["B"]
+ },
+ {
+ "event" : { "name" : "e2" },
+ "nextConfiguration" : ["A"]
+ }
+ ]
+}
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m1.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m1.scxml
new file mode 100644
index 0000000..6d8a01f
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m1.scxml
@@ -0,0 +1,20 @@
+<ns0:scxml
+ datamodel="ecmascript"
+ xmlns:ns0="http://www.w3.org/2005/07/scxml" version="1.0" name="root">
+ <ns0:state id="A">
+ <ns0:onentry>
+ <ns0:log expr="&quot;entering state A&quot;"/>
+ </ns0:onentry>
+ <ns0:onexit>
+ <ns0:log expr="&quot;exiting state A&quot;"/>
+ </ns0:onexit>
+ <ns0:transition target="B" event="e1">
+ <ns0:log expr="&quot;triggered by e1&quot;"/>
+ </ns0:transition>
+ </ns0:state>
+ <ns0:state id="B">
+ <ns0:transition target="A" event="e2">
+ <ns0:log expr="&quot;triggered by e2&quot;"/>
+ </ns0:transition>
+ </ns0:state>
+</ns0:scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m2.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m2.json
new file mode 100644
index 0000000..3ac5a1a
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m2.json
@@ -0,0 +1,15 @@
+{
+ "initialConfiguration" : ["A"],
+ "events" : [
+ {
+ "event" : { "name" : "e1" },
+ "nextConfiguration" : ["B"]
+ },
+ {
+ "event" : { "name" : "e2" },
+ "nextConfiguration" : ["A"]
+ }
+ ]
+}
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m2.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m2.scxml
new file mode 100644
index 0000000..eb959b9
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m2.scxml
@@ -0,0 +1,25 @@
+<ns0:scxml
+ datamodel="ecmascript"
+ xmlns:ns0="http://www.w3.org/2005/07/scxml" version="1.0" name="root">
+ <ns0:state id="AB">
+ <ns0:initial>
+ <ns0:transition target="A"/>
+ </ns0:initial>
+ <ns0:state id="A">
+ <ns0:onentry>
+ <ns0:log expr="&quot;entering state A&quot;"/>
+ </ns0:onentry>
+ <ns0:onexit>
+ <ns0:log expr="&quot;exiting state A&quot;"/>
+ </ns0:onexit>
+ <ns0:transition target="B" event="e1">
+ <ns0:log expr="&quot;triggered by e1&quot;"/>
+ </ns0:transition>
+ </ns0:state>
+ <ns0:state id="B">
+ <ns0:transition target="A" event="e2">
+ <ns0:log expr="&quot;triggered by e2&quot;"/>
+ </ns0:transition>
+ </ns0:state>
+ </ns0:state>
+</ns0:scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m3.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m3.json
new file mode 100644
index 0000000..7a3414f
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m3.json
@@ -0,0 +1,24 @@
+{
+ "initialConfiguration" : ["A"],
+ "events" : [
+ {
+ "event" : { "name" : "e1" },
+ "nextConfiguration" : ["B"]
+ },
+ {
+ "event" : { "name" : "e2" },
+ "nextConfiguration" : ["A"]
+ },
+ {
+ "event" : { "name" : "e1" },
+ "nextConfiguration" : ["B"]
+ },
+ {
+ "event" : { "name" : "e1" },
+ "nextConfiguration" : ["C"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m3.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m3.scxml
new file mode 100644
index 0000000..a2ceb34
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/atom3-basic-tests/m3.scxml
@@ -0,0 +1,34 @@
+<ns0:scxml
+ datamodel="ecmascript"
+ xmlns:ns0="http://www.w3.org/2005/07/scxml" version="1.0" name="root">
+ <ns0:state id="AB">
+ <ns0:initial>
+ <ns0:transition target="A"/>
+ </ns0:initial>
+ <ns0:state id="A">
+ <ns0:onentry>
+ <ns0:log expr="&quot;entering state A&quot;"/>
+ </ns0:onentry>
+ <ns0:onexit>
+ <ns0:log expr="&quot;exiting state A&quot;"/>
+ </ns0:onexit>
+ <ns0:transition target="B" event="e1">
+ <ns0:log expr="&quot;triggered by e1&quot;"/>
+ </ns0:transition>
+ </ns0:state>
+ <ns0:state id="B">
+ <ns0:transition target="A" event="e2">
+ <ns0:log expr="&quot;triggered by e2&quot;"/>
+ </ns0:transition>
+ </ns0:state>
+ <ns0:transition target="C" event="e1"/>
+ </ns0:state>
+ <ns0:state id="C">
+ <ns0:onentry>
+ <ns0:log expr="&quot;entering state C&quot;"/>
+ </ns0:onentry>
+ <ns0:onexit>
+ <ns0:log expr="&quot;exiting state C&quot;"/>
+ </ns0:onexit>
+ </ns0:state>
+</ns0:scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic0.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic0.json
new file mode 100644
index 0000000..0df730d
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic0.json
@@ -0,0 +1,6 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : []
+}
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic0.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic0.scxml
new file mode 100644
index 0000000..23eff63
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic0.scxml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="a">
+
+ <state id="a"/>
+
+</scxml>
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic1.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic1.json
new file mode 100644
index 0000000..c27c2fd
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic1.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["b"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic1.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic1.scxml
new file mode 100644
index 0000000..304efbc
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic1.scxml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <state id="a">
+ <transition target="b" event="t"/>
+ </state>
+
+ <state id="b"/>
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic2.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic2.json
new file mode 100644
index 0000000..9eac7e9
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic2.json
@@ -0,0 +1,16 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["b"]
+ },
+ {
+ "event" : { "name" : "t2" },
+ "nextConfiguration" : ["c"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic2.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic2.scxml
new file mode 100644
index 0000000..68057fd
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/basic/basic2.scxml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <state id="a">
+ <transition target="b" event="t"/>
+ </state>
+
+ <state id="b">
+ <transition target="c" event="t2"/>
+ </state>
+
+ <state id="c"/>
+
+</scxml>
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/TestConditionalTransition.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/TestConditionalTransition.json
new file mode 100644
index 0000000..2806be0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/TestConditionalTransition.json
@@ -0,0 +1,33 @@
+{
+ "initialConfiguration" : ["b"],
+ "events" : [
+ {
+ "event" : { "name" : "t1" },
+ "nextConfiguration" : ["d1"]
+ },
+ {
+ "event" : { "name" : "t2" },
+ "nextConfiguration" : ["e1"]
+ },
+ {
+ "event" : { "name" : "t3" },
+ "nextConfiguration" : ["f2"]
+ },
+ {
+ "event" : { "name" : "t4" },
+ "nextConfiguration" : ["h"]
+ },
+ {
+ "event" : { "name" : "t5" },
+ "nextConfiguration" : ["i"]
+ },
+ {
+ "event" : { "name" : "t5" },
+ "nextConfiguration" : ["last"]
+ }
+ ]
+}
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/TestConditionalTransition.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/TestConditionalTransition.scxml
new file mode 100644
index 0000000..5d541be
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/TestConditionalTransition.scxml
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<!--
+This is to test transitions with guard conditions, and multiple
+transitions originating from the same state.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ name="root">
+
+ <!-- default transition -->
+ <state id="a">
+ <transition target="b"/>
+ </state>
+
+ <!-- regular transition -->
+ <state id="b">
+ <transition target="c" event="t1"/>
+ </state>
+
+ <!-- two default transitions, first should get priority (based on document order), end in d1 -->
+ <state id="c">
+ <transition target="d1"/>
+ <transition target="d2"/>
+ </state>
+
+ <!-- two regular transitions, first should get priority, end in e1 -->
+ <state id="d1">
+ <transition target="e1" event="t2"/>
+ <transition target="e2" event="t2"/>
+ </state>
+
+ <state id="d2"/>
+
+ <!-- two transitions with guard conditions;
+ first has priority, but will fail, so second transition should be taken,
+ end in f2 -->
+ <state id="e1">
+ <transition target="f1" event="t3" cond="false"/>
+ <transition target="f2" event="t3" cond="true"/>
+ </state>
+
+ <state id="e2"/>
+
+ <state id="f1"/>
+
+ <!-- like above, but with three transitions -->
+ <state id="f2">
+ <transition target="g1" event="t4" cond="false"/>
+ <transition target="g2" event="t4" cond="false"/>
+ <transition target="g3" event="t4" cond="true"/>
+ </state>
+
+ <state id="g1"/>
+
+ <state id="g2"/>
+
+ <state id="g3">
+
+ <initial>
+ <transition target="h"/>
+ </initial>
+
+ <!-- this one should pass -->
+ <state id="h">
+ <transition target="i" event="t5" cond="true"/>
+ </state>
+
+ <!-- this one should not pass, and the outer transition should be taken -->
+ <state id="i">
+ <transition target="j" event="t5" cond="false"/>
+ </state>
+
+ <state id="j"/>
+
+ <transition target="last" event="t5" cond="true"/>
+ </state>
+
+ <state id="last"/>
+</scxml>
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test0.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test0.json
new file mode 100644
index 0000000..c27c2fd
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test0.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["b"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test0.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test0.scxml
new file mode 100644
index 0000000..696f55b
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test0.scxml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <state id="a">
+ <transition target="b" event="t" cond="true"/>
+ </state>
+
+ <state id="b"/>
+
+</scxml>
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test1.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test1.json
new file mode 100644
index 0000000..c27c2fd
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test1.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["b"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test1.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test1.scxml
new file mode 100644
index 0000000..84fe1fa
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test1.scxml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <state id="a">
+ <transition target="f" event="t" cond="false"/>
+ <transition target="b" event="t" cond="true"/>
+ </state>
+
+ <state id="b"/>
+
+ <state id="f"/>
+
+</scxml>
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test2.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test2.json
new file mode 100644
index 0000000..c27c2fd
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test2.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["b"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test2.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test2.scxml
new file mode 100644
index 0000000..696f55b
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/cond-js/test2.scxml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <state id="a">
+ <transition target="b" event="t" cond="true"/>
+ </state>
+
+ <state id="b"/>
+
+</scxml>
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/default-initial-state/initial1.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/default-initial-state/initial1.json
new file mode 100644
index 0000000..c27c2fd
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/default-initial-state/initial1.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["b"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/default-initial-state/initial1.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/default-initial-state/initial1.scxml
new file mode 100644
index 0000000..76634c2
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/default-initial-state/initial1.scxml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+ <!-- notice that no id is specified here -->
+
+ <state id="a">
+ <transition target="b" event="t"/>
+ </state>
+
+ <state id="b"/>
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/default-initial-state/initial2.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/default-initial-state/initial2.json
new file mode 100644
index 0000000..6c8bd47
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/default-initial-state/initial2.json
@@ -0,0 +1,13 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["b"]
+ }
+ ]
+}
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/default-initial-state/initial2.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/default-initial-state/initial2.scxml
new file mode 100644
index 0000000..0fc28b9
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/default-initial-state/initial2.scxml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="a">
+
+ <state id="a">
+ <transition target="b" event="t"/>
+ </state>
+
+ <state id="b"/>
+
+</scxml>
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send1.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send1.json
new file mode 100644
index 0000000..2c1cda6
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send1.json
@@ -0,0 +1,17 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t1" },
+ "nextConfiguration" : ["b"]
+ },
+ {
+ "after" : 100,
+ "event" : { "name" : "t2" },
+ "nextConfiguration" : ["d"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send1.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send1.scxml
new file mode 100644
index 0000000..de2d401
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send1.scxml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <state id="a">
+ <transition target="b" event="t1">
+ <send event="s" delay="10ms"/>
+ </transition>
+ </state>
+
+ <state id="b">
+ <transition target="c" event="s"/>
+ </state>
+
+ <state id="c">
+ <transition target="d" event="t2"/>
+ </state>
+
+ <state id="d"/>
+
+</scxml>
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send2.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send2.json
new file mode 100644
index 0000000..2c1cda6
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send2.json
@@ -0,0 +1,17 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t1" },
+ "nextConfiguration" : ["b"]
+ },
+ {
+ "after" : 100,
+ "event" : { "name" : "t2" },
+ "nextConfiguration" : ["d"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send2.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send2.scxml
new file mode 100644
index 0000000..c16064a
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send2.scxml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <state id="a">
+ <onexit>
+ <send event="s" delay="10ms"/>
+ </onexit>
+
+ <transition target="b" event="t1">
+ </transition>
+ </state>
+
+ <state id="b">
+ <transition target="c" event="s"/>
+ </state>
+
+ <state id="c">
+ <transition target="d" event="t2"/>
+ </state>
+
+ <state id="d"/>
+
+</scxml>
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send3.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send3.json
new file mode 100644
index 0000000..2c1cda6
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send3.json
@@ -0,0 +1,17 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t1" },
+ "nextConfiguration" : ["b"]
+ },
+ {
+ "after" : 100,
+ "event" : { "name" : "t2" },
+ "nextConfiguration" : ["d"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send3.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send3.scxml
new file mode 100644
index 0000000..6c2fcc9
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/delayedSend/send3.scxml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <state id="a">
+ <transition target="b" event="t1">
+ </transition>
+ </state>
+
+ <state id="b">
+ <onentry>
+ <send event="s" delay="10ms"/>
+ </onentry>
+
+ <transition target="c" event="s"/>
+ </state>
+
+ <state id="c">
+ <transition target="d" event="t2"/>
+ </state>
+
+ <state id="d"/>
+
+</scxml>
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/documentOrder/documentOrder0.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/documentOrder/documentOrder0.json
new file mode 100644
index 0000000..c27c2fd
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/documentOrder/documentOrder0.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["b"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/documentOrder/documentOrder0.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/documentOrder/documentOrder0.scxml
new file mode 100644
index 0000000..530a981
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/documentOrder/documentOrder0.scxml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <state id="a">
+ <transition target="b" event="t"/>
+ <transition target="c" event="t"/>
+ </state>
+
+ <state id="b"/>
+
+ <state id="c"/>
+</scxml>
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/foreach/test1.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/foreach/test1.json
new file mode 100644
index 0000000..0e49c49
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/foreach/test1.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/foreach/test1.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/foreach/test1.scxml
new file mode 100644
index 0000000..6b7f87e
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/foreach/test1.scxml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+ This test illustrates how possibly infinite loops may be created. Here, without the counter and the cond, the big-step would never complete.
+ -->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <datamodel>
+ <data id="myArray" expr="[1,3,5,7,9]"/>
+ <data id="myItem" expr="0"/>
+ <data id="myIndex" expr="0"/>
+ <data id="sum" expr="0"/>
+ <data id="indexSum" expr="0"/>
+ </datamodel>
+
+ <state id="a">
+ <onentry>
+ <log label="before" expr="[sum,indexSum]"/>
+ <foreach array="myArray" item="myItem" index="myIndex">
+ <assign location="sum" expr="sum + myItem"/>
+ <assign location="indexSum" expr="indexSum + myIndex"/>
+ </foreach>
+ <foreach array="myArray" item="myItem">
+ <assign location="sum" expr="sum + myItem"/>
+ </foreach>
+ <log label="after" expr="[sum,indexSum]"/>
+ </onentry>
+ <transition target="c" event="t" cond="sum === 50 &amp;&amp; indexSum === 10"/>
+ </state>
+
+ <state id="c"/>
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy+documentOrder/test0.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy+documentOrder/test0.json
new file mode 100644
index 0000000..116f26c
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy+documentOrder/test0.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a1"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a2"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy+documentOrder/test0.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy+documentOrder/test0.scxml
new file mode 100644
index 0000000..540c944
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy+documentOrder/test0.scxml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <state id="a">
+ <state id="a1">
+ <transition target="a2" event="t"/>
+ <transition target="c" event="t"/>
+ </state>
+
+ <state id="a2">
+ </state>
+
+ <transition target="b" event="t"/>
+ </state>
+
+ <state id="b"/>
+
+ <state id="c"/>
+
+
+</scxml>
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy+documentOrder/test1.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy+documentOrder/test1.json
new file mode 100644
index 0000000..7fd2206
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy+documentOrder/test1.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a1"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["b"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy+documentOrder/test1.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy+documentOrder/test1.scxml
new file mode 100644
index 0000000..7f29543
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy+documentOrder/test1.scxml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <state id="a">
+ <state id="a1">
+ <transition target="b" event="t"/>
+ <transition target="c" event="t"/>
+ </state>
+
+ <state id="a2">
+ </state>
+
+ <transition target="a2" event="t"/>
+ </state>
+
+ <state id="b"/>
+
+ <state id="c"/>
+
+
+</scxml>
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier0.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier0.json
new file mode 100644
index 0000000..116f26c
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier0.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a1"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a2"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier0.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier0.scxml
new file mode 100644
index 0000000..dad78a3
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier0.scxml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <state id="a">
+ <state id="a1">
+ <transition target="a2" event="t"/>
+ </state>
+
+ <state id="a2">
+ </state>
+ </state>
+
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier1.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier1.json
new file mode 100644
index 0000000..116f26c
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier1.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a1"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a2"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier1.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier1.scxml
new file mode 100644
index 0000000..c4d76ee
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier1.scxml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <state id="a">
+ <state id="a1">
+ <transition target="a2" event="t"/>
+ </state>
+
+ <state id="a2">
+ </state>
+
+ <transition target="b" event="t"/>
+ </state>
+
+ <state id="b"/>
+
+
+</scxml>
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier2.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier2.json
new file mode 100644
index 0000000..7fd2206
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier2.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a1"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["b"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier2.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier2.scxml
new file mode 100644
index 0000000..d0405f6
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/hierarchy/hier2.scxml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <state id="a">
+ <state id="a1">
+ <transition target="b" event="t"/>
+ </state>
+
+ <state id="a2">
+ </state>
+
+ <transition target="a2" event="t"/>
+ </state>
+
+ <state id="b"/>
+
+
+</scxml>
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history0.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history0.json
new file mode 100644
index 0000000..cba3ae5
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history0.json
@@ -0,0 +1,23 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t1" },
+ "nextConfiguration" : ["b2"]
+ },
+ {
+ "event" : { "name" : "t2" },
+ "nextConfiguration" : ["b3"]
+ },
+ {
+ "event" : { "name" : "t3" },
+ "nextConfiguration" : ["a"]
+ },
+ {
+ "event" : { "name" : "t1" },
+ "nextConfiguration" : ["b3"]
+ }
+ ]
+}
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history0.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history0.scxml
new file mode 100644
index 0000000..0dbd622
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history0.scxml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="a">
+
+ <state id="a">
+ <transition target="h" event="t1"/>
+ </state>
+
+ <state id="b" initial="b1">
+
+ <history id="h">
+ <transition target="b2"/>
+ </history>
+
+ <state id="b1"/>
+
+ <state id="b2">
+ <transition event="t2" target="b3"/>
+ </state>
+
+ <state id="b3">
+ <transition event="t3" target="a"/>
+ </state>
+ </state>
+
+</scxml>
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history1.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history1.json
new file mode 100644
index 0000000..1dfeb82
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history1.json
@@ -0,0 +1,24 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t1" },
+ "nextConfiguration" : ["b1.2"]
+ },
+ {
+ "event" : { "name" : "t2" },
+ "nextConfiguration" : ["b1.3"]
+ },
+ {
+ "event" : { "name" : "t3" },
+ "nextConfiguration" : ["a"]
+ },
+ {
+ "event" : { "name" : "t1" },
+ "nextConfiguration" : ["b1.3"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history1.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history1.scxml
new file mode 100644
index 0000000..6d2235f
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history1.scxml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="a">
+
+ <state id="a">
+ <transition target="h" event="t1"/>
+ </state>
+
+ <state id="b" initial="b1">
+
+ <history id="h" type="deep">
+ <transition target="b1.2"/>
+ </history>
+
+ <state id="b1" initial="b1.1">
+ <state id="b1.1"/>
+
+ <state id="b1.2">
+ <transition event="t2" target="b1.3"/>
+ </state>
+
+ <state id="b1.3">
+ <transition event="t3" target="a"/>
+ </state>
+ </state>
+
+
+ </state>
+
+</scxml>
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history2.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history2.json
new file mode 100644
index 0000000..4cc3ee4
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history2.json
@@ -0,0 +1,25 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t1" },
+ "nextConfiguration" : ["b1.2"]
+ },
+ {
+ "event" : { "name" : "t2" },
+ "nextConfiguration" : ["b1.3"]
+ },
+ {
+ "event" : { "name" : "t3" },
+ "nextConfiguration" : ["a"]
+ },
+ {
+ "event" : { "name" : "t1" },
+ "nextConfiguration" : ["b1.1"]
+ }
+ ]
+}
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history2.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history2.scxml
new file mode 100644
index 0000000..2a2ab95
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history2.scxml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="a">
+
+ <state id="a">
+ <transition target="h" event="t1"/>
+ </state>
+
+ <state id="b" initial="b1">
+
+ <history id="h" type="shallow">
+ <transition target="b1.2"/>
+ </history>
+
+ <state id="b1" initial="b1.1">
+ <state id="b1.1"/>
+
+ <state id="b1.2">
+ <transition event="t2" target="b1.3"/>
+ </state>
+
+ <state id="b1.3">
+ <transition event="t3" target="a"/>
+ </state>
+ </state>
+
+
+ </state>
+
+</scxml>
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history3.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history3.json
new file mode 100644
index 0000000..4786e3a
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history3.json
@@ -0,0 +1,26 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t1" },
+ "nextConfiguration" : ["b1","c1"]
+ },
+ {
+ "event" : { "name" : "t2" },
+ "nextConfiguration" : ["b2","c2"]
+ },
+ {
+ "event" : { "name" : "t3" },
+ "nextConfiguration" : ["a"]
+ },
+ {
+ "event" : { "name" : "t4" },
+ "nextConfiguration" : ["b2","c2"]
+ }
+ ]
+}
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history3.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history3.scxml
new file mode 100644
index 0000000..6fd4de1
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history3.scxml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="a">
+
+
+ <state id="a">
+ <transition target="p" event="t1"/>
+ <transition target="h" event="t4"/>
+ </state>
+
+ <parallel id="p">
+ <history id="h" type="deep">
+ <transition target="b"/>
+ </history>
+
+ <state id="b" initial="b1">
+ <state id="b1">
+ <transition target="b2" event="t2"/>
+ </state>
+
+ <state id="b2"/>
+ </state>
+
+ <state id="c" initial="c1">
+ <state id="c1">
+ <transition target="c2" event="t2"/>
+ </state>
+
+ <state id="c2"/>
+ </state>
+
+ <transition target="a" event="t3"/>
+ </parallel>
+</scxml>
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history4.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history4.json
new file mode 100644
index 0000000..e5bbc31
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history4.json
@@ -0,0 +1,47 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t1" },
+ "nextConfiguration" : ["b1.1","c1.1"]
+ },
+ {
+ "event" : { "name" : "t2" },
+ "nextConfiguration" : ["b1.2","c1.2"]
+ },
+ {
+ "event" : { "name" : "t3" },
+ "nextConfiguration" : ["b2.1","c2.1"]
+ },
+ {
+ "event" : { "name" : "t4" },
+ "nextConfiguration" : ["b2.2","c2.2"]
+ },
+ {
+ "event" : { "name" : "t5" },
+ "nextConfiguration" : ["a"]
+ },
+ {
+ "event" : { "name" : "t6" },
+ "nextConfiguration" : ["b2.2","c2.1"]
+ },
+ {
+ "event" : { "name" : "t7" },
+ "nextConfiguration" : ["b2.2","c2.2"]
+ },
+ {
+ "event" : { "name" : "t8" },
+ "nextConfiguration" : ["a"]
+ },
+ {
+ "event" : { "name" : "t9" },
+ "nextConfiguration" : ["b2.2","c2.2"]
+ }
+ ]
+}
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history4.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history4.scxml
new file mode 100644
index 0000000..4c59e17
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history4.scxml
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+ illustrates both deep and shallow history, working in both AND and OR states
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="a">
+
+
+ <state id="a">
+ <transition target="p" event="t1"/>
+ <transition target="p" event="t6"/>
+ <transition target="hp" event="t9"/>
+ </state>
+
+ <parallel id="p">
+ <history id="hp" type="deep">
+ <transition target="b"/>
+ </history>
+
+ <state id="b" initial="hb">
+
+ <history id="hb" type="deep">
+ <transition target="b1"/>
+ </history>
+
+ <state id="b1" initial="b1.1">
+ <state id="b1.1">
+ <transition target="b1.2" event="t2"/>
+ </state>
+
+ <state id="b1.2">
+ <transition target="b2" event="t3"/>
+ </state>
+ </state>
+
+ <state id="b2" initial="b2.1">
+ <state id="b2.1">
+ <transition target="b2.2" event="t4"/>
+ </state>
+
+ <state id="b2.2">
+ <transition target="a" event="t5"/>
+ <transition target="a" event="t8"/>
+ </state>
+ </state>
+ </state>
+
+ <state id="c" initial="hc">
+
+ <history id="hc" type="shallow">
+ <transition target="c1"/>
+ </history>
+
+ <state id="c1" initial="c1.1">
+ <state id="c1.1">
+ <transition target="c1.2" event="t2"/>
+ </state>
+
+ <state id="c1.2">
+ <transition target="c2" event="t3"/>
+ </state>
+ </state>
+
+ <state id="c2" initial="c2.1">
+ <state id="c2.1">
+ <transition target="c2.2" event="t4"/>
+ <transition target="c2.2" event="t7"/>
+ </state>
+
+ <state id="c2.2">
+ </state>
+ </state>
+ </state>
+ </parallel>
+</scxml>
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history5.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history5.json
new file mode 100644
index 0000000..fcd1cb6
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history5.json
@@ -0,0 +1,19 @@
+{
+ "initialConfiguration" : ["i1","j","h","g","f1","k"],
+ "events" : [
+ {
+ "event" : { "name" : "t1" },
+ "nextConfiguration" : ["i2","j","h","g","f2","k"]
+ },
+ {
+ "event" : { "name" : "t2" },
+ "nextConfiguration" : ["l"]
+ },
+ {
+ "event" : { "name" : "t3" },
+ "nextConfiguration" : ["i2","j","h","g","f2","k"]
+ }
+
+
+ ]
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history5.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history5.scxml
new file mode 100644
index 0000000..0b97e26
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history5.scxml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+illustrates deep history with many parallel states
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="a">
+
+ <parallel id="a">
+ <history id="ha" type="deep">
+ <transition target="b"/>
+ </history>
+
+ <parallel id="b">
+ <parallel id="c">
+ <parallel id="d">
+ <parallel id="e">
+
+ <state id="i" initial="i1">
+ <state id="i1">
+ <transition target="i2" event="t1"/>
+ </state>
+
+ <state id="i2">
+ <transition target="l" event="t2"/>
+ </state>
+ </state>
+
+ <state id="j"/>
+ </parallel>
+
+ <state id="h"/>
+ </parallel>
+
+ <state id="g"/>
+ </parallel>
+
+ <state id="f" initial="f1">
+ <state id="f1">
+ <transition target="f2" event="t1"/>
+ </state>
+
+ <state id="f2">
+ </state>
+ </state>
+ </parallel>
+
+ <state id="k"/>
+ </parallel>
+
+ <state id="l">
+ <transition target="ha" event="t3"/>
+ </state>
+
+</scxml>
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history6.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history6.json
new file mode 100644
index 0000000..ff5c582
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history6.json
@@ -0,0 +1,28 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t1" },
+ "nextConfiguration" : ["b2"]
+ },
+ {
+ "event" : { "name" : "t2" },
+ "nextConfiguration" : ["b3"]
+ },
+ {
+ "event" : { "name" : "t3" },
+ "nextConfiguration" : ["a"]
+ },
+ {
+ "event" : { "name" : "t1" },
+ "nextConfiguration" : ["b3"]
+ },
+ {
+ "event" : { "name" : "t4" },
+ "nextConfiguration" : ["success"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history6.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history6.scxml
new file mode 100644
index 0000000..48cfd9a
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/history/history6.scxml
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="a">
+
+ <datamodel>
+ <data id="x" expr="2"/>
+ </datamodel>
+
+ <state id="a">
+ <transition target="h" event="t1"/>
+ </state>
+
+ <state id="b" initial="b1">
+ <onentry>
+ <assign location="x" expr="x * 3"/>
+ <log expr="'b, x:' + x"/>
+ </onentry>
+
+ <history id="h">
+ <transition target="b2"/>
+ </history>
+
+ <state id="b1"/>
+
+ <state id="b2">
+ <onentry>
+ <assign location="x" expr="x * 5"/>
+ <log expr="'b2, x:' + x"/>
+ </onentry>
+ <transition event="t2" target="b3"/>
+ </state>
+
+ <state id="b3">
+ <onentry>
+ <assign location="x" expr="x * 7"/>
+ <log expr="'b3, x:' + x"/>
+ </onentry>
+ <transition event="t3" target="a"/>
+ </state>
+
+ <!-- 4410 should be the value of x after the following sequence of enter actions:
+ a, b, b2, b3, a, b, b3 -->
+ <transition event="t4" target="success" cond="x === 4410"/>
+ <!-- we make a special 'really-fail' state because of a particular bug in SCION I am trying to illustrate -->
+ <transition event="t4" target="really-fail" cond="x === 1470"/>
+ <!-- for everything else, we just fail -->
+ <transition event="t4" target="fail"/>
+ </state>
+
+ <state id="success"/>
+
+ <state id="fail"/>
+
+ <state id="really-fail"/>
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/if-else/test0.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/if-else/test0.json
new file mode 100644
index 0000000..0e49c49
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/if-else/test0.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/if-else/test0.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/if-else/test0.scxml
new file mode 100644
index 0000000..3dfc1a5
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/if-else/test0.scxml
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <datamodel>
+ <data id="x" expr="0"/>
+ </datamodel>
+
+ <state id="a">
+ <onentry>
+ <!-- test if -->
+ <log label="x" expr="x"/>
+ <if cond="x === 0">
+ <assign location="x" expr="10"/>
+ <elseif cond="x === 10"/>
+ <assign location="x" expr="20"/>
+ <else/>
+ <assign location="x" expr="30"/>
+ </if>
+ <log label="x" expr="x"/>
+ </onentry>
+
+ <transition event="t" target="b" cond="x === 10">
+ <assign location="x" expr="x + 1"/>
+ </transition>
+
+ <onexit>
+ <!-- test else -->
+ <log label="x" expr="x"/>
+ <if cond="x !== 10">
+ <assign location="x" expr="x * 3"/>
+ <else/>
+ <assign location="x" expr="x * 2"/>
+ </if>
+ <log label="x" expr="x"/>
+ </onexit>
+ </state>
+
+ <state id="b">
+ <onentry>
+ <!-- test elseif -->
+ <log label="x" expr="x"/>
+ <if cond="x === 0">
+ <assign location="x" expr="100"/>
+ <elseif cond="x === 21"/>
+ <assign location="x" expr="x + 2"/>
+ <assign location="x" expr="x + 3"/>
+ <else/>
+ <assign location="x" expr="200"/>
+ </if>
+
+ <if cond="x === 26">
+ <assign location="x" expr="x + 1"/>
+ </if>
+
+ <if cond="x === 26">
+ <elseif cond="x === 27"/>
+ <assign location="x" expr="x + 1"/>
+ <else/>
+ <assign location="x" expr="x + 10"/>
+ </if>
+
+ <if cond="x === 28">
+ <assign location="x" expr="x + 12"/>
+ <if cond="x === 40">
+ <assign location="x" expr="x + 10"/>
+ </if>
+ </if>
+
+ <if cond="x === 50">
+ <assign location="x" expr="x + 1"/>
+ <if cond="x !== 51">
+ <else/>
+ <assign location="x" expr="x + 20"/>
+ </if>
+ </if>
+
+ <log label="x" expr="x"/>
+ </onentry>
+
+ <transition target="c" cond="x === 71"/>
+ <transition target="f"/>
+ </state>
+
+ <state id="c"/>
+
+ <state id="f"/>
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/in/TestInPredicate.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/in/TestInPredicate.json
new file mode 100644
index 0000000..861374e
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/in/TestInPredicate.json
@@ -0,0 +1,48 @@
+{
+ "initialConfiguration" : ["a1","a2"],
+ "events" : [
+ {
+ "event" : { "name" : "t1" },
+ "nextConfiguration" : ["b1","a2"]
+ },
+ {
+ "event" : { "name" : "t2" },
+ "nextConfiguration" : ["c1","a2"]
+ },
+ {
+ "event" : { "name" : "t3" },
+ "nextConfiguration" : ["d1","a2"]
+ },
+ {
+ "event" : { "name" : "t4" },
+ "nextConfiguration" : ["e1","a2"]
+ },
+ {
+ "event" : { "name" : "t5" },
+ "nextConfiguration" : ["f1","a2"]
+ },
+ {
+ "event" : { "name" : "t6" },
+ "nextConfiguration" : ["g1","b2"]
+ },
+ {
+ "event" : { "name" : "t7" },
+ "nextConfiguration" : ["h1","d2"]
+ },
+ {
+ "event" : { "name" : "t8" },
+ "nextConfiguration" : ["i1","d2"]
+ },
+ {
+ "event" : { "name" : "t9" },
+ "nextConfiguration" : ["j1","e2"]
+ },
+ {
+ "event" : { "name" : "t10" },
+ "nextConfiguration" : ["k1","e2"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/in/TestInPredicate.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/in/TestInPredicate.scxml
new file mode 100644
index 0000000..d89611b
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/in/TestInPredicate.scxml
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<!--
+This is to test the use of the In() predicate.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ initial="p1"
+ version="1.0">
+
+ <parallel id="p1">
+
+ <state id="r1" initial="a1">
+ <!-- sanity tests -->
+ <state id="a1">
+ <transition event="t1" target="b1" cond="In('a1')"/>
+ </state>
+
+ <state id="b1">
+ <transition event="t2" target="c1" cond="In('r1')"/>
+ </state>
+
+ <state id="c1">
+ <transition event="t3" target="d1" cond="In('p1')"/>
+ </state>
+
+ <!-- tests for failure -->
+ <state id="d1">
+ <transition event="t4" target="e1" cond="!In('e2')"/>
+ </state>
+
+ <state id="e1">
+ <transition event="t5" target="f1" cond="!In('c2')"/>
+ </state>
+
+ <!-- tests for success -->
+ <state id="f1">
+ <transition event="t6" target="g1" cond="In('a2')">
+ <raise event="gen1"/>
+ </transition>
+ </state>
+
+ <state id="g1">
+ <transition event="t7" target="h1" cond="In('b2')">
+ <raise event="gen2"/>
+ </transition>
+ </state>
+
+ <state id="h1">
+ <transition event="t8" target="i1" cond="In('c2')"/>
+ </state>
+
+ <state id="i1">
+ <transition event="t9" target="j1" cond="In('d2')">
+ <raise event="gen3"/>
+ </transition>
+ </state>
+
+ <state id="j1">
+ <transition event="t10" target="k1" cond="In('e2')"/>
+ </state>
+
+ <state id="k1"/>
+
+ </state>
+
+ <state id="r2" initial="a2">
+ <state id="a2">
+ <transition event="gen1" target="b2"/>
+ </state>
+
+ <state id="b2">
+ <transition event="gen2" target="c2"/>
+ </state>
+
+ <state id="c2">
+ <initial>
+ <transition target="d2"/>
+ </initial>
+
+ <state id="d2">
+ <transition event="gen3" target="e2"/>
+ </state>
+
+ <state id="e2"/>
+ </state>
+ </state>
+
+ </parallel>
+
+</scxml>
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/internal-transitions/test0.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/internal-transitions/test0.json
new file mode 100644
index 0000000..4808030
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/internal-transitions/test0.json
@@ -0,0 +1,17 @@
+{
+ "initialConfiguration" : ["a1"],
+ "events" : [
+ {
+ "event" : { "name" : "t1" },
+ "nextConfiguration" : ["a2"]
+ },
+ {
+ "event" : { "name" : "t2" },
+ "nextConfiguration" : ["b"]
+ },
+ {
+ "event" : { "name" : "t3" },
+ "nextConfiguration" : ["c"]
+ }
+ ]
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/internal-transitions/test0.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/internal-transitions/test0.scxml
new file mode 100644
index 0000000..f9a620d
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/internal-transitions/test0.scxml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ datamodel="ecmascript">
+
+ <datamodel>
+ <data id="x" expr="0"/>
+ </datamodel>
+
+ <transition event="*">
+ <log label="x" expr="x"/>
+ </transition>
+
+ <state id="a">
+ <onentry>
+ <assign location="x" expr="x + 1"/>
+ </onentry>
+
+ <onexit>
+ <assign location="x" expr="x + 1"/>
+ </onexit>
+
+ <state id="a1">
+ </state>
+
+ <state id="a2">
+ <!-- if we had exited and re-entered 'a', then x would be 3. but instead it's 1 -->
+ <transition target="b" event="t2" cond="x === 1" />
+ </state>
+
+ <transition target="a2" event="t1" type="internal" cond="x === 1"/>
+ </state>
+
+ <state id="b">
+ <transition target="c" event="t3" cond="x === 2" />
+ </state>
+
+ <state id="c"/>
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/internal-transitions/test1.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/internal-transitions/test1.json
new file mode 100644
index 0000000..d3e59ca
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/internal-transitions/test1.json
@@ -0,0 +1,18 @@
+{
+ "initialConfiguration" : ["a1", "b1"],
+ "events" : [
+ {
+ "event" : { "name" : "t1" },
+ "nextConfiguration" : ["a2", "b1"]
+ },
+ {
+ "event" : { "name" : "t2" },
+ "nextConfiguration" : ["c"]
+ },
+ {
+ "event" : { "name" : "t3" },
+ "nextConfiguration" : ["d"]
+ }
+ ]
+}
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/internal-transitions/test1.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/internal-transitions/test1.scxml
new file mode 100644
index 0000000..81e7cc3
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/internal-transitions/test1.scxml
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ datamodel="ecmascript">
+
+ <datamodel>
+ <data id="x" expr="0"/>
+ </datamodel>
+
+ <parallel id="p">
+ <onentry>
+ <assign location="x" expr="x + 1"/>
+ </onentry>
+
+ <onexit>
+ <assign location="x" expr="x + 1"/>
+ </onexit>
+
+ <state id="a">
+ <onentry>
+ <assign location="x" expr="x + 1"/>
+ </onentry>
+
+ <onexit>
+ <assign location="x" expr="x + 1"/>
+ </onexit>
+
+ <state id="a1">
+ <onentry>
+ <assign location="x" expr="x + 1"/>
+ </onentry>
+
+ <onexit>
+ <assign location="x" expr="x + 1"/>
+ </onexit>
+ </state>
+
+ <state id="a2">
+ <onentry>
+ <assign location="x" expr="x + 1"/>
+ </onentry>
+
+ <onexit>
+ <assign location="x" expr="x + 1"/>
+ </onexit>
+
+ <!-- exited a1 (3 + 1 = 4), entered a2 (4 + 1 = 5) -->
+ <transition target="c" event="t2" cond="x === 5"/>
+ </state>
+
+ <!-- entered p, a, a1 (x = 1 + 1 + 1 = 3) -->
+ <transition target="a2" event="t1" type="internal" cond="x === 3"/>
+ </state>
+
+ <state id="b">
+ <state id="b1">
+ </state>
+
+ <state id="b2">
+ </state>
+ </state>
+
+ </parallel>
+
+ <state id="c">
+ <!-- exited a2, a, p (5 + 1 + 1 + 1 = 8) -->
+ <transition target="d" event="t3" cond="x === 8"/>
+ </state>
+
+ <state id="d"/>
+
+</scxml>
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test0.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test0.json
new file mode 100644
index 0000000..a316c55
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test0.json
@@ -0,0 +1,10 @@
+{
+ "initialConfiguration" : ["a","b"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a","b"]
+ }
+
+ ]
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test0.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test0.scxml
new file mode 100644
index 0000000..19ab416
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test0.scxml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <parallel id="p">
+ <state id="a">
+ <transition target="a" event="t"/>
+ </state>
+
+ <state id="b"/>
+ </parallel>
+
+</scxml>
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test1.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test1.json
new file mode 100644
index 0000000..0fb5018
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test1.json
@@ -0,0 +1,10 @@
+{
+ "initialConfiguration" : ["a1","b1"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a1","b1"]
+ }
+
+ ]
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test1.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test1.scxml
new file mode 100644
index 0000000..58eee87
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test1.scxml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <parallel id="p">
+ <state id="a">
+
+ <transition event="t" target="a"/>
+
+ <state id="a1"/>
+
+ <state id="a2"/>
+ </state>
+
+ <state id="b">
+
+ <state id="b1"/>
+
+ <state id="b2"/>
+ </state>
+ </parallel>
+
+
+</scxml>
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test10.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test10.json
new file mode 100644
index 0000000..b02dc37
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test10.json
@@ -0,0 +1,17 @@
+{
+ "initialConfiguration" : ["a","b"],
+ "events" : [
+ {
+ "event" : { "name" : "t1" },
+ "nextConfiguration" : ["a","b"]
+ },
+ {
+ "event" : { "name" : "t2" },
+ "nextConfiguration" : ["c"]
+ },
+ {
+ "event" : { "name" : "t3" },
+ "nextConfiguration" : ["d"]
+ }
+ ]
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test10.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test10.scxml
new file mode 100644
index 0000000..1d6f371
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test10.scxml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <datamodel>
+ <data id="x" expr="0"/>
+ </datamodel>
+
+ <parallel id="p">
+ <onentry>
+ <assign location="x" expr="x +1"/>
+ </onentry>
+ <onexit>
+ <assign location="x" expr="x + 1"/>
+ </onexit>
+
+ <state id="a">
+ <onentry>
+ <assign location="x" expr="x + 1"/>
+ </onentry>
+ <onexit>
+ <assign location="x" expr="x + 1"/>
+ </onexit>
+
+ <!-- we've entered p, a, so x === 2 here -->
+
+ <transition target="a" event="t1" cond="x === 2"/>
+ </state>
+
+ <state id="b"/>
+
+ <!-- we've exited and re-entered p, a, so x === 6 here -->
+ <transition target="c" event="t2" cond="x === 6"/>
+ </parallel>
+
+ <state id="c">
+ <!-- we've exited p, a here, so x === 8 -->
+ <transition target="d" event="t3" cond="x === 8"/>
+ </state>
+
+ <state id="d"/>
+
+</scxml>
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test2.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test2.json
new file mode 100644
index 0000000..afcef7a
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test2.json
@@ -0,0 +1,10 @@
+{
+ "initialConfiguration" : ["a1","b1"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a1","b2"]
+ }
+
+ ]
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test2.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test2.scxml
new file mode 100644
index 0000000..2adbb3b
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test2.scxml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <parallel id="p">
+ <state id="a">
+
+ <transition event="t" target="a"/>
+
+ <state id="a1"/>
+
+ <state id="a2"/>
+ </state>
+
+ <state id="b">
+
+ <state id="b1">
+ <transition event="t" target="b2"/>
+ </state>
+
+ <state id="b2"/>
+ </state>
+ </parallel>
+
+
+</scxml>
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test3.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test3.json
new file mode 100644
index 0000000..bc31df4
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test3.json
@@ -0,0 +1,11 @@
+{
+ "initialConfiguration" : ["a1","b1"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a1","b2"]
+ }
+
+ ]
+}
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test3.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test3.scxml
new file mode 100644
index 0000000..14d613e
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test3.scxml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0" >
+
+ <parallel id="p">
+ <state id="a">
+
+ <transition event="t" target="a2"/>
+
+ <state id="a1"/>
+
+ <state id="a2"/>
+ </state>
+
+ <state id="b">
+
+ <state id="b1">
+ <transition event="t" target="b2"/>
+ </state>
+
+ <state id="b2"/>
+ </state>
+ </parallel>
+
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test4.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test4.json
new file mode 100644
index 0000000..3f05f83
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test4.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a1","b1"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a1","b1"]
+ }
+
+ ]
+}
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test4.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test4.scxml
new file mode 100644
index 0000000..b211cad
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test4.scxml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <parallel id="p">
+ <state id="a">
+
+ <transition event="t" target="a"/>
+
+ <state id="a1"/>
+
+ <state id="a2"/>
+ </state>
+
+ <state id="b">
+
+ <transition event="t" target="b"/>
+
+ <state id="b1"/>
+
+ <state id="b2"/>
+ </state>
+ </parallel>
+
+
+</scxml>
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test5.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test5.json
new file mode 100644
index 0000000..b07bacf
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test5.json
@@ -0,0 +1,13 @@
+{
+ "initialConfiguration" : ["a1","b1"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a2","b1"]
+ }
+
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test5.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test5.scxml
new file mode 100644
index 0000000..7f4c7ab
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test5.scxml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <parallel id="p">
+ <state id="a">
+
+ <transition event="t" target="a2"/>
+
+ <state id="a1"/>
+
+ <state id="a2"/>
+ </state>
+
+ <state id="b">
+
+ <transition event="t" target="b2"/>
+
+ <state id="b1"/>
+
+ <state id="b2"/>
+ </state>
+ </parallel>
+
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test6.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test6.json
new file mode 100644
index 0000000..9e33fe5
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test6.json
@@ -0,0 +1,10 @@
+{
+ "initialConfiguration" : ["a11","b11"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a11","b12"]
+ }
+
+ ]
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test6.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test6.scxml
new file mode 100644
index 0000000..efe2442
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test6.scxml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <parallel id="p">
+ <state id="a">
+
+ <transition event="t" target="a22"/>
+
+ <state id="a1">
+ <state id="a11"/>
+ <state id="a12"/>
+ </state>
+
+ <state id="a2">
+ <state id="a21"/>
+ <state id="a22"/>
+ </state>
+ </state>
+
+ <state id="b">
+
+ <state id="b1">
+ <state id="b11">
+ <transition event="t" target="b12"/>
+ </state>
+ <state id="b12"/>
+ </state>
+
+ <state id="b2">
+ <state id="b21"/>
+ <state id="b22"/>
+ </state>
+ </state>
+ </parallel>
+
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test7.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test7.json
new file mode 100644
index 0000000..db9e53f
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test7.json
@@ -0,0 +1,11 @@
+{
+ "initialConfiguration" : ["a11","b11"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a22","b11"]
+ }
+
+ ]
+}
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test7.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test7.scxml
new file mode 100644
index 0000000..dcaee1e
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test7.scxml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <parallel id="p">
+ <state id="a">
+
+ <transition event="t" target="a22"/>
+
+ <state id="a1">
+ <state id="a11"/>
+ <state id="a12"/>
+ </state>
+
+ <state id="a2">
+ <state id="a21"/>
+ <state id="a22"/>
+ </state>
+ </state>
+
+ <state id="b">
+
+ <transition event="t" target="b22"/>
+
+ <state id="b1">
+ <state id="b11"/>
+ <state id="b12"/>
+ </state>
+
+ <state id="b2">
+ <state id="b21"/>
+ <state id="b22"/>
+ </state>
+ </state>
+ </parallel>
+
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test8.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test8.json
new file mode 100644
index 0000000..d36bc3c
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test8.json
@@ -0,0 +1,10 @@
+{
+ "initialConfiguration" : ["x"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a22","b11"]
+ }
+
+ ]
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test8.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test8.scxml
new file mode 100644
index 0000000..1c6f60c
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test8.scxml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <state id="x">
+ <transition event="t" target="a22"/>
+ </state>
+
+ <parallel id="p">
+ <state id="a">
+ <state id="a1">
+ <state id="a11"/>
+ <state id="a12"/>
+ </state>
+
+ <state id="a2">
+ <state id="a21"/>
+ <state id="a22"/>
+ </state>
+ </state>
+
+ <state id="b">
+
+ <state id="b1">
+ <state id="b11"/>
+ <state id="b12"/>
+ </state>
+
+ <state id="b2">
+ <state id="b21"/>
+ <state id="b22"/>
+ </state>
+ </state>
+ </parallel>
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test9.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test9.json
new file mode 100644
index 0000000..142f1f7
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test9.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["x"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a22","b22"]
+ }
+
+ ]
+}
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test9.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test9.scxml
new file mode 100644
index 0000000..0e95f17
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/more-parallel/test9.scxml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <state id="x">
+ <transition event="t" target="a22 b22"/>
+ </state>
+
+ <parallel id="p">
+ <state id="a">
+ <state id="a1">
+ <state id="a11"/>
+ <state id="a12"/>
+ </state>
+
+ <state id="a2">
+ <state id="a21"/>
+ <state id="a22"/>
+ </state>
+ </state>
+
+ <state id="b">
+
+ <state id="b1">
+ <state id="b11"/>
+ <state id="b12"/>
+ </state>
+
+ <state id="b2">
+ <state id="b21"/>
+ <state id="b22"/>
+ </state>
+ </state>
+ </parallel>
+</scxml>
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/multiple-events-per-transition/test1.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/multiple-events-per-transition/test1.json
new file mode 100644
index 0000000..155aa6f
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/multiple-events-per-transition/test1.json
@@ -0,0 +1,20 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "foo" },
+ "nextConfiguration" : ["b"]
+ },
+ {
+ "event" : { "name" : "bar" },
+ "nextConfiguration" : ["c"]
+ },
+ {
+ "event" : { "name" : "bat" },
+ "nextConfiguration" : ["d"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/multiple-events-per-transition/test1.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/multiple-events-per-transition/test1.scxml
new file mode 100644
index 0000000..3ee5fa2
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/multiple-events-per-transition/test1.scxml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <state id="a">
+ <transition target="b" event="foo bar bat"/>
+ </state>
+
+ <state id="b">
+ <transition target="c" event="foo bar bat"/>
+ </state>
+
+ <state id="c">
+ <transition target="d" event="foo bar bat"/>
+ </state>
+
+ <state id="d"/>
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test0.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test0.json
new file mode 100644
index 0000000..95b109d
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test0.json
@@ -0,0 +1,10 @@
+{
+ "initialConfiguration" : ["c","d"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a1"]
+ }
+
+ ]
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test0.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test0.scxml
new file mode 100644
index 0000000..e8072f0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test0.scxml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+orthogonal preemption - inner or states interrupt one-another
+in our semantics, source state is at the same level of hierarchy, so document order will resolve conflict. a1 will win.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+ <state id="c">
+ <transition event="t" target="a1"/>
+ </state>
+
+ <state id="d">
+ <transition event="t" target="a2"/>
+ </state>
+
+ </parallel>
+
+ <state id="a1"/>
+
+ <state id="a2"/>
+</scxml>
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test1.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test1.json
new file mode 100644
index 0000000..723901c
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test1.json
@@ -0,0 +1,11 @@
+{
+ "initialConfiguration" : ["c1","d1"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c2","d1"]
+ }
+
+ ]
+}
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test1.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test1.scxml
new file mode 100644
index 0000000..83ad119
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test1.scxml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+orthogonal preemption - transition originating at inner OR state interrupts transition originating at orthogonal OR state.
+first OR state should win, as the transitions originate at the same level of hierarchy, and wins by document order
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+ <state id="c" initial="c1">
+ <state id="c1">
+ <transition event="t" target="c2"/>
+ </state>
+
+ <state id="c2"/>
+ </state>
+
+ <state id="d" initial="d1">
+ <state id="d1">
+ <transition event="t" target="a1"/>
+ </state>
+ </state>
+
+ </parallel>
+
+ <state id="a1"/>
+</scxml>
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test10.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test10.json
new file mode 100644
index 0000000..cc1a4ff
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test10.json
@@ -0,0 +1,20 @@
+{
+ "initialConfiguration" : ["b1","b2"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c1","c2"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test10.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test10.scxml
new file mode 100644
index 0000000..b68c38e
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test10.scxml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+no conflict here
+initial: [b1,b2]
+after t: [c1,c2]
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="a">
+
+ <state id="a" initial="b">
+
+ <transition event="t" target="c"/>
+
+ <parallel id="b">
+ <state id="b1">
+ </state>
+
+ <state id="b2">
+ </state>
+ </parallel>
+
+ <parallel id="c">
+ <state id="c1">
+ </state>
+
+ <state id="c2">
+ </state>
+ </parallel>
+ </state>
+
+</scxml>
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test11.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test11.json
new file mode 100644
index 0000000..19f29fb
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test11.json
@@ -0,0 +1,21 @@
+{
+ "initialConfiguration" : ["b1","b2"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["d"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test11.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test11.scxml
new file mode 100644
index 0000000..c098dc0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test11.scxml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+initial: [b1,b2]
+after t: [d]
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="a">
+
+ <state id="a" initial="b">
+
+ <parallel id="b">
+ <state id="b1">
+ <transition event="t" target="d"/>
+ </state>
+
+ <state id="b2">
+ <transition event="t" target="c"/>
+ </state>
+
+ </parallel>
+
+ <parallel id="c">
+ <state id="c1">
+ </state>
+
+ <state id="c2">
+ </state>
+ </parallel>
+
+ </state>
+
+ <state id="d"/>
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test12.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test12.json
new file mode 100644
index 0000000..93a1a43
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test12.json
@@ -0,0 +1,22 @@
+{
+ "initialConfiguration" : ["b1","b2"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c1","c2"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test12.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test12.scxml
new file mode 100644
index 0000000..f7025a4
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test12.scxml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+initial: [b1,b2]
+after t: [c1,c2]
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="a">
+
+ <state id="a" initial="b">
+ <parallel id="b">
+ <state id="b1">
+ <transition event="t" target="c"/>
+ </state>
+
+ <state id="b2">
+ <transition event="t" target="d"/>
+ </state>
+
+ </parallel>
+
+ <parallel id="c">
+ <state id="c1">
+ </state>
+
+ <state id="c2">
+ </state>
+ </parallel>
+
+ </state>
+
+ <state id="d"/>
+
+</scxml>
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test13.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test13.json
new file mode 100644
index 0000000..f84429c
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test13.json
@@ -0,0 +1,23 @@
+{
+ "initialConfiguration" : ["b1","b2"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c1","c2"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test13.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test13.scxml
new file mode 100644
index 0000000..5e87469
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test13.scxml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+initial: [b1,b2]
+after t: [c1,c2]
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="a">
+
+ <state id="a" initial="b">
+
+ <parallel id="b">
+ <state id="b1">
+ <transition event="t" target="c"/>
+ </state>
+
+ <state id="b2">
+ </state>
+
+ <transition event="t" target="d"/>
+
+ </parallel>
+
+ <parallel id="c">
+ <state id="c1">
+ </state>
+
+ <state id="c2">
+ </state>
+ </parallel>
+
+ </state>
+
+ <state id="d"/>
+
+</scxml>
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test14.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test14.json
new file mode 100644
index 0000000..f3c1994
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test14.json
@@ -0,0 +1,24 @@
+{
+ "initialConfiguration" : ["i1","j","h","g","f1","k"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["l"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test14.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test14.scxml
new file mode 100644
index 0000000..dead195
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test14.scxml
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+initial: [i1,j,h,g,f1,i1,k]
+after t: [l]
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="a">
+
+ <parallel id="a">
+ <parallel id="b">
+ <parallel id="c">
+ <parallel id="d">
+ <parallel id="e">
+
+ <state id="i" initial="i1">
+ <state id="i1">
+ <transition target="l" event="t"/>
+ </state>
+
+ <state id="i2">
+ </state>
+ </state>
+
+ <state id="j"/>
+ </parallel>
+
+ <state id="h"/>
+ </parallel>
+
+ <state id="g"/>
+ </parallel>
+
+ <state id="f" initial="f1">
+ <state id="f1">
+ <transition target="f2" event="t"/>
+ </state>
+
+ <state id="f2">
+ </state>
+ </state>
+ </parallel>
+
+ <state id="k"/>
+ </parallel>
+
+ <state id="l"/>
+
+</scxml>
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test15.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test15.json
new file mode 100644
index 0000000..e3d8a56
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test15.json
@@ -0,0 +1,25 @@
+{
+ "initialConfiguration" : ["i1","j","h","g","f1","k"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["i2","j","h","g","f1","k"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test15.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test15.scxml
new file mode 100644
index 0000000..2c2fc67
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test15.scxml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+initial: [i1,j,h,g,f1,i1,k]
+after t: ["i2","j","h","g","f1","k"]
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="a">
+
+ <parallel id="a">
+ <parallel id="b">
+ <parallel id="c">
+ <parallel id="d">
+ <parallel id="e">
+
+ <state id="i" initial="i1">
+ <state id="i1">
+ <transition target="i2" event="t"/>
+ </state>
+
+ <state id="i2">
+ </state>
+ </state>
+
+ <state id="j"/>
+ </parallel>
+
+ <state id="h"/>
+ </parallel>
+
+ <state id="g"/>
+ </parallel>
+
+ <state id="f" initial="f1">
+ <state id="f1">
+ <transition target="l" event="t"/>
+ </state>
+
+ <state id="f2">
+ </state>
+ </state>
+ </parallel>
+
+ <state id="k"/>
+ </parallel>
+
+ <state id="l"/>
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test16.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test16.json
new file mode 100644
index 0000000..b73fce9
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test16.json
@@ -0,0 +1,26 @@
+{
+ "initialConfiguration" : ["c","d"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a1"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test16.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test16.scxml
new file mode 100644
index 0000000..d7ec9fc
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test16.scxml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+orthogonal preemption - inner or states interrupt one-another
+illustrates target interrupt
+in our semantics, source state is at the same level of hierarchy, so document order will resolve conflict. a1 will win.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+ <state id="c">
+ <transition event="t" target="a"/>
+ </state>
+
+ <state id="d">
+ <transition event="t" target="a2"/>
+ </state>
+
+ </parallel>
+
+ <state id="a" initial="a1">
+ <state id="a1"/>
+
+ <state id="a2"/>
+ </state>
+</scxml>
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test17.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test17.json
new file mode 100644
index 0000000..5b9f8af
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test17.json
@@ -0,0 +1,27 @@
+{
+ "initialConfiguration" : ["c","d"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a2"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test17.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test17.scxml
new file mode 100644
index 0000000..4af40c5
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test17.scxml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+orthogonal preemption - inner or states interrupt one-another
+illustrates target interrupt
+in our semantics, source state is at the same level of hierarchy, so document order will resolve conflict. a1 will win.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+ <state id="c">
+ <transition event="t" target="a2"/>
+ </state>
+
+ <state id="d">
+ <transition event="t" target="a"/>
+ </state>
+
+ </parallel>
+
+ <state id="a" initial="a1">
+ <state id="a1"/>
+
+ <state id="a2"/>
+ </state>
+</scxml>
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test18.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test18.json
new file mode 100644
index 0000000..55abbba
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test18.json
@@ -0,0 +1,28 @@
+{
+ "initialConfiguration" : ["c","d"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a2"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test18.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test18.scxml
new file mode 100644
index 0000000..e0d14a8
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test18.scxml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- orthogonal preemption - outer and state interrupts inner or state -->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+ <state id="c"/>
+
+ <state id="d">
+ <transition event="t" target="a2"/>
+ </state>
+
+ <transition event="t" target="a1"/>
+ </parallel>
+
+ <state id="a1"/>
+
+ <state id="a2"/>
+</scxml>
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test19.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test19.json
new file mode 100644
index 0000000..9c0458f
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test19.json
@@ -0,0 +1,29 @@
+{
+ "initialConfiguration" : ["c1","d1"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c2","d2"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test19.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test19.scxml
new file mode 100644
index 0000000..d5c8967
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test19.scxml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- orthogonal preemption - two transitions originating at internal OR states are interrupted by a transition originating at outer AND state -->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+ <state id="c" initial="c1">
+ <state id="c1">
+ <transition event="t" target="c2"/>
+ </state>
+
+ <state id="c2"/>
+ </state>
+
+ <state id="d" initial="d1">
+ <state id="d1">
+ <transition event="t" target="d2"/>
+ </state>
+
+ <state id="d2"/>
+ </state>
+
+ <transition event="t" target="a1" />
+
+ </parallel>
+
+ <state id="a1"/>
+</scxml>
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test2.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test2.json
new file mode 100644
index 0000000..e3b3b9d
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test2.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["c1","d1"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a1"]
+ }
+
+ ]
+}
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test2.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test2.scxml
new file mode 100644
index 0000000..1c3757f
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test2.scxml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+orthogonal preemption - transition originating at inner OR state interrupts transition originating at orthogonal OR state.
+again, first OR state should win, as the transitions originate at the same level of hierarchy, and wins by document order
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+
+ <parallel id="b">
+
+ <state id="c" initial="c1">
+ <state id="c1">
+ <transition event="t" target="a1"/>
+ </state>
+
+ <state id="c2"/>
+ </state>
+
+ <state id="d" initial="d1">
+ <state id="d1">
+ <transition event="t" target="d2"/>
+ </state>
+
+ <state id="d2"/>
+ </state>
+
+ </parallel>
+
+ <state id="a1"/>
+</scxml>
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test20.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test20.json
new file mode 100644
index 0000000..470a986
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test20.json
@@ -0,0 +1,30 @@
+{
+ "initialConfiguration" : ["c1","d"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c2","d"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test20.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test20.scxml
new file mode 100644
index 0000000..2066be5
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test20.scxml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- orthogonal preemptions
+here we have multiple interrupt conflicts, originating from d and a2.
+transition from c1 will win, for same reasons listed above -->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+ <state id="c" initial="c1">
+ <state id="c1">
+ <transition event="t" target="c2"/>
+ </state>
+
+ <state id="c2"/>
+ </state>
+
+ <state id="d">
+ <transition event="t" target="a1"/>
+ </state>
+
+ <transition event="t" target="a2"/>
+
+ </parallel>
+
+ <state id="a1"/>
+
+ <state id="a2"/>
+</scxml>
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test21.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test21.json
new file mode 100644
index 0000000..15fb75b
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test21.json
@@ -0,0 +1,31 @@
+{
+ "initialConfiguration" : ["c","d1"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c","d2"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test21.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test21.scxml
new file mode 100644
index 0000000..4e66fda
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test21.scxml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- orthogonal preemptions
+here we have multiple interrupt conflicts, originating from d and a2.
+transition from d1 will win, for same reasons listed above -->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+
+ <state id="c">
+ <transition event="t" target="a1"/>
+ </state>
+
+ <state id="d" initial="d1">
+ <state id="d1">
+ <transition event="t" target="d2"/>
+ </state>
+
+ <state id="d2"/>
+ </state>
+
+ <transition event="t" target="a2"/>
+
+ </parallel>
+
+ <state id="a1"/>
+
+ <state id="a2"/>
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test22.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test22.json
new file mode 100644
index 0000000..4d7bf5a
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test22.json
@@ -0,0 +1,32 @@
+{
+ "initialConfiguration" : ["c1","d1"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c2","d2"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test22.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test22.scxml
new file mode 100644
index 0000000..2e71d50
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test22.scxml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- orthogonal preemptions
+here we have multiple interrupt conflicts, originating from d and a2.
+transitions from c1 and d1 will win, for same reasons listed above -->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+ <state id="c" initial="c1">
+ <state id="c1">
+ <transition event="t" target="c2"/>
+ </state>
+
+ <state id="c2"/>
+ </state>
+
+ <state id="d" initial="d1">
+ <state id="d1">
+ <transition event="t" target="d2"/>
+ </state>
+
+ <state id="d2"/>
+ </state>
+
+ <transition event="t" target="a1" />
+
+ </parallel>
+
+ <state id="a1"/>
+</scxml>
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test23.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test23.json
new file mode 100644
index 0000000..db53da4
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test23.json
@@ -0,0 +1,33 @@
+{
+ "initialConfiguration" : ["c","d"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a2"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test23.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test23.scxml
new file mode 100644
index 0000000..04245a6
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test23.scxml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- orthogonal preemption - outer and state interrupts inner or state -->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+ <state id="c"/>
+
+ <state id="d">
+ <transition event="t" target="a2"/>
+ </state>
+
+ <transition event="t" target="a1"/>
+ </parallel>
+
+ <state id="a1"/>
+
+ <state id="a2"/>
+</scxml>
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test24.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test24.json
new file mode 100644
index 0000000..d1c8f8b
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test24.json
@@ -0,0 +1,34 @@
+{
+ "initialConfiguration" : ["c1","d1"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c2","d2"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test24.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test24.scxml
new file mode 100644
index 0000000..6534d68
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test24.scxml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- orthogonal preemption - two transitions originating at internal OR states are interrupted by a transition originating at outer AND state -->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+ <state id="c" initial="c1">
+ <state id="c1">
+ <transition event="t" target="c2"/>
+ </state>
+
+ <state id="c2"/>
+ </state>
+
+ <state id="d" initial="d1">
+ <state id="d1">
+ <transition event="t" target="d2"/>
+ </state>
+
+ <state id="d2"/>
+ </state>
+
+ <transition event="t" target="a1" />
+
+ </parallel>
+
+ <state id="a1"/>
+</scxml>
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test25.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test25.json
new file mode 100644
index 0000000..7c380c8
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test25.json
@@ -0,0 +1,35 @@
+{
+ "initialConfiguration" : ["c1","d"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c2","d"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test25.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test25.scxml
new file mode 100644
index 0000000..2084c90
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test25.scxml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- orthogonal preemptions
+here we have multiple interrupt conflicts, originating from d and b.
+transition from c1 will win, for same reasons listed above -->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+ <state id="c" initial="c1">
+ <state id="c1">
+ <transition event="t" target="c2"/>
+ </state>
+
+ <state id="c2"/>
+ </state>
+
+ <state id="d">
+ <transition event="t" target="a1"/>
+ </state>
+
+ <transition event="t" target="a2"/>
+
+ </parallel>
+
+ <state id="a1"/>
+
+ <state id="a2"/>
+</scxml>
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test26.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test26.json
new file mode 100644
index 0000000..89e21a1
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test26.json
@@ -0,0 +1,36 @@
+{
+ "initialConfiguration" : ["c","d1"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c","d2"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test26.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test26.scxml
new file mode 100644
index 0000000..355e7f0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test26.scxml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- orthogonal preemptions
+here we have multiple interrupt conflicts, originating from d and a2.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+
+ <state id="c">
+ <transition event="t" target="a1"/>
+ </state>
+
+ <state id="d" initial="d1">
+ <state id="d1">
+ <transition event="t" target="d2"/>
+ </state>
+
+ <state id="d2"/>
+ </state>
+
+ <transition event="t" target="a2"/>
+
+ </parallel>
+
+ <state id="a1"/>
+
+ <state id="a2"/>
+
+
+</scxml>
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test27.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test27.json
new file mode 100644
index 0000000..46de906
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test27.json
@@ -0,0 +1,36 @@
+{
+ "initialConfiguration" : ["c1","d1"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c2","d2"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test27.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test27.scxml
new file mode 100644
index 0000000..e5b7384
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test27.scxml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- orthogonal preemptions
+here we have multiple interrupt conflicts, originating from d and a2.
+transitions from c1 and d1 will win, for same reasons listed above -->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+ <state id="c" initial="c1">
+ <state id="c1">
+ <transition event="t" target="c2"/>
+ </state>
+
+ <state id="c2"/>
+ </state>
+
+ <state id="d" initial="d1">
+ <state id="d1">
+ <transition event="t" target="d2"/>
+ </state>
+
+ <state id="d2"/>
+ </state>
+
+ <transition event="t" target="a1" />
+
+ </parallel>
+
+ <state id="a1"/>
+
+
+</scxml>
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test28.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test28.json
new file mode 100644
index 0000000..ebb83a8
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test28.json
@@ -0,0 +1,36 @@
+{
+ "initialConfiguration" : ["c","d"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a2"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test28.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test28.scxml
new file mode 100644
index 0000000..724a023
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test28.scxml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- orthogonal preemption - outer and state interrupts inner or state
+inner transition will have priority, so final state will be a2.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+ <state id="c"/>
+
+ <state id="d">
+ <transition event="t" target="a2"/>
+ </state>
+
+ <transition event="t" target="a"/>
+ </parallel>
+
+
+ <state id="a" initial="a1">
+ <state id="a1"/>
+
+ <state id="a2"/>
+ </state>
+
+
+</scxml>
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test29.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test29.json
new file mode 100644
index 0000000..744f5da
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test29.json
@@ -0,0 +1,36 @@
+{
+ "initialConfiguration" : ["c","d"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a1"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test29.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test29.scxml
new file mode 100644
index 0000000..d6bc1f0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test29.scxml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- orthogonal preemption - outer and state interrupts inner or state
+inner transition will have priority, so final state will be a1.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+ <state id="c"/>
+
+ <state id="d">
+ <transition event="t" target="a"/>
+ </state>
+
+ <transition event="t" target="a2"/>
+ </parallel>
+
+
+ <state id="a" initial="a1">
+ <state id="a1"/>
+
+ <state id="a2"/>
+ </state>
+
+
+</scxml>
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test3.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test3.json
new file mode 100644
index 0000000..804186e
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test3.json
@@ -0,0 +1,13 @@
+{
+ "initialConfiguration" : ["e","f","d"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a1"]
+ }
+
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test3.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test3.scxml
new file mode 100644
index 0000000..a21a4e2
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test3.scxml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+orthogonal preemption - inner or states interrupt one-another
+in our semantics, source state is at the same level of hierarchy, so document order will resolve conflict. a1 will win.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+ <parallel id="c">
+ <state id="e">
+ <transition event="t" target="a1"/>
+ </state>
+
+ <state id="f">
+ <transition event="t" target="a2"/>
+ </state>
+
+ <transition event="t" target="a3"/>
+ </parallel>
+
+ <state id="d">
+ <transition event="t" target="a4"/>
+ </state>
+
+ </parallel>
+
+ <state id="a1"/>
+
+ <state id="a2"/>
+
+ <state id="a3"/>
+
+ <state id="a4"/>
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test30.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test30.json
new file mode 100644
index 0000000..3730a94
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test30.json
@@ -0,0 +1,36 @@
+{
+ "initialConfiguration" : ["c1","d"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c2","d"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test30.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test30.scxml
new file mode 100644
index 0000000..b10720b
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test30.scxml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- orthogonal preemptions
+here we have multiple interrupt conflicts, originating from d and a2.
+transition from c1 will win, for same reasons listed above.
+final state will be: c2 -->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+ <state id="c" initial="c1">
+ <state id="c1">
+ <transition event="t" target="c2"/>
+ </state>
+
+ <state id="c2"/>
+ </state>
+
+ <state id="d">
+ <transition event="t" target="a"/>
+ </state>
+
+ <transition event="t" target="a2"/>
+
+ </parallel>
+
+ <state id="a" initial="a1">
+ <state id="a1"/>
+
+ <state id="a2"/>
+ </state>
+
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test31.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test31.json
new file mode 100644
index 0000000..a66b39a
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test31.json
@@ -0,0 +1,36 @@
+{
+ "initialConfiguration" : ["c1","d1"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a1"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test31.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test31.scxml
new file mode 100644
index 0000000..a90fe8f
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test31.scxml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- orthogonal preemptions
+here we have multiple interrupt conflicts, originating from d and a2.
+transition from c1 will win, for same reasons listed above.
+final state will be: a1 -->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+
+ <state id="c" initial="c1">
+ <state id="c1">
+ <transition event="t" target="a"/>
+ </state>
+ </state>
+
+ <state id="d" initial="d1">
+ <state id="d1">
+ <transition event="t" target="d2"/>
+ </state>
+
+ <state id="d2"/>
+ </state>
+
+ <transition event="t" target="a2"/>
+
+ </parallel>
+
+ <state id="a" initial="a1">
+ <state id="a1"/>
+
+ <state id="a2"/>
+ </state>
+
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test4.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test4.json
new file mode 100644
index 0000000..497debc
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test4.json
@@ -0,0 +1,14 @@
+{
+ "initialConfiguration" : ["e","f","g"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a1"]
+ }
+
+ ]
+}
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test4.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test4.scxml
new file mode 100644
index 0000000..ca9d2bd
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test4.scxml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+ orthogonal preemption - inner or states interrupt one-another
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+ <parallel id="p">
+ <state id="e">
+ <transition event="t" target="a1"/>
+ </state>
+
+ <state id="f">
+ <transition event="t" target="a2"/>
+ </state>
+
+ <transition event="t" target="a3"/>
+ </parallel>
+
+
+ <state id="d" initial="g">
+ <state id="g">
+ <transition event="t" target="h"/>
+ </state>
+
+ <state id="h"/>
+ </state>
+
+ </parallel>
+
+ <state id="a1"/>
+
+ <state id="a2"/>
+
+ <state id="a3"/>
+
+ <state id="a4"/>
+
+</scxml>
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test5.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test5.json
new file mode 100644
index 0000000..117dc4d
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test5.json
@@ -0,0 +1,15 @@
+{
+ "initialConfiguration" : ["e","f","g"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["e","f","h"]
+ }
+
+ ]
+}
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test5.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test5.scxml
new file mode 100644
index 0000000..2d853a4
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test5.scxml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+ orthogonal preemption - inner or states interrupt one-another
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+ <state id="d" initial="g">
+ <state id="g">
+ <transition event="t" target="h"/>
+ </state>
+
+ <state id="h"/>
+ </state>
+
+ <parallel id="p">
+ <state id="e">
+ <transition event="t" target="a1"/>
+ </state>
+
+ <state id="f">
+ <transition event="t" target="a2"/>
+ </state>
+
+ <transition event="t" target="a3"/>
+ </parallel>
+ </parallel>
+
+ <state id="a1"/>
+
+ <state id="a2"/>
+
+ <state id="a3"/>
+
+ <state id="a4"/>
+
+</scxml>
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test6.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test6.json
new file mode 100644
index 0000000..2876d0b
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test6.json
@@ -0,0 +1,16 @@
+{
+ "initialConfiguration" : ["g","e1","f1"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["h","e2","f2"]
+ }
+
+ ]
+}
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test6.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test6.scxml
new file mode 100644
index 0000000..5b5702a
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test6.scxml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+ orthogonal preemption - inner or states interrupt one-another
+ no conflicts here
+ initial configuration: [g,e1,f1]
+ given event t: [h,e2,f2]
+TODO: move this to basic parallel group
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+ <state id="c" initial="g">
+ <state id="g">
+ <transition event="t" target="h"/>
+ </state>
+
+ <state id="h"/>
+ </state>
+
+ <parallel id="d">
+ <state id="e" initial="e1">
+ <state id="e1">
+ <transition event="t" target="e2"/>
+ </state>
+
+ <state id="e2"/>
+ </state>
+
+ <state id="f" initial="f1">
+ <state id="f1">
+ <transition event="t" target="f2"/>
+ </state>
+
+ <state id="f2"/>
+ </state>
+
+ </parallel>
+
+ </parallel>
+
+</scxml>
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test7.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test7.json
new file mode 100644
index 0000000..ec5e2b4
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test7.json
@@ -0,0 +1,17 @@
+{
+ "initialConfiguration" : ["c","e1","f1"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c","e2","f2"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test7.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test7.scxml
new file mode 100644
index 0000000..97a3513
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test7.scxml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+ orthogonal preemption - inner or states interrupt one-another
+conflict between transition originating in state c, and transitions originating in e1 and f1, as transition from c interrupt the others
+transitions in e1 and f1 will win, as they are deeper in the hierarchy (even though they come later in document order
+initial configuration: [c,e1,f1]
+given event t: [c,e2,f2]
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="b">
+
+ <parallel id="b">
+ <state id="c">
+ <transition event="t" target="a1"/>
+ </state>
+
+ <parallel id="d">
+ <state id="e" initial="e1">
+ <state id="e1">
+ <transition event="t" target="e2"/>
+ </state>
+
+ <state id="e2"/>
+ </state>
+
+ <state id="f" initial="f1">
+ <state id="f1">
+ <transition event="t" target="f2"/>
+ </state>
+
+ <state id="f2"/>
+ </state>
+
+ </parallel>
+
+ </parallel>
+
+ <state id="a1"/>
+
+</scxml>
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test8.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test8.json
new file mode 100644
index 0000000..dea59df
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test8.json
@@ -0,0 +1,18 @@
+{
+ "initialConfiguration" : ["b1","b2"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c1","c2"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test8.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test8.scxml
new file mode 100644
index 0000000..9068ff3
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test8.scxml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+no conflict here
+initial: [b1,b2]
+after t: [c1,c2]
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="a">
+
+ <state id="a" initial="b">
+ <parallel id="b">
+ <state id="b1">
+ </state>
+
+ <state id="b2">
+ </state>
+
+ <transition event="t" target="c"/>
+ </parallel>
+
+ <parallel id="c">
+ <state id="c1">
+ </state>
+
+ <state id="c2">
+ </state>
+ </parallel>
+ </state>
+
+</scxml>
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test9.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test9.json
new file mode 100644
index 0000000..621ba48
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test9.json
@@ -0,0 +1,19 @@
+{
+ "initialConfiguration" : ["b1","b2"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c1","c2"]
+ }
+
+ ]
+}
+
+
+
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test9.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test9.scxml
new file mode 100644
index 0000000..65231e8
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel+interrupt/test9.scxml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!--
+no conflict here
+initial: [b1,b2]
+after t: [c1,c2]
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="a">
+
+ <state id="a" initial="b">
+ <parallel id="b">
+ <state id="b1">
+ <transition event="t" target="c"/>
+ </state>
+
+ <state id="b2">
+ </state>
+ </parallel>
+
+ <parallel id="c">
+ <state id="c1">
+ </state>
+
+ <state id="c2">
+ </state>
+ </parallel>
+ </state>
+
+</scxml>
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test0.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test0.json
new file mode 100644
index 0000000..0150078
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test0.json
@@ -0,0 +1,7 @@
+{
+ "initialConfiguration" : ["a","b"],
+ "events" : [ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test0.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test0.scxml
new file mode 100644
index 0000000..6ae0838
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test0.scxml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <parallel id="p">
+ <state id="a"/>
+
+ <state id="b"/>
+ </parallel>
+
+
+</scxml>
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test1.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test1.json
new file mode 100644
index 0000000..6827a36
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test1.json
@@ -0,0 +1,13 @@
+{
+ "initialConfiguration" : ["a1","b1"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["a2","b2"]
+ }
+
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test1.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test1.scxml
new file mode 100644
index 0000000..5402e2a
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test1.scxml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <parallel id="p">
+ <state id="a">
+ <initial>
+ <transition target="a1"/>
+ </initial>
+
+ <state id="a1">
+ <transition event="t" target="a2"/>
+ </state>
+
+ <state id="a2"/>
+ </state>
+
+ <state id="b">
+ <initial>
+ <transition target="b1"/>
+ </initial>
+
+ <state id="b1">
+ <transition event="t" target="b2"/>
+ </state>
+
+ <state id="b2"/>
+ </state>
+ </parallel>
+
+
+</scxml>
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test2.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test2.json
new file mode 100644
index 0000000..7e7f790
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test2.json
@@ -0,0 +1,14 @@
+{
+ "initialConfiguration" : ["s3","s4","s7","s8"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["s5","s6","s9","s10"]
+ }
+
+ ]
+}
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test2.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test2.scxml
new file mode 100644
index 0000000..c73d0dd
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test2.scxml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- nested orthogonality
+initial configuration: [s3,s4,s7,s8]
+after event t: [s5,s6,s9,s10]
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <parallel id="p1">
+ <state id="s1" initial="p2">
+ <parallel id="p2">
+ <state id="s3"/>
+
+ <state id="s4"/>
+
+ <transition target="p3" event="t"/>
+ </parallel>
+
+ <parallel id="p3">
+ <state id="s5"/>
+
+ <state id="s6"/>
+ </parallel>
+
+ </state>
+
+ <state id="s2" initial="p4">
+ <parallel id="p4">
+ <state id="s7"/>
+
+ <state id="s8"/>
+
+ <transition target="p5" event="t"/>
+ </parallel>
+
+ <parallel id="p5">
+ <state id="s9"/>
+
+ <state id="s10"/>
+ </parallel>
+ </state>
+
+ </parallel>
+
+</scxml>
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test3.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test3.json
new file mode 100644
index 0000000..88737e1
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test3.json
@@ -0,0 +1,15 @@
+{
+ "initialConfiguration" : ["s3.1","s4","s7","s8"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["s3.2","s4","s9","s10"]
+ }
+
+ ]
+}
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test3.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test3.scxml
new file mode 100644
index 0000000..e143417
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/parallel/test3.scxml
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- nested orthogonality
+initial configuration: [s3.1,s4,s7,s8]
+after event t: [s3.2,s4,s9,s10]
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0"
+ initial="p1">
+
+ <parallel id="p1">
+ <state id="s1" initial="p2">
+ <parallel id="p2">
+ <state id="s3" initial="s3.1">
+ <state id="s3.1">
+ <transition target="s3.2" event="t"/>
+ </state>
+
+ <state id="s3.2"/>
+ </state>
+
+ <state id="s4">
+ </state>
+
+ </parallel>
+
+ <parallel id="p3">
+ <state id="s5">
+ </state>
+
+ <state id="s6">
+ </state>
+ </parallel>
+
+ </state>
+
+ <state id="s2" initial="p4">
+ <parallel id="p4">
+ <state id="s7">
+ </state>
+
+ <state id="s8">
+ </state>
+
+ <transition target="p5" event="t"/>
+ </parallel>
+
+ <parallel id="p5">
+ <state id="s9">
+ </state>
+
+ <state id="s10">
+ </state>
+ </parallel>
+ </state>
+
+ </parallel>
+
+</scxml>
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-0-0.js b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-0-0.js
new file mode 100644
index 0000000..062f555
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-0-0.js
@@ -0,0 +1 @@
+x = 100;
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-1-0.js b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-1-0.js
new file mode 100644
index 0000000..226697f
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-1-0.js
@@ -0,0 +1 @@
+i = 0;
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-1-1.js b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-1-1.js
new file mode 100644
index 0000000..8dca7b1
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-1-1.js
@@ -0,0 +1 @@
+i = i + 1;
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-2-0.js b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-2-0.js
new file mode 100644
index 0000000..226697f
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-2-0.js
@@ -0,0 +1 @@
+i = 0;
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-2-1.js b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-2-1.js
new file mode 100644
index 0000000..8dca7b1
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-2-1.js
@@ -0,0 +1 @@
+i = i + 1;
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-2-2.js b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-2-2.js
new file mode 100644
index 0000000..8dca7b1
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-2-2.js
@@ -0,0 +1 @@
+i = i + 1;
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-2-3.js b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-2-3.js
new file mode 100644
index 0000000..795c1f2
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-2-3.js
@@ -0,0 +1 @@
+i = i * 2;
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-3-0.js b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-3-0.js
new file mode 100644
index 0000000..de469c4
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/script-3-0.js
@@ -0,0 +1,3 @@
+function foo(){
+ x = 100;
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test0.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test0.json
new file mode 100644
index 0000000..c27c2fd
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test0.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["b"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test0.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test0.scxml
new file mode 100644
index 0000000..358405c
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test0.scxml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <datamodel>
+ <data id="x"/>
+ </datamodel>
+
+ <state id="initial">
+ <transition target="a">
+ <script src="script-0-0.js"/>
+ </transition>
+ </state>
+
+ <state id="a">
+ <transition target="b" event="t" cond="x === 100"/>
+ <transition target="f" event="t" />
+ </state>
+
+ <state id="b"/>
+
+ <state id="f"/>
+
+
+</scxml>
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test1.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test1.json
new file mode 100644
index 0000000..0e49c49
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test1.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test1.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test1.scxml
new file mode 100644
index 0000000..acb601c
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test1.scxml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <datamodel>
+ <data id="i"/>
+ </datamodel>
+
+ <state id="a">
+ <transition target="b" event="t">
+ <assign location="i" expr="0"/>
+ <script src="script-1-0.js"/>
+ </transition>
+ </state>
+
+ <state id="b">
+ <transition target="b" cond="i &lt; 100">
+ <script src="script-1-1.js"/>
+ </transition>
+ <transition target="c" cond="i === 100"/>
+ </state>
+
+ <state id="c"/>
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test2.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test2.json
new file mode 100644
index 0000000..36628bc
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test2.json
@@ -0,0 +1,13 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["e"]
+ }
+ ]
+}
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test2.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test2.scxml
new file mode 100644
index 0000000..aa920ee
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test2.scxml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <datamodel>
+ <data id="i"/>
+ </datamodel>
+
+ <state id="a">
+ <transition target="b" event="t">
+ <script src="script-2-0.js"/>
+ </transition>
+ </state>
+
+ <state id="A">
+
+ <state id="b">
+ <transition target="c" cond="i &lt; 100">
+ <script src="script-2-1.js"/>
+ </transition>
+ </state>
+
+ <state id="c">
+ <transition target="b" cond="i &lt; 100">
+ <script src="script-2-2.js"/>
+ </transition>
+ </state>
+
+ <transition target="d" cond="i === 100">
+ <script src="script-2-3.js"/>
+ </transition>
+ </state>
+
+
+ <state id="d">
+ <transition target="e" cond="i === 200"/>
+ <transition target="f"/>
+ </state>
+
+ <state id="e"/>
+
+ <state id="f"/>
+
+</scxml>
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test3.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test3.json
new file mode 100644
index 0000000..c27c2fd
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test3.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["b"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test3.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test3.scxml
new file mode 100644
index 0000000..d712686
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/script-src/test3.scxml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <script src="script-3-0.js"/>
+
+ <datamodel>
+ <data id="x"/>
+ </datamodel>
+
+ <state id="intitial1">
+ <transition target="a">
+ <script>
+ foo();
+ </script>
+ </transition>
+ </state>
+
+ <state id="a">
+ <transition target="b" event="t" cond="x === 100"/>
+ <transition target="f" event="t" />
+ </state>
+
+ <state id="b"/>
+
+ <state id="f"/>
+
+
+</scxml>
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/script/test0.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/script/test0.json
new file mode 100644
index 0000000..c27c2fd
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/script/test0.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["b"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/script/test0.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/script/test0.scxml
new file mode 100644
index 0000000..21d911d
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/script/test0.scxml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <datamodel>
+ <data id="x"/>
+ </datamodel>
+
+ <state id="intitial1">
+ <transition target="a">
+ <script>
+ x = 100;
+ </script>
+ </transition>
+ </state>
+
+ <state id="a">
+ <transition target="b" event="t" cond="x === 100"/>
+ <transition target="f" event="t" />
+ </state>
+
+ <state id="b"/>
+
+ <state id="f"/>
+
+
+</scxml>
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/script/test1.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/script/test1.json
new file mode 100644
index 0000000..0e49c49
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/script/test1.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["c"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/script/test1.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/script/test1.scxml
new file mode 100644
index 0000000..cd6b2e6
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/script/test1.scxml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <datamodel>
+ <data id="x"/>
+ </datamodel>
+
+ <state id="a">
+ <transition target="b" event="t">
+ <script>
+ x = 0;
+ </script>
+ </transition>
+ </state>
+
+ <state id="b">
+ <transition target="b" cond="x &lt; 100">
+ <script>
+ x = x + 1;
+ </script>
+ </transition>
+ <transition target="c" cond="x === 100"/>
+ </state>
+
+ <state id="c"/>
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/script/test2.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/script/test2.json
new file mode 100644
index 0000000..36628bc
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/script/test2.json
@@ -0,0 +1,13 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["e"]
+ }
+ ]
+}
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/script/test2.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/script/test2.scxml
new file mode 100644
index 0000000..f3b469e
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/script/test2.scxml
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <datamodel>
+ <data id="x"/>
+ </datamodel>
+
+ <state id="a">
+ <transition target="b" event="t">
+ <script>
+ x = 0;
+ </script>
+ </transition>
+ </state>
+
+ <state id="A">
+
+ <state id="b">
+ <transition target="c" cond="x &lt; 100">
+ <script>
+ x = x + 1;
+ </script>
+ </transition>
+ </state>
+
+ <state id="c">
+ <transition target="b" cond="x &lt; 100">
+ <script>
+ x = x + 1;
+ </script>
+ </transition>
+ </state>
+
+ <transition target="d" cond="x === 100">
+ <script>
+ x = x * 2;
+ </script>
+ </transition>
+ </state>
+
+
+ <state id="d">
+ <transition target="e" cond="x === 200"/>
+ <transition target="f"/>
+ </state>
+
+ <state id="e"/>
+
+ <state id="f"/>
+
+</scxml>
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/star0.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/star0.json
new file mode 100644
index 0000000..577a005
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/star0.json
@@ -0,0 +1,13 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "foo" },
+ "nextConfiguration" : ["b"]
+ }
+ ]
+}
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/star0.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/star0.scxml
new file mode 100644
index 0000000..31345a8
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/star0.scxml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <state id="a">
+ <!-- we send foo here, and it matches the * event -->
+ <transition target="b" event="*"/>
+ <transition target="fail" event="foo"/>
+ </state>
+
+ <state id="b">
+ </state>
+
+ <state id="fail"/>
+
+</scxml>
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/test0.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/test0.json
new file mode 100644
index 0000000..bf11b72
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/test0.json
@@ -0,0 +1,40 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "foo" },
+ "nextConfiguration" : ["b"]
+ },
+ {
+ "event" : { "name" : "foo.bar" },
+ "nextConfiguration" : ["c"]
+ },
+ {
+ "event" : { "name" : "foo.bar.bat" },
+ "nextConfiguration" : ["d"]
+ },
+ {
+ "event" : { "name" : "foo.bar.bat" },
+ "nextConfiguration" : ["e"]
+ },
+ {
+ "event" : { "name" : "foo" },
+ "nextConfiguration" : ["e"]
+ },
+ {
+ "event" : { "name" : "foo.bar.bat" },
+ "nextConfiguration" : ["f"]
+ },
+ {
+ "event" : { "name" : "foobar" },
+ "nextConfiguration" : ["f"]
+ },
+ {
+ "event" : { "name" : "foo.bar.bat.bif" },
+ "nextConfiguration" : ["g"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/test0.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/test0.scxml
new file mode 100644
index 0000000..3d14125
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/test0.scxml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <state id="a">
+ <transition target="b" event="foo"/>
+ </state>
+
+ <state id="b">
+ <transition target="c" event="foo.bar"/>
+ </state>
+
+ <state id="c">
+ <transition target="d" event="foo.bar.bat"/>
+ </state>
+
+ <state id="d">
+ <transition target="e" event="foo"/>
+ </state>
+
+ <state id="e">
+ <transition target="f" event="foo.bar"/>
+ </state>
+
+ <state id="f">
+ <transition target="g" event="foo.bar.bat"/>
+ </state>
+
+ <state id="g"/>
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/test1.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/test1.json
new file mode 100644
index 0000000..c3c994c
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/test1.json
@@ -0,0 +1,41 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "foo" },
+ "nextConfiguration" : ["b"]
+ },
+ {
+ "event" : { "name" : "foo.bar" },
+ "nextConfiguration" : ["c"]
+ },
+ {
+ "event" : { "name" : "foo.bar.bat" },
+ "nextConfiguration" : ["d"]
+ },
+ {
+ "event" : { "name" : "foo.bar.bat" },
+ "nextConfiguration" : ["e"]
+ },
+ {
+ "event" : { "name" : "foo" },
+ "nextConfiguration" : ["e"]
+ },
+ {
+ "event" : { "name" : "foo.bar.bat" },
+ "nextConfiguration" : ["f"]
+ },
+ {
+ "event" : { "name" : "foobar" },
+ "nextConfiguration" : ["f"]
+ },
+ {
+ "event" : { "name" : "foo.bar.bat.bif" },
+ "nextConfiguration" : ["g"]
+ }
+ ]
+}
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/test1.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/test1.scxml
new file mode 100644
index 0000000..4515b3a
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/scxml-prefix-event-name-matching/test1.scxml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <state id="a">
+ <transition target="b" event="foo"/>
+ </state>
+
+ <state id="b">
+ <transition target="c" event="foo.bar"/>
+ </state>
+
+ <state id="c">
+ <transition target="d" event="foo.bar.bat"/>
+ </state>
+
+ <state id="d">
+ <transition target="e" event="foo.*"/>
+ <transition target="fail" event="foo"/>
+ </state>
+
+ <state id="e">
+ <transition target="f" event="foo.bar.*"/>
+ <transition target="fail" event="foo.bar"/>
+ </state>
+
+ <state id="f">
+ <transition target="g" event="foo.bar.bat.*"/>
+ <transition target="fail" event="foo.bar.bat"/>
+ </state>
+
+ <state id="g"/>
+
+ <state id="fail"/>
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/send-data/send1.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/send-data/send1.json
new file mode 100644
index 0000000..f21ee8b
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/send-data/send1.json
@@ -0,0 +1,15 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["b"]
+ },
+ {
+ "after" : 100,
+ "event" : { "name" : "t2" },
+ "nextConfiguration" : ["e"]
+ }
+ ]
+}
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/send-data/send1.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/send-data/send1.scxml
new file mode 100644
index 0000000..c663ce3
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/send-data/send1.scxml
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <datamodel>
+ <data id="foo" expr="1"/>
+ <data id="bar" expr="2"/>
+ <data id="bat" expr="3"/>
+ </datamodel>
+
+ <state id="a">
+ <transition target="b" event="t">
+ <send delayexpr="'10ms'" eventexpr="'s1'" namelist="foo bar">
+ <param name="bif" location="bat"/>
+ <param name="belt" expr="4"/>
+ </send>
+ </transition>
+ </state>
+
+ <state id="b">
+ <transition event="s1" target="c"
+ cond="_event.data.foo === 1 &amp;&amp;
+ _event.data.bar === 2 &amp;&amp;
+ _event.data.bif === 3 &amp;&amp;
+ _event.data.belt === 4">
+
+ <send delayexpr="'10ms'" eventexpr="'s2'">
+ <content>More content.</content>
+ </send>
+
+ </transition>
+
+ <transition event="s1" target="f"/>
+ </state>
+
+
+ <state id="c">
+ <transition event="s2" target="d"
+ cond="_event.data === 'More content.'"/>
+
+ <transition event="s2" target="f">
+ <log label="_event" expr="_event"/>
+ </transition>
+ </state>
+
+
+ <state id="d">
+ <transition event="t2" target="e"/>
+ </state>
+
+ <state id="e"/>
+
+ <state id="f"/>
+</scxml>
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/send-internal/test0.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/send-internal/test0.json
new file mode 100644
index 0000000..a7f8799
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/send-internal/test0.json
@@ -0,0 +1,9 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["d"]
+ }
+ ]
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/send-internal/test0.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/send-internal/test0.scxml
new file mode 100644
index 0000000..03ac96a
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/send-internal/test0.scxml
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <datamodel>
+ <data id="foo" expr="1"/>
+ <data id="bar" expr="2"/>
+ <data id="bat" expr="3"/>
+ </datamodel>
+
+ <state id="a">
+ <transition target="b" event="t">
+ <send eventexpr="'s1'" namelist="foo bar" target="#_internal">
+ <param name="bif" location="bat"/>
+ <param name="belt" expr="4"/>
+ </send>
+ </transition>
+ </state>
+
+ <state id="b">
+ <transition event="s1" target="c"
+ cond="_event.data.foo === 1 &amp;&amp;
+ _event.data.bar === 2 &amp;&amp;
+ _event.data.bif === 3 &amp;&amp;
+ _event.data.belt === 4">
+
+ <send eventexpr="'s2'" target="#_internal">
+ <content>More content.</content>
+ </send>
+
+ </transition>
+
+ <transition event="s1" target="f"/>
+ </state>
+
+
+ <state id="c">
+ <transition event="s2" target="d"
+ cond="_event.data === 'More content.'"/>
+
+ <transition event="s2" target="f">
+ <log label="_event" expr="_event"/>
+ </transition>
+ </state>
+
+ <state id="d"/>
+
+ <state id="f"/>
+</scxml>
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test0.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test0.json
new file mode 100644
index 0000000..43f1a91
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test0.json
@@ -0,0 +1,12 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "t" },
+ "nextConfiguration" : ["done"]
+ }
+ ]
+}
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test0.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test0.scxml
new file mode 100644
index 0000000..5b95d73
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test0.scxml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <datamodel>
+ <data id="i" expr="0"/>
+ </datamodel>
+
+ <state id="a">
+ <transition target="b" event="t"/>
+ </state>
+
+ <state id="b">
+ <transition target="done" cond="i === 100"/>
+ <transition>
+ <assign location="i" expr="i + 1"/>
+ </transition>
+ </state>
+
+ <state id="done"/>
+
+</scxml>
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test1.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test1.json
new file mode 100644
index 0000000..f82edf4
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test1.json
@@ -0,0 +1,17 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "foo" },
+ "nextConfiguration" : ["a"]
+ },
+ {
+ "event" : { "name" : "bar" },
+ "nextConfiguration" : ["done"]
+ }
+ ]
+}
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test1.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test1.scxml
new file mode 100644
index 0000000..11520bf
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test1.scxml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <datamodel>
+ <data id="i" expr="1"/>
+ </datamodel>
+
+ <state id="A">
+ <transition event="foo">
+ <assign location="i" expr="i * 2"/>
+ </transition>
+
+ <state id="a">
+ <transition event="bar">
+ <assign location="i" expr="Math.pow(i,3)"/>
+ </transition>
+ </state>
+
+ <transition target="done" cond="i === 8"/>
+ </state>
+
+ <state id="done"/>
+
+</scxml>
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test2.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test2.json
new file mode 100644
index 0000000..f97a06f
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test2.json
@@ -0,0 +1,18 @@
+{
+ "initialConfiguration" : ["a"],
+ "events" : [
+ {
+ "event" : { "name" : "foo" },
+ "nextConfiguration" : ["a"]
+ },
+ {
+ "event" : { "name" : "bar" },
+ "nextConfiguration" : ["done"]
+ }
+ ]
+}
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test2.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test2.scxml
new file mode 100644
index 0000000..12609dd
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test2.scxml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <datamodel>
+ <data id="i" expr="1"/>
+ </datamodel>
+
+ <state id="A">
+ <transition event="foo">
+ <assign location="i" expr="i * 2"/>
+ </transition>
+ <transition event="bar">
+ <assign location="i" expr="Math.pow(i,3)"/>
+ </transition>
+
+ <state id="a">
+ <transition event="foo">
+ <assign location="i" expr="i + 2"/>
+ </transition>
+ </state>
+
+ <transition target="done" cond="i === 27"/>
+ </state>
+
+ <state id="done"/>
+
+</scxml>
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test3.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test3.json
new file mode 100644
index 0000000..f1300b1
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test3.json
@@ -0,0 +1,19 @@
+{
+ "initialConfiguration" : ["a1","b1","c"],
+ "events" : [
+ {
+ "event" : { "name" : "foo" },
+ "nextConfiguration" : ["a2","b2","c"]
+ },
+ {
+ "event" : { "name" : "bar" },
+ "nextConfiguration" : ["done"]
+ }
+ ]
+}
+
+
+
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test3.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test3.scxml
new file mode 100644
index 0000000..3af50cc
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/targetless-transition/test3.scxml
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<scxml
+ datamodel="ecmascript"
+ xmlns="http://www.w3.org/2005/07/scxml"
+ version="1.0">
+
+ <datamodel>
+ <data id="i" expr="1"/>
+ </datamodel>
+
+ <parallel id="p">
+
+ <transition target="done" cond="i === 100"/>
+
+ <transition event="bar">
+ <assign location="i" expr="i * 20"/>
+ <log expr="i"/>
+ </transition>
+
+ <state id="a">
+ <state id="a1">
+ <transition event="foo" target="a2">
+ <assign location="i" expr="i * 2"/>
+ <log expr="i"/>
+ </transition>
+ </state>
+
+ <state id="a2">
+ </state>
+ </state>
+
+ <state id="b">
+ <state id="b1">
+ <transition event="foo" target="b2">
+ <assign location="i" expr="Math.pow(i,3)"/>
+ <log expr="i"/>
+ </transition>
+ </state>
+
+ <state id="b2">
+ </state>
+ </state>
+
+ <state id="c">
+ <transition event="foo">
+ <assign location="i" expr="i - 3"/>
+ <log expr="i"/>
+ </transition>
+ </state>
+
+ </parallel>
+
+ <state id="done"/>
+
+</scxml>
+
+
+
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test144.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test144.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test144.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test144.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test144.txml.scxml
new file mode 100644
index 0000000..fcec83a
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test144.txml.scxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that events are inserted into the queue in the order in which they are raised. If
+foo occurs before bar, success, otherwise failure --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0">
+ <onentry>
+ <raise event="foo"/>
+ <raise event="bar"/>
+ </onentry>
+ <transition event="foo" target="s1"/>
+ <transition event="*" target="fail"/>
+
+ </state>
+
+<state id="s1">
+ <transition event="bar" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test147.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test147.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test147.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test147.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test147.txml.scxml
new file mode 100644
index 0000000..f877ecf
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test147.txml.scxml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that the first clause that evaluates to true - and only that clause - is executed.
+Only one event should be raised, and it should be bar --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="0"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <if cond="false">
+ <raise event="foo"/>
+ <assign location="Var1" expr="Var1 + 1"/>
+ <elseif cond="true"/>
+ <raise event="bar"/>
+ <assign location="Var1" expr="Var1 + 1"/>
+ <else/>
+ <raise event="baz"/>
+ <assign location="Var1" expr="Var1 + 1"/>
+ </if>
+ <raise event="bat"/>
+ </onentry>
+ <transition event="bar" cond="Var1==1" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test148.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test148.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test148.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test148.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test148.txml.scxml
new file mode 100644
index 0000000..acebba7
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test148.txml.scxml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that the else clause executes if <if> and <elseif> evaluate to false.
+Baz should be the only event generated by the <if>. bat is raised to catch the case where the <else> clause
+fails and baz is not generated, i.e. it makes sure that the test doesn't hang. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="0"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <if cond="false">
+ <raise event="foo"/>
+ <assign location="Var1" expr="Var1 + 1"/>
+ <elseif cond="false"/>
+ <raise event="bar"/>
+ <assign location="Var1" expr="Var1 + 1"/>
+ <else/>
+ <raise event="baz"/>
+ <assign location="Var1" expr="Var1 + 1"/>
+ </if>
+ <raise event="bat"/>
+ </onentry>
+ <transition event="baz" cond="Var1==1" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test149.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test149.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test149.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test149.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test149.txml.scxml
new file mode 100644
index 0000000..b7626c6
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test149.txml.scxml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that neither if clause executes, so that bat is the only event raised. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="0"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <if cond="false">
+ <raise event="foo"/>
+ <assign location="Var1" expr="Var1 + 1"/>
+ <elseif cond="false"/>
+ <raise event="bar"/>
+ <assign location="Var1" expr="Var1 + 1"/>
+ </if>
+ <raise event="bat"/>
+ </onentry>
+ <transition event="bat" cond="Var1==0" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test150.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test150.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test150.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test150.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test150.txml.scxml
new file mode 100644
index 0000000..41e1895
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test150.txml.scxml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that foreach causes a new variable to be declared if 'item' doesn't already exist. Also
+test that it will use an existing var if it does exist. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="ecmascript" version="1.0">
+<datamodel>
+ <data id="Var1"/>
+ <data id="Var2"/>
+ <data id="Var3">
+ [1,2,3]
+ </data>
+ </datamodel>
+
+ <state id="s0">
+ <onentry>
+<!-- first use declared variables -->
+ <foreach item="Var1" index="Var2" array="Var3"/>
+ <raise event="foo"/>
+ </onentry>
+ <transition event="error" target="fail"/>
+ <transition event="*" target="s1"/>
+ </state>
+
+<state id="s1">
+ <onentry>
+<!-- now use undeclared variables -->
+ <foreach item="Var4" index="Var5" array="Var3"/>
+ <raise event="bar"/>
+ </onentry>
+ <transition event="error" target="fail"/>
+ <transition event="*" target="s2"/>
+ </state>
+
+<state id="s2">
+ <!-- check that var4 is bound -->
+ <transition cond="Var4" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test151.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test151.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test151.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test151.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test151.txml.scxml
new file mode 100644
index 0000000..119bb65
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test151.txml.scxml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that foreach causes a new variable to be declared if 'item' doesn't already exist. Also
+test that it will use an existing var if it does exist. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="ecmascript" version="1.0">
+<datamodel>
+ <data id="Var1"/>
+ <data id="Var2"/>
+ <data id="Var3">
+ [1,2,3]
+ </data>
+ </datamodel>
+
+ <state id="s0">
+ <onentry>
+<!-- first use declared variables -->
+ <foreach item="Var1" index="Var2" array="Var3"/>
+ <raise event="foo"/>
+ </onentry>
+ <transition event="error" target="fail"/>
+ <transition event="*" target="s1"/>
+ </state>
+
+<state id="s1">
+ <onentry>
+<!-- now use undeclared variables -->
+ <foreach item="Var4" index="Var5" array="Var3"/>
+ <raise event="bar"/>
+ </onentry>
+ <transition event="error" target="fail"/>
+ <transition event="*" target="s2"/>
+ </state>
+
+<state id="s2">
+ <!-- check that var5 is bound -->
+ <transition cond="Var5" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test152.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test152.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test152.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test152.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test152.txml.scxml
new file mode 100644
index 0000000..8af51a8
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test152.txml.scxml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that an illegal array or item value causes error.execution and results in executable content
+not being executed. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="ecmascript" version="1.0">
+<datamodel>
+ <data id="Var1" expr="0"/>
+ <data id="Var2"/>
+ <data id="Var3"/>
+ <data id="Var4" expr="7"/>
+ <data id="Var5">
+ [1,2,3]
+ </data>
+ </datamodel>
+
+ <state id="s0">
+ <onentry>
+<!-- invalid array, legal item -->
+ <foreach item="Var2" index="Var3" array="Var4">
+ <assign location="Var1" expr="Var1 + 1"/>
+ </foreach>
+ <raise event="foo"/>
+ </onentry>
+ <transition event="error.execution" target="s1"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+ <state id="s1">
+ <onentry>
+<!-- illegal item, legal array -->
+ <foreach item="'continue'" index="Var3" array="Var5">
+ <assign location="Var1" expr="Var1 + 1"/>
+ </foreach>
+ <raise event="bar"/>
+ </onentry>
+ <transition event="error.execution" target="s2"/>
+ <transition event="bar" target="fail"/>
+ </state>
+
+<state id="s2">
+ <!-- check that var1 has its original value (so executable content never got executed -->
+ <transition cond="Var1==0" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test153.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test153.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test153.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test153.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test153.txml.scxml
new file mode 100644
index 0000000..9917789
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test153.txml.scxml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that foreach goes over the array in the right order. since the array contains 1 2 3, we compare the current
+value with the previous value, which is stored in var1. The current value should always be larger. If
+it ever isn't, set Var4 to 0, indicating failure --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="0"/> <!-- contains the previous value -->
+ <data id="Var2"/> <!-- the item which will contain the current value -->
+ <data id="Var3">
+ [1,2,3]
+ </data>
+ <data id="Var4" expr="1"/> <!-- 1 if success, 0 if failure -->
+ </datamodel>
+
+ <state id="s0">
+ <onentry>
+ <foreach item="Var2" array="Var3">
+ <if cond="Var1/text() &lt;Var2/text() ">
+ <assign location="Var1" expr="Var2"/>
+ <else/>
+ <!-- values are out of order, record failure -->
+ <assign location="Var4" expr="0"/>
+ </if>
+ </foreach>
+ </onentry>
+
+ <!-- check that var1 has its original value -->
+ <transition cond="Var4==0" target="fail"/>
+ <transition target="pass"/>
+ </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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test155.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test155.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test155.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test155.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test155.txml.scxml
new file mode 100644
index 0000000..17d3a70
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test155.txml.scxml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that foreach executes the executable content once for each item in the list '(1,2,3)'. The executable
+content sums the items into var1 so it should be 6 at the end --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+<datamodel>
+ <data id="Var1" expr="0"/>
+ <data id="Var2"/>
+ <data id="Var3">
+ [1,2,3]
+ </data>
+ </datamodel>
+
+ <state id="s0">
+ <onentry>
+ <foreach item="Var2" array="Var3">
+ <assign location="Var1" expr="Var1 + Var2"/>
+ </foreach>
+ </onentry>
+
+ <transition cond="Var1==6" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test156.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test156.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test156.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test156.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test156.txml.scxml
new file mode 100644
index 0000000..aa9e2b0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test156.txml.scxml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that an error causes the foreach to stop execution. The second piece of executable content
+should cause an error, so var1 should be incremented only once --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+<datamodel>
+ <data id="Var1" expr="0"/>
+ <data id="Var2"/>
+ <data id="Var3">
+ [1,2,3]
+ </data>
+ </datamodel>
+
+ <state id="s0">
+ <onentry>
+ <foreach item="Var2" array="Var3">
+ <assign location="Var1" expr="Var1 + 1"/>
+ <!-- assign an illegal value to a non-existent var -->
+ <assign location="Var5" expr="return"/>
+ </foreach>
+ </onentry>
+
+ <transition cond="Var1==1" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test158.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test158.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test158.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test158.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test158.txml.scxml
new file mode 100644
index 0000000..f1a583f
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test158.txml.scxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that executable content executes in document order. if event1 occurs then event2, succeed, otherwise fail --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="ecmascript" version="1.0">
+<datamodel>
+ <data id="Var1" expr="0"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <raise event="event1"/>
+ <raise event="event2"/>
+ </onentry>
+ <transition event="event1" target="s1"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+<state id="s1">
+ <transition event="event2" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test159.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test159.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test159.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test159.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test159.txml.scxml
new file mode 100644
index 0000000..d144855
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test159.txml.scxml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that any error raised by an element of executable content causes all subsequent elements to be skipped.
+The send tag will raise an error so var1 should not be incremented. If it is fail, otherwise succeed --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="ecmascript" version="1.0">
+<datamodel>
+ <data id="Var1" expr="0"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <send event="thisWillFail" conf:illegaltarget=""/>
+ <conf:incrementId id="1"/>
+ </onentry>
+ <transition cond="Var1==1" target="fail"/>
+ <transition target="pass"/>
+ </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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test172.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test172.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test172.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test172.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test172.txml.scxml
new file mode 100644
index 0000000..28f2bcb
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test172.txml.scxml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that eventexpr uses the current value of var1, not its initial value --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="ecmascript" version="1.0">
+<datamodel>
+ <data id="Var1" expr="'event1'"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <assign location="Var1" expr="'event2'"/>
+ <send eventexpr="Var1"/>
+ </onentry>
+
+ <transition event="event2" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test173.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test173.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test173.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test173.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test173.txml.scxml
new file mode 100644
index 0000000..fa2a289
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test173.txml.scxml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that targetexpr uses the current value of var1, not its initial value
+(If it uses the initial value, it will generate an error. If it uses the current value, event1 will be raised --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="27"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <assign location="Var1" expr="'#_internal'"/>
+ <send targetexpr="Var1" event="event1"/>
+ </onentry>
+
+ <transition event="event1" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test174.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test174.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test174.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test174.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test174.txml.scxml
new file mode 100644
index 0000000..f78feee
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test174.txml.scxml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that typeexpr uses the current value of var1, not its initial value
+(If it uses the initial value, it will generate an error. If it uses the current value, event1 will be raised --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="ecmascript" version="1.0">
+<datamodel>
+ <data id="Var1" expr="27"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <assign location="Var1" expr="'http://www.w3.org/TR/scxml/#SCXMLEventProcessor'"/>
+ <send typeexpr="Var1" event="event1"/>
+ </onentry>
+
+ <transition event="event1" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test175.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test175.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test175.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test175.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test175.txml.scxml
new file mode 100644
index 0000000..4876821
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test175.txml.scxml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that delayexpr uses the current value of var1, not its initial value
+(If it uses the initial value, event2 will be generated first, before event1. If it uses the current value,
+event1 will be raised first. Succeed if event1 occurs before event2, otherwise fail --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="'0s'"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <assign location="Var1" expr="'3s'"/>
+ <send delayexpr="Var1" event="event2"/>
+ <send delay="1s" event="event1"/>
+ </onentry>
+
+ <transition event="event1" target="s1"/>
+ <transition event="event2" target="fail"/>
+ </state>
+
+<state id="s1">
+ <transition event="event2" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test176.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test176.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test176.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test176.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test176.txml.scxml
new file mode 100644
index 0000000..4b120ec
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test176.txml.scxml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that <param> uses the current value of var1, not its initial value. If the value of
+aParam in event1 is 2 so that var2 gets set to 2, success, otherwise failure --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="1"/>
+ <data id="Var2"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <assign location="Var1" expr="2"/>
+ <send event="event1">
+ <param name="aParam" expr="Var1"/>
+ </send>
+ </onentry>
+
+ <transition event="event1" target="s1">
+ <assign location="Var2" expr="_event.data.aParam"/>
+ </transition>
+ <transition event="*" target="fail"/>
+ </state>
+
+<state id="s1">
+ <transition cond="Var2==2" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test178.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test178.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test178.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test178.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test178.txml.scxml
new file mode 100644
index 0000000..91b4681
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test178.txml.scxml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that multiple key/value pairs are included, even when the keys are the same.
+This is a manual test. The tester must look at the log output and verify that both
+keys are there. (This test uses the SCXML Event I/O processor, which is the only
+one that all platforms must support. It does not specify the message format, so
+we cannot test _event.raw directly. Therefore we print it out for visual
+inspection.) --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+<state id="s0">
+ <onentry>
+ <send event="event1">
+ <param name="Var1" expr="2"/>
+ <param name="Var1" expr="3"/>
+ </send>
+ </onentry>
+
+ <transition event="event1" target="final">
+ <log label="_event " expr="_event.raw"/>
+ </transition>
+ <transition event="*" target="fail"/>
+
+ </state>
+
+
+<final id="final"/>
+<final id="fail"><onentry><log label="Outcome" expr="'fail'"/></onentry></final>
+
+</scxml> \ No newline at end of file
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test179.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test179.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test179.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test179.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test179.txml.scxml
new file mode 100644
index 0000000..170b105
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test179.txml.scxml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that <content> can be used to populate body of a message --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0">
+ <onentry>
+ <send event="event1">
+ <content>123</content>
+ </send>
+ </onentry>
+
+ <transition event="event1" cond="_event.data === '123'" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test183.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test183.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test183.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test183.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test183.txml.scxml
new file mode 100644
index 0000000..2c17ea8
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test183.txml.scxml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that <send> stores the value of the sendid in idlocation. If it does,
+var1 has a value and we pass. Otherwise we fail --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="ecmascript" version="1.0">
+<datamodel>
+ <data id="Var1"/>
+
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <send event="event1" idlocation="Var1"/>
+ </onentry>
+
+ <transition cond="Var1" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test185.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test185.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test185.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test185.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test185.txml.scxml
new file mode 100644
index 0000000..cdf8a77
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test185.txml.scxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that <send> respects the delay specification. If it does, event1 arrives before event2
+ and we pass. Otherwise we fail --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0">
+ <onentry>
+ <send event="event2" delay="2s"/>
+ <send event="event1"/>
+ </onentry>
+
+ <transition event="event1" target="s1"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+<state id="s1">
+ <transition event="event2" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test186.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test186.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test186.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test186.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test186.txml.scxml
new file mode 100644
index 0000000..20f0063
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test186.txml.scxml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that <send> evals its args when it is evaluated, not when the delay interval expires and the
+message is actually sent. If it does, aParam will have the value of 1 (even though var1 has been incremented
+in the interval.) If var2 ends up == 1, we pass. Otherwise we fail --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="1"/>
+ <data id="Var2"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <send event="event1" delay="2s">
+ <param name="aParam" expr="Var1"/>
+ </send>
+ <assign location="Var1" expr="2"/>
+ </onentry>
+
+ <transition event="event1" target="s1">
+ <assign location="Var2" expr="_event.data.aParam"/>
+ </transition>
+ <transition event="*" target="fail"/>
+ </state>
+
+<state id="s1">
+ <transition cond="Var2==1" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test187.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test187.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test187.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test187.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test187.txml.scxml
new file mode 100644
index 0000000..d03c16d
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test187.txml.scxml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that delayed <send> is not sent if the sending session terminates. In this case,
+a subscript is invoked which sends the event childToParent delayed by 1 second, and then terminates. The
+parent session, should not receive childToParent. If it does, we fail. Otherwise the
+10 sec timer expires and we pass --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0">
+ <onentry>
+ <send event="timeout" delay="10s"/>
+ </onentry>
+ <invoke type="scxml">
+ <content>
+ <!-- exit before the delayed send can execute -->
+ <scxml initial="sub0" version="1.0" datamodel="ecmascript">
+ <state id="sub0">
+ <onentry>
+ <send event="childToParent" target="#_parent" delay="1s"/>
+ </onentry>
+ <transition target="subFinal"/>
+ </state>
+ <final id="subFinal"/>
+ </scxml>
+ </content>
+ </invoke>
+
+ <transition event="childToParent" target="fail"/>
+ <transition event="timeout" target="pass"/>
+</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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test194.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test194.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test194.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test194.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test194.txml.scxml
new file mode 100644
index 0000000..e7dcd76
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test194.txml.scxml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that specifying an illegal target for <send> causes the event error.execution to be raised. If it does,
+we succeed. Otherwise we eventually timeout and fail. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0">
+ <onentry>
+ <!-- should cause an error -->
+ <send target="baz" event="event2"/>
+ <!-- this will get added to the external event queue after the error has been raised -->
+ <send event="timeout"/>
+ </onentry>
+
+ <!-- once we've entered the state, we should check for internal events first -->
+ <transition event="error.execution" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test198.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test198.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test198.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test198.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test198.txml.scxml
new file mode 100644
index 0000000..e804625
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test198.txml.scxml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that if type is not provided <send> uses the scxml event i/o processor. The only way to tell
+what processor was used is to look at the origintype of the resulting event --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+<state id="s0">
+ <onentry>
+ <send event="event1"/>
+ <send event="timeout"/>
+ </onentry>
+
+
+ <transition event="event1" cond=" _event.origintype == 'http://www.w3.org/TR/scxml/#SCXMLEventProcessor'" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test199.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test199.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test199.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test199.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test199.txml.scxml
new file mode 100644
index 0000000..2119cd8
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test199.txml.scxml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that using an invalid send type results in error.execution --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+<state id="s0">
+ <onentry>
+ <send type="27" event="event1"/>
+ <send event="timeout"/>
+ </onentry>
+
+
+ <transition event="error.execution" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test200.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test200.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test200.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test200.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test200.txml.scxml
new file mode 100644
index 0000000..2aa85a9
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test200.txml.scxml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that the processor supports the scxml event i/o processor --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="ecmascript" version="1.0">
+
+<state id="s0">
+ <onentry>
+ <send type="http://www.w3.org/TR/scxml/#SCXMLEventProcessor" event="event1"/>
+ <send event="timeout"/>
+ </onentry>
+
+
+ <transition event="event1" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test201.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test201.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test201.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test201.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test201.txml.scxml
new file mode 100644
index 0000000..6460bbb
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test201.txml.scxml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that the processor supports the basic http event i/o processor. This is an optional
+test since platforms are not required to support basic http event i/o --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+<state id="s0">
+ <onentry>
+ <send type="http://www.w3.org/TR/scxml/#BasicHTTPEventProcessor" event="event1"/>
+ <send event="timeout"/>
+ </onentry>
+
+
+ <transition event="event1" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test205.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test205.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test205.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test205.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test205.txml.scxml
new file mode 100644
index 0000000..5adefbe
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test205.txml.scxml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that the processor doesn't change the message. We can't test that it never does this, but
+at least we can check that the event name and included data are the same as we sent. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <send event="event1">
+ <param name="aParam" expr="1"/>
+ </send>
+ <send event="timeout"/>
+ </onentry>
+
+
+ <transition event="event1" target="s1">
+ <assign location="Var1" expr="_event.data.aParam"/>
+ </transition>
+ <transition event="*" target="fail"/>
+ </state>
+
+<state id="s1">
+ <transition cond="Var1==1" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test207.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test207.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test207.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test207.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test207.txml.scxml
new file mode 100644
index 0000000..aa5786a
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test207.txml.scxml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that that we can't cancel an event in another session. We invoke a child process. It notifies
+us when it has generated a delayed event with sendid foo. We try to cancel foo. The child process sends us event
+ event success if the event is not cancelled, event fail otherwise. This doesn't test that there is absolutely no way to cancel an event
+raised in another session, but the spec doesn't define any way to refer to an event in another process --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0" initial="s01">
+ <onentry>
+ <send event="timeout" delay="10s"/>
+ </onentry>
+ <invoke type="scxml">
+ <content>
+ <!-- when invoked, we raise a delayed event1 with sendid 'foo' and notify our parent. Then we wait.
+ If event1 occurs, the parent hasn't succeeded in canceling it and we return pass. If event2 occurs
+ it means event1 was canceled (because event2 is delayed longer than event1) and we return 'fail'. -->
+
+
+ <scxml initial="sub0" version="1.0" datamodel="ecmascript">
+ <state id="sub0">
+ <onentry>
+ <send event="event1" id="foo" delay="3s"/>
+ <send event="event2" delay="5s"/>
+ <send target="#_parent" event="childToParent"/>
+ </onentry>
+
+ <transition event="event1" target="subFinal">
+ <send target="#_parent" event="pass"/>
+ </transition>
+ <transition event="*" target="subFinal">
+ <send target="#_parent" event="fail"/>
+ </transition>
+
+ </state>
+ <final id="subFinal"/>
+ </scxml>
+ </content>
+ </invoke>
+
+ <state id="s01">
+ <transition event="childToParent" target="s02">
+ <cancel sendid="foo"/>
+ </transition>
+ </state>
+
+ <state id="s02">
+ <transition event="pass" target="pass"/>
+ <transition event="fail" target="fail"/>
+ <transition event="timeout" target="fail"/>
+ </state>
+
+</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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test208.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test208.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test208.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test208.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test208.txml.scxml
new file mode 100644
index 0000000..6faa9c1
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test208.txml.scxml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that cancel works. We cancel delayed event1. If cancel works, we get event2 first and pass. If
+we get event1 or an error first, cancel didn't work and we fail. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0">
+ <onentry>
+ <send id="foo" event="event1" delay="1s"/>
+ <send event="event2" delay="5s"/>
+ <cancel sendid="foo"/>
+ </onentry>
+
+ <transition event="event2" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test210.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test210.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test210.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test210.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test210.txml.scxml
new file mode 100644
index 0000000..e29b65d
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test210.txml.scxml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that sendidexpr works with cancel. If it takes the most recent value of var1, it should cancel
+delayed event1. Thus we get event2 first and pass. If we get event1 or an error first, cancel didn't work and we fail. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="'bar'"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <send id="foo" event="event1" delay="1s"/>
+ <send event="event2" delay="5s"/>
+ <assign location="Var1" expr="'foo'"/>
+ <cancel sendidexpr="Var1"/>
+ </onentry>
+
+ <transition event="event2" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test215.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test215.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test215.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test215.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test215.txml.scxml
new file mode 100644
index 0000000..97e6a39
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test215.txml.scxml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that typexpr is evaluated at runtime. If the original value of var1 is used, the invocation
+will fail (test215sub1.scxml is not of type 'foo', even if the platform supports foo as a type). If
+the runtime value is used, the invocation will succeed --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="ecmascript" version="1.0">
+
+<datamodel>
+ <data id="Var1" expr="'foo'"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <send event="timeout" delay="5s"/>
+ <assign location="Var1" expr="'http://www.w3.org/TR/scxml/'"/>
+ </onentry>
+ <invoke typeexpr="Var1">
+ <content>
+ <!-- when invoked, terminate returning done.invoke. This proves that the invocation succeeded. -->
+ <scxml initial="subFinal" datamodel="ecmascript" version="1.0">
+ <final id="subFinal"/>
+ </scxml>
+ </content>
+ </invoke>
+ <transition event="done.invoke" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test216.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test216.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test216.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test216.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test216.txml.scxml
new file mode 100644
index 0000000..97b2a77
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test216.txml.scxml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that srcexpr is evaluated at runtime. If the original value of var1 is used, the invocation
+will fail (assuming that there is no script named 'foo'). If
+the runtime value is used, the invocation will succeed --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+<datamodel>
+ <data id="Var1" expr="'foo'"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <send event="timeout" delay="5s"/>
+ <assign location="Var1" expr="'file:test216sub1.scxml'"/>
+ </onentry>
+ <invoke srcexpr="Var1" type="http://www.w3.org/TR/scxml"/>
+ <transition event="done.invoke" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test220.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test220.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test220.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test220.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test220.txml.scxml
new file mode 100644
index 0000000..2d447c4
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test220.txml.scxml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that the scxml type is supported. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+<state id="s0">
+ <onentry>
+ <send event="timeout" delay="5s"/>
+ </onentry>
+ <invoke type="http://www.w3.org/TR/scxml/">
+ <content>
+ <!-- when invoked, terminate returning done.invoke. This proves that the invocation succeeded. -->
+ <scxml initial="subFinal" version="1.0" datamodel="ecmascript">
+ <final id="subFinal"/>
+ </scxml></content>
+ </invoke>
+ <transition event="done.invoke" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test223.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test223.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test223.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test223.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test223.txml.scxml
new file mode 100644
index 0000000..63ceadd
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test223.txml.scxml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that idlocation is supported. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+ <datamodel>
+ <data id="Var1"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <send event="timeout" delay="1s"/>
+ </onentry>
+ <invoke type="http://www.w3.org/TR/scxml/" idlocation="Var1">
+ <content>
+ <!-- when invoked, terminate returning done.invoke. This proves that the invocation succeeded. -->
+ <scxml initial="subFinal" version="1.0" datamodel="ecmascript">
+ <final id="subFinal"/>
+ </scxml>
+ </content>
+ </invoke>
+ <transition event="*" target="s1"/>
+</state>
+
+<state id="s1">
+ <transition cond="Var1" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test224.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test224.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test224.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test224.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test224.txml.scxml
new file mode 100644
index 0000000..e2e8a32
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test224.txml.scxml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that the automatically generated id has the form stateid.platformid. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+ <datamodel>
+ <data id="Var1"/>
+ <data id="Var2" expr="'s0.'"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <send event="timeout" delay="1s"/>
+ </onentry>
+ <invoke type="http://www.w3.org/TR/scxml/" idlocation="Var1">
+ <content>
+ <!-- when invoked, terminate returning done.invoke. This proves that the invocation succeeded. -->
+ <scxml version="1.0" initial="subFinal" datamodel="ecmascript">
+ <final id="subFinal"/>
+ </scxml>
+ </content>
+ </invoke>
+
+ <transition event="*" target="s1"/>
+</state>
+
+<state id="s1">
+ <transition cond="(function(str, starts){if (starts === '') return true;if (str == null || starts == null) return false;str = String(str); starts = String(starts);return str.length &gt;= starts.length &amp;&amp; str.slice(0, starts.length) === starts;})(Var1, Var2)" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test225.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test225.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test225.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test225.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test225.txml.scxml
new file mode 100644
index 0000000..467d1ba
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test225.txml.scxml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that the automatically generated id is unique, we call invoke twice and compare the ids. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+ <datamodel>
+ <data id="Var1"/>
+ <data id="Var2"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <send event="timeout" delay="1s"/>
+ </onentry>
+
+ <invoke type="http://www.w3.org/TR/scxml/" idlocation="Var1">
+ <content>
+ <scxml initial="subFinal1" version="1.0" datamodel="ecmascript">
+ <final id="subFinal1"/>
+ </scxml>
+ </content>
+ </invoke>
+ <invoke type="http://www.w3.org/TR/scxml/" idlocation="Var2">
+ <content>
+ <scxml initial="subFinal2" version="1.0" datamodel="ecmascript">
+ <final id="subFinal2"/>
+ </scxml>
+ </content>
+ </invoke>
+
+ <transition event="*" target="s1"/>
+</state>
+
+<state id="s1">
+ <transition cond="Var1===Var2" target="fail"/>
+ <transition target="pass"/>
+ </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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test226.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test226.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test226.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test226.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test226.txml.scxml
new file mode 100644
index 0000000..c831a1d
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test226.txml.scxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- this is basically just a test that invoke works correctly and that you can pass data
+to the invoked process. If the invoked session finds aParam==1, it exits, signalling
+success. otherwise it will hang and the timeout in this doc signifies failure. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0">
+ <onentry>
+ <send event="timeout" delay="3s"/>
+ </onentry>
+
+
+ <invoke type="http://www.w3.org/TR/scxml/" src="file:test226sub1.txml">
+ <param name="Var1" expr="1"/>
+ </invoke>
+
+ <transition event="varBound" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test228.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test228.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test228.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test228.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test228.txml.scxml
new file mode 100644
index 0000000..b44de56
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test228.txml.scxml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that the invokeid is included in events returned from the invoked process. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+ <datamodel>
+ <data id="Var1"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <send event="timeout" delay="3s"/>
+ </onentry>
+
+ <invoke type="http://www.w3.org/TR/scxml/" id="foo">
+ <content>
+ <scxml initial="subFinal" version="1.0" datamodel="ecmascript">
+ <final id="subFinal"/>
+ </scxml>
+ </content>
+ </invoke>
+
+ <transition event="done.invoke" target="s1">
+ <assign location="Var1" expr="_event.invokeid"/>
+ </transition>
+ <transition event="*" target="fail"/>
+</state>
+
+<state id="s1">
+ <transition cond="Var1=='foo'" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test229.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test229.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test229.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test229.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test229.txml.scxml
new file mode 100644
index 0000000..e3aeecb
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test229.txml.scxml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that autofoward works. If the child process receives back a copy of the
+childToParent event that it sends to this doc, it sends eventReceived, signalling success. (Note
+that this doc is not required to process that event explicitly. It should be forwarded in any case.) Otherwise
+it eventually times out and the done.invoke signals failure --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0">
+ <onentry>
+ <send event="timeout" delay="3s"/>
+ </onentry>
+
+ <invoke type="http://www.w3.org/TR/scxml/" autoforward="true">
+ <content>
+ <!-- when invoked, send childToParent to parent.
+ If it is forwarded back to us, send
+ eventReceived to signal success and terminate.
+ Otherwise wait for timer to expire and terminate. -->
+ <scxml initial="sub0" version="1.0" datamodel="ecmascript">
+ <state id="sub0">
+ <onentry>
+ <send target="#_parent" event="childToParent"/>
+ <send event="timeout" delay="3s"/>
+ </onentry>
+ <transition event="childToParent" target="subFinal">
+ <send target="#_parent" event="eventReceived"/>
+ </transition>
+ <transition event="*" target="subFinal"/>
+ </state>
+ <final id="subFinal"/>
+ </scxml>
+ </content>
+ </invoke>
+
+ <transition event="childToParent"/>
+ <transition event="eventReceived" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test230.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test230.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test230.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test230.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test230.txml.scxml
new file mode 100644
index 0000000..ae13476
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test230.txml.scxml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- a manual test that an autofowarded event has the same fields and values as the original event.
+the child process sends the parent process an event which is forwarded back to it.
+Both the parent and child process print out the contents of the event. The tester
+must check if they are the same and report his result. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0" initial="s01">
+ <onentry>
+ <send event="timeout" delay="3s"/>
+ </onentry>
+ <invoke type="http://www.w3.org/TR/scxml/" autoforward="true">
+ <content>
+ <!-- when invoked, send childToParent to parent. If it is forwarded back to us, print out its
+ fields and terminate. -->
+ <scxml initial="sub0" version="1.0" datamodel="ecmascript">
+ <state id="sub0">
+ <onentry>
+ <send target="#_parent" event="childToParent"/>
+ <send event="timeout" delay="2s"/>
+ </onentry>
+ <transition event="childToParent" target="subFinal">
+ <log label="name is " expr="_event.name"/>
+ <log label="type is " expr="_event.type"/>
+ <log label="sendid is " expr="_event.sendid"/>
+ <log label="origin is " expr="_event.origin"/>
+ <log label="origintype is " expr="_event.origintype"/>
+ <log label="invokeid is " expr="_event.invokeid"/>
+ <log label="data is " expr="_event.data"/>
+ </transition>
+ <transition event="*" target="subFinal"/>
+ </state>
+ <final id="subFinal"/>
+ </scxml>
+ </content>
+ </invoke>
+ <transition event="timeout" target="final"/>
+
+
+ <state id="s01">
+ <transition event="childToParent" target="s02">
+ <log label="name is " expr="_event.name"/>
+ <log label="type is " expr="_event.type"/>
+ <log label="sendid is " expr="_event.sendid"/>
+ <log label="origin is " expr="_event.origin"/>
+ <log label="origintype is " expr="_event.origintype"/>
+ <log label="invokeid is " expr="_event.invokeid"/>
+ <log label="data is " expr="_event.data"/>
+ </transition>
+ <transition event="*" target="fail"/>
+ </state>
+
+ <state id="s02">
+ <!-- wait till we get the done event to ensure that the child process has time to print out its results -->
+ <transition event="done.invoke" target="final"/>
+ </state>
+
+</state>
+
+<final id="final"/>
+<final id="fail"><onentry><log label="Outcome" expr="'fail'"/></onentry></final>
+
+</scxml> \ No newline at end of file
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test232.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test232.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test232.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test232.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test232.txml.scxml
new file mode 100644
index 0000000..9515e15
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test232.txml.scxml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that a parent process can receive multiple events from a child process --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0" initial="s01">
+ <onentry>
+ <send event="timeout" delay="3s"/>
+ </onentry>
+ <invoke type="http://www.w3.org/TR/scxml/">
+ <content>
+ <scxml initial="subFinal" version="1.0" datamodel="ecmascript">
+ <final id="subFinal">
+ <onentry>
+ <send target="#_parent" event="childToParent1"/>
+ <send target="#_parent" event="childToParent2"/>
+ </onentry>
+ </final>
+ </scxml>
+ </content>
+ </invoke>
+ <transition event="timeout" target="fail"/>
+
+
+ <state id="s01">
+ <transition event="childToParent1" target="s02"/>
+ </state>
+
+ <state id="s02">
+ <transition event="childToParent2" target="s03"/>
+ </state>
+
+<state id="s03">
+ <transition event="done.invoke" target="pass"/>
+ </state>
+
+</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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test233.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test233.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test233.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test233.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test233.txml.scxml
new file mode 100644
index 0000000..3900d28
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test233.txml.scxml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that finalize markup runs before the event is processed. The invoked process will
+return 2 in _event.data.aParam, so that new value should be in force when we select
+the transtitions. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="1"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <send event="timeout" delay="3s"/>
+ </onentry>
+ <invoke type="http://www.w3.org/TR/scxml/">
+ <content>
+ <scxml initial="subFinal" version="1.0" datamodel="ecmascript">
+ <final id="subFinal">
+ <onentry>
+ <send target="#_parent" event="childToParent">
+ <param name="aParam" expr="2"/>
+ </send>
+ </onentry>
+ </final>
+ </scxml>
+ </content>
+ <finalize>
+ <assign location="Var1" expr="_event.data.aParam"/>
+ </finalize>
+ </invoke>
+
+ <transition event="childToParent" cond="" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test234.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test234.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test234.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test234.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test234.txml.scxml
new file mode 100644
index 0000000..b874fe9
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test234.txml.scxml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that only finalize markup in the invoking state runs. the first invoked process will
+return 2 in _event.data.aParam, while second invoked process sleeps without returning any events.
+Only the first finalize should execute. So when we get to s1 var1 should have value 2 but
+var2 should still be set to 1 --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="p0" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="1"/>
+ <data id="Var2" expr="1"/>
+ </datamodel>
+<parallel id="p0">
+ <onentry>
+ <send event="timeout" delay="3s"/>
+ </onentry>
+ <transition event="timeout" target="fail"/>
+
+ <state id="p01">
+ <invoke type="http://www.w3.org/TR/scxml/">
+ <content>
+ <scxml version="1.0" initial="subFinal1" datamodel="ecmascript">
+ <final id="subFinal1">
+ <onentry>
+ <send target="#_parent" event="childToParent">
+ <param name="aParam" expr="2"/>
+ </send>
+ </onentry>
+ </final>
+ </scxml>
+ </content>
+ <finalize>
+ <assign location="Var1" expr="_event.data.aParam"/>
+ </finalize>
+ </invoke>
+
+ <transition event="childToParent" cond="Var1==2" target="s1"/>
+ <transition event="childToParent" target="fail"/>
+ </state>
+
+ <state id="p02">
+ <invoke type="http://www.w3.org/TR/scxml/">
+ <content>
+ <scxml version="1.0" initial="sub0" datamodel="ecmascript">
+ <state id="sub0">
+ <onentry>
+ <send event="timeout" delay="2s"/>
+ </onentry>
+ <transition event="timeout" target="subFinal2"/>
+ </state>
+ <final id="subFinal2"/>
+ </scxml>
+ </content>
+ <finalize>
+ <assign location="Var2" expr="_event.data.aParam"/>
+ </finalize>
+ </invoke>
+ </state>
+
+</parallel>
+
+
+<state id="s1">
+ <transition cond="Var2==1" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test235.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test235.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test235.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test235.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test235.txml.scxml
new file mode 100644
index 0000000..17d0cf0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test235.txml.scxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that done.invoke.id event has the right id. the invoked child terminates immediately
+and should generate done.invoke.foo --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0">
+ <onentry>
+ <send event="timeout" delay="2s"/>
+ </onentry>
+ <invoke type="http://www.w3.org/TR/scxml/" id="foo">
+ <content>
+ <scxml initial="subFinal" version="1.0" datamodel="ecmascript">
+ <final id="subFinal"/>
+ </scxml>
+ </content>
+ </invoke>
+
+ <transition event="done.invoke.foo" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test236.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test236.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test236.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test236.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test236.txml.scxml
new file mode 100644
index 0000000..700c6f8
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test236.txml.scxml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that done.invoke.id event is the last event we receive. the invoked process sends childToParent
+in the exit handler of its final state. We should get it before the done.invoke, and we should get no
+events after the done.invoke. Hence timeout indicates success --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0">
+ <onentry>
+ <send event="timeout" delay="2s"/>
+ </onentry>
+ <invoke type="http://www.w3.org/TR/scxml/">
+ <content>
+ <scxml initial="subFinal" version="1.0" datamodel="ecmascript">
+ <final id="subFinal">
+ <onexit>
+ <send target="#_parent" event="childToParent"/>
+ </onexit>
+ </final>
+ </scxml>
+ </content>
+ </invoke>
+
+ <transition event="childToParent" target="s1"/>
+ <transition event="done.invoke" target="fail"/>
+</state>
+
+<state id="s1">
+ <!-- here we should get done.invoke -->
+ <transition event="done.invoke" target="s2"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+<state id="s2">
+ <transition event="timeout" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test237.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test237.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test237.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test237.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test237.txml.scxml
new file mode 100644
index 0000000..b23811d
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test237.txml.scxml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that cancelling works. invoked child sleeps for two seconds, then terminates. We
+sleep for 1 sec in s0, then move to s1. This should cause the invocation to get cancelled.
+If we receive done.invoke, the invocation wasn't cancelled, and we fail. If we receive no events by
+the time timeout2 fires, success --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0">
+ <onentry>
+ <send event="timeout1" delay="1s"/>
+ </onentry>
+ <invoke type="http://www.w3.org/TR/scxml/">
+ <content>
+ <!-- when invoked, sleep for 2 secs then terminate. Parent will try to cancel this session -->
+ <scxml initial="sub0" version="1.0" datamodel="ecmascript">
+ <state id="sub0">
+ <onentry>
+ <send event="timeout" delay="2s"/>
+ </onentry>
+ <transition event="timeout" target="subFinal"/>
+ </state>
+ <final id="subFinal"/>
+ </scxml>
+ </content>
+ </invoke>
+
+ <transition event="timeout1" target="s1"/>
+
+</state>
+
+<state id="s1">
+ <onentry>
+ <send event="timeout2" delay="2s"/>
+ </onentry>
+ <!-- here we should NOT get done.invoke -->
+ <transition event="done.invoke" target="fail"/>
+ <transition event="*" target="pass"/>
+ </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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test239.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test239.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test239.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test239.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test239.txml.scxml
new file mode 100644
index 0000000..4fcfc92
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test239.txml.scxml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that markup can be specified both by 'src' and by <content> --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0" initial="s01">
+ <onentry>
+ <send event="timeout" delay="2s"/>
+ </onentry>
+ <transition event="timeout" target="fail"/>
+
+ <state id="s01">
+ <invoke type="http://www.w3.org/TR/scxml/" src="file:test239sub1.scxml"/>
+ <transition event="done.invoke" target="s02"/>
+ </state>
+
+<state id="s02">
+ <invoke type="http://www.w3.org/TR/scxml/">
+ <!-- identical to test239sub1.scxml. -->
+ <content>
+ <scxml version="1.0" initial="final" datamodel="ecmascript">
+ <final id="final"/>
+ </scxml>
+ </content>
+ </invoke>
+
+ <transition event="done.invoke" target="pass"/>
+ </state>
+
+</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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test240.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test240.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test240.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test240.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test240.txml.scxml
new file mode 100644
index 0000000..6d74d4c
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test240.txml.scxml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that datamodel values can be specified both by 'namelist' and by <param>.
+invoked child will return success if its Var1 is set to 1, failure otherwise. This
+test will fail schema validation because of the multiple occurences of Var1, but
+should run correctly. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="1"/>
+ </datamodel>
+
+<state id="s0" initial="s01">
+ <onentry>
+ <send event="timeout" delay="2s"/>
+ </onentry>
+ <transition event="timeout" target="fail"/>
+
+ <state id="s01">
+ <invoke type="http://www.w3.org/TR/scxml/" namelist="Var1">
+ <content>
+ <scxml initial="sub01" version="1.0" datamodel="ecmascript">
+ <datamodel>
+ <data id="Var1" expr="0"/>
+ </datamodel>
+ <state id="sub01">
+ <transition cond="Var1===1" target="subFinal1">
+ <send target="#_parent" event="success"/>
+ </transition>
+ <transition target="subFinal1">
+ <send target="#_parent" event="failure"/>
+ </transition>
+ </state>
+ <final id="subFinal1"/>
+ </scxml>
+ </content>
+ </invoke>
+ <transition event="success" target="s02"/>
+ <transition event="failure" target="fail"/>
+ </state>
+
+<state id="s02">
+ <invoke type="http://www.w3.org/TR/scxml/">
+ <param name="Var1" expr="1"/>
+ <content>
+ <scxml initial="sub02" version="1.0" datamodel="ecmascript">
+ <datamodel>
+ <data id="Var1" expr="0"/>
+ </datamodel>
+
+ <state id="sub02">
+ <transition cond="Var1==1" target="subFinal2">
+ <send target="#_parent" event="success"/>
+ </transition>
+ <transition target="subFinal1">
+ <send target="#_parent" event="failure"/>
+ </transition>
+ </state>
+ <final id="subFinal2"/>
+ </scxml>
+ </content>
+ </invoke>
+ <transition event="success" target="pass"/>
+ <transition event="failure" target="fail"/>
+ </state>
+
+</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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test241.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test241.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test241.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test241.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test241.txml.scxml
new file mode 100644
index 0000000..af1471f
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test241.txml.scxml
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- The child process will return success ifits Var1 is set to 1, failure otherwise. For this test
+we try passing in Var1 by param and by namelist and check that we either get two successes
+or two failures. This test will fail schema validation due to multiple declarations of
+Var1, but should run correctly. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="1"/>
+ </datamodel>
+
+<state id="s0" initial="s01">
+ <onentry>
+ <send event="timeout" delay="2s"/>
+ </onentry>
+ <transition event="timeout" target="fail"/>
+
+ <state id="s01">
+ <invoke type="http://www.w3.org/TR/scxml/" namelist="Var1">
+ <content>
+ <scxml initial="sub01" version="1.0" datamodel="ecmascript">
+ <datamodel>
+ <data id="Var1" expr="0"/>
+ </datamodel>
+
+ <state id="sub01">
+ <transition cond="Var1==1" target="subFinal1">
+ <send target="#_parent" event="success"/>
+ </transition>
+ <transition target="subFinal1">
+ <send target="#_parent" event="failure"/>
+ </transition>
+ </state>
+
+ <final id="subFinal1"/>
+ </scxml>
+ </content>
+ </invoke>
+ <transition event="success" target="s02"/>
+ <transition event="failure" target="s03"/>
+ </state>
+
+<state id="s02">
+ <invoke type="http://www.w3.org/TR/scxml/">
+ <param name="Var1" expr="1"/>
+ <content>
+ <scxml initial="sub02" version="1.0" datamodel="ecmascript">
+ <datamodel>
+ <data id="Var1" expr="0"/>
+ </datamodel>
+
+ <state id="sub02">
+ <transition cond="Var1==1" target="subFinal2">
+ <send target="#_parent" event="success"/>
+ </transition>
+ <transition target="subFinal2">
+ <send target="#_parent" event="failure"/>
+ </transition>
+ </state>
+
+ <final id="subFinal2"/>
+ </scxml>
+ </content>
+ </invoke>
+ <!-- we got success in s01, so we need to do so here -->
+ <transition event="success" target="pass"/>
+ <transition event="failure" target="fail"/>
+ </state>
+
+<state id="s03">
+ <invoke type="http://www.w3.org/TR/scxml/">
+ <param name="Var1" expr="1"/>
+ <content>
+ <scxml initial="sub03" version="1.0" datamodel="ecmascript">
+ <datamodel>
+ <data id="Var1" expr="0"/>
+ </datamodel>
+
+ <state id="sub03">
+ <transition cond="Var1==1" target="subFinal3">
+ <send target="#_parent" event="success"/>
+ </transition>
+ <transition target="subFinal3">
+ <send target="#_parent" event="failure"/>
+ </transition>
+ </state>
+
+ <final id="subFinal3"/>
+ </scxml>
+ </content>
+ </invoke>
+ <!-- we got failure in s01, so we need to do so here -->
+ <transition event="failure" target="pass"/>
+ <transition event="success" target="fail"/>
+ </state>
+
+</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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test242.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test242.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test242.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test242.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test242.txml.scxml
new file mode 100644
index 0000000..f0fa504
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test242.txml.scxml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that markup specified by 'src' and by <content> is treated the same way. That means that
+either we get done.invoke in both cases or in neither case (in which case we timeout) --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0">
+ <onentry>
+ <send event="timeout1" delay="1s"/>
+ </onentry>
+ <transition event="timeout" target="fail"/>
+
+ <invoke type="http://www.w3.org/TR/scxml/" src="file:test242sub1.scxml"/>
+ <transition event="done.invoke" target="s02"/>
+ <transition event="timeout1" target="s03"/>
+ </state>
+
+<state id="s02">
+ <onentry>
+ <send event="timeout2" delay="1s"/>
+ </onentry>
+ <invoke type="http://www.w3.org/TR/scxml/">
+ <!-- identical to test242sub1.scxml. -->
+ <content>
+ <scxml version="1.0" initial="subFinal1" datamodel="ecmascript">
+ <final id="subFinal1"/>
+ </scxml>
+ </content>
+ </invoke>
+ <!-- we got done.invoke last time, so we need it this time too -->
+ <transition event="done.invoke" target="pass"/>
+ <transition event="timeout2" target="fail"/>
+ </state>
+
+<state id="s03">
+ <onentry>
+ <send event="timeout3" delay="1s"/>
+ </onentry>
+ <invoke type="http://www.w3.org/TR/scxml/">
+ <!-- identical to test242sub1.scxml. -->
+ <content>
+ <scxml version="1.0" initial="subFinal2" datamodel="ecmascript">
+ <final id="subFinal2"/>
+ </scxml>
+ </content>
+ </invoke>
+ <!-- we got timeout last time, so we need it this time too -->
+ <transition event="timeout3" target="pass"/>
+ <transition event="done.invoke" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test243.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test243.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test243.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test243.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test243.txml.scxml
new file mode 100644
index 0000000..18f2175
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test243.txml.scxml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that datamodel values can be specified by param.
+test240sub1 will return success ifits Var1 is set to 1, failure otherwise. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0">
+ <onentry>
+ <send event="timeout" delay="2s"/>
+ </onentry>
+
+ <invoke type="http://www.w3.org/TR/scxml/">
+ <param name="Var1" expr="1"/>
+ <content>
+ <scxml version="1.0" initial="sub0" datamodel="ecmascript">
+ <datamodel>
+ <data id="Var1" expr="0"/>
+ </datamodel>
+
+ <state id="sub0">
+ <transition cond="Var1==1" target="subFinal">
+ <send target="#_parent" event="success"/>
+ </transition>
+ <transition target="subFinal">
+ <send target="#_parent" event="failure"/>
+ </transition>
+ </state>
+ <final id="subFinal"/>
+ </scxml>
+ </content>
+ </invoke>
+ <transition event="success" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test244.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test244.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test244.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test244.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test244.txml.scxml
new file mode 100644
index 0000000..d251c59
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test244.txml.scxml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that datamodel values can be specified by namelist.
+invoked child will return success ifits Var1 is set to 1, failure otherwise.
+This test will fail schema validation due to multiple occurrences of Var1,
+but should run correctly. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="1"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <send event="timeout" delay="2s"/>
+ </onentry>
+
+ <invoke type="http://www.w3.org/TR/scxml/" namelist="Var1">
+ <content>
+ <scxml initial="sub0" version="1.0" datamodel="ecmascript">
+ <datamodel>
+ <data id="Var1" expr="0"/>
+ </datamodel>
+
+ <state id="sub0">
+ <transition cond="Var1==1" target="subFinal">
+ <send target="#_parent" event="success"/>
+ </transition>
+ <transition target="subFinal">
+ <send target="#_parent" event="failure"/>
+ </transition>
+ </state>
+ <final id="subFinal"/>
+ </scxml>
+ </content>
+ </invoke>
+ <transition event="success" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test245.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test245.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test245.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test245.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test245.txml.scxml
new file mode 100644
index 0000000..58838b2
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test245.txml.scxml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that non-existent datamodel values are not set. Var2 is not defined in
+invoked child's datamodel. It will will return success if its Var2 remains unbound, failure otherwise. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var2" expr="3"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <send event="timeout" delay="2s"/>
+ </onentry>
+
+ <invoke type="http://www.w3.org/TR/scxml/" namelist="Var2">
+ <content>
+ <scxml initial="sub0" version="1.0" datamodel="ecmascript">
+ <state id="sub0">
+ <transition cond="Var2" target="subFinal">
+ <send target="#_parent" event="failure"/>
+ </transition>
+ <transition target="subFinal">
+ <send target="#_parent" event="success"/>
+ </transition>
+ </state>
+ <final id="subFinal"/>
+ </scxml>
+ </content>
+ </invoke>
+
+ <transition event="success" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test247.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test247.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test247.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test247.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test247.txml.scxml
new file mode 100644
index 0000000..b543bf1
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test247.txml.scxml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that we get done.invoke. timeout indicates failure --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0">
+ <onentry>
+ <send event="timeout" delay="2s"/>
+ </onentry>
+
+ <invoke type="http://www.w3.org/TR/scxml/">
+ <content>
+ <scxml version="1.0" initial="subFinal" datamodel="ecmascript">
+ <final id="subFinal"/>
+ </scxml>
+ </content>
+ </invoke>
+ <transition event="done.invoke" target="pass"/>
+ <transition event="timeout" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test250.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test250.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test250.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test250.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test250.txml.scxml
new file mode 100644
index 0000000..f5228ab
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test250.txml.scxml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that the onexit handlers run in the invoked process if it is cancelled. This has to be a
+manual test, since this process won't accept any events from the child process once it has been cancelled.
+Tester must examine log output from child process to determine success --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0">
+ <onentry>
+ <send event="foo"/>
+ </onentry>
+
+ <invoke type="http://www.w3.org/TR/scxml/">
+ <content>
+ <scxml initial="sub0" version="1.0" datamodel="ecmascript">
+ <state id="sub0" initial="sub01">
+ <onentry>
+ <send event="timeout" delay="2s"/>
+ </onentry>
+ <transition event="timeout" target="subFinal"/>
+ <onexit>
+ <log expr="'Exiting sub0'"/>
+ </onexit>
+ <state id="sub01">
+ <onexit>
+ <log expr="'Exiting sub01'"/>
+ </onexit>
+ </state>
+ </state>
+ <final id="subFinal">
+ <onentry>
+ <log expr="'entering final state, invocation was not cancelled'"/>
+ </onentry>
+ </final>
+ </scxml>
+ </content>
+ </invoke>
+
+ <!-- this transition will cause the invocation to be cancelled -->
+ <transition event="foo" target="final"/>
+ </state>
+
+<final id="final"/>
+</scxml> \ No newline at end of file
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test252.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test252.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test252.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test252.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test252.txml.scxml
new file mode 100644
index 0000000..14c6686
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test252.txml.scxml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that we don't process any events received from the invoked process once it is cancelled. child
+process tries to send us childToParent in an onexit handler. If we get it, we fail.
+timeout indicates success. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0" initial="s01">
+ <onentry>
+ <send event="timeout" delay="2s"/>
+ </onentry>
+
+ <transition event="timeout" target="pass"/>
+ <transition event="childToParent" target="fail"/>
+ <transition event="done.invoke" target="fail"/>
+
+ <state id="s01">
+ <onentry>
+ <send event="foo"/>
+ </onentry>
+
+ <invoke type="http://www.w3.org/TR/scxml/">
+ <content>
+ <scxml initial="sub0" version="1.0" datamodel="ecmascript">
+ <state id="sub0">
+ <onentry>
+ <send event="timeout" delay="2s"/>
+ </onentry>
+ <transition event="timeout" target="subFinal"/>
+ <onexit>
+ <send target="#_parent" event="childToParent"/>
+ </onexit>
+ </state>
+ <final id="subFinal"/>
+ </scxml>
+ </content>
+ </invoke>
+
+ <!-- this transition will cause the invocation to be cancelled -->
+ <transition event="foo" target="s02"/>
+ </state>
+
+ <state id="s02"/>
+
+</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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test253.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test253.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test253.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test253.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test253.txml.scxml
new file mode 100644
index 0000000..e8924ec
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test253.txml.scxml
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that the scxml event processor is used in both directions. If child process uses the
+scxml event i/o processor to communicate with us, send it an event. It will send back success if
+this process uses the scxml processor to send the message to it, otherwise failure. For this test we allow
+'scxml' as an alternative to the full url. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1"/>
+ </datamodel>
+
+<state id="s0" initial="s01">
+ <onentry>
+ <send event="timeout" delay="2s"/>
+ </onentry>
+
+ <transition event="timeout" target="fail"/>
+
+ <invoke type="scxml" id="foo">
+ <content>
+ <!-- inform parent we're running then wait for it to send us an event. If it uses the scxml event i/o
+ processor to do so, return success, otherwise return failure. -->
+ <scxml initial="sub0" version="1.0" datamodel="ecmascript">
+ <datamodel>
+ <data id="Var2"/>
+ </datamodel>
+ <state id="sub0">
+ <onentry>
+ <send target="#_parent" event="childRunning"/>
+ </onentry>
+
+ <transition event="parentToChild" target="sub1">
+ <assign location="Var2" expr="_event.origintype"/>
+ </transition>
+ </state>
+ <state id="sub1">
+ <transition cond="Var2=='http://www.w3.org/TR/scxml/#SCXMLEventProcessor'" target="subFinal">
+ <send target="#_parent" event="success"/>
+ </transition>
+ <transition cond="Var2=='scxml'" target="subFinal">
+ <send target="#_parent" event="success"/>
+ </transition>
+ <transition target="subFinal">
+ <send target="#_parent" event="failure"/>
+ </transition>
+ </state>
+ <final id="subFinal"/>
+ </scxml>
+ </content>
+ </invoke>
+
+ <state id="s01">
+ <transition event="childRunning" target="s02">
+ <assign location="Var1" expr="_event.origintype"/>
+ </transition>
+ </state>
+
+ <state id="s02">
+
+ <transition cond="Var1=='http://www.w3.org/TR/scxml/#SCXMLEventProcessor'" target="s03">
+ <send target="#_foo" event="parentToChild"/>
+ </transition>
+ <transition cond="Var1=='scxml'" target="s03">
+ <send target="#_foo" event="parentToChild"/>
+ </transition>
+
+ <transition target="fail"/>
+
+ </state>
+
+
+ <state id="s03">
+ <transition event="success" target="pass"/>
+ <transition event="fail" target="fail"/>
+
+ </state>
+
+</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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test276.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test276.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test276.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test276.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test276.txml.scxml
new file mode 100644
index 0000000..233c171
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test276.txml.scxml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that values passed in from parent process override default values specified in the child, test276sub1.scxml.
+The child returns event1 if var1 has value 1, event0 if it has default value 0. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+ <state id="s0">
+ <invoke type="scxml" src="file:test276sub1.scxml">
+ <param name="Var1" expr="1"/>
+ </invoke>
+ <transition event="event1" target="pass"/>
+ <transition event="event0" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test278.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test278.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test278.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test278.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test278.txml.scxml
new file mode 100644
index 0000000..b26c6f2
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test278.txml.scxml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+<!-- test that a variable can be accessed from a state that is outside its lexical scope -->
+
+ <state id="s0">
+ <transition cond="Var1==1" target="pass"/>
+
+ <transition target="fail"/>
+
+ </state>
+
+<state id="s1">
+ <datamodel>
+ <data id="Var1" expr="1"/>
+ </datamodel>
+ </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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test279.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test279.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test279.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test279.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test279.txml.scxml
new file mode 100644
index 0000000..2de6fd2
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test279.txml.scxml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- testing that in case of early binding variables are assigned values at init time, before
+ the state containing them is visited --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+ <state id="s0">
+ <transition cond="Var1==1" target="pass"/>
+
+ <transition target="fail"/>
+
+ </state>
+
+<state id="s1">
+ <datamodel>
+ <data id="Var1" expr="1"/>
+ </datamodel>
+ </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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test280.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test280.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test280.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test280.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test280.txml.scxml
new file mode 100644
index 0000000..78865bf
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test280.txml.scxml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test late binding. var2 won't get bound until s1 is entered, so it shouldn't have a value in s0 and
+accessing it should cause an error. It should get bound before the onentry code in s1 so it should be
+possible access it there and assign its value to var1 --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript" binding="late">
+
+ <datamodel>
+ <data id="Var1"/>
+ </datamodel>
+
+ <state id="s0">
+ <transition cond="typeof Var2 === 'undefined' " target="s1"/>
+ <transition target="fail"/>
+ </state>
+
+<state id="s1">
+ <datamodel>
+ <data id="Var2" expr="1"/>
+ </datamodel>
+ <onentry>
+ <assign location="Var1" expr="Var2"/>
+ </onentry>
+ <transition cond="Var1===Var2" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test286.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test286.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test286.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test286.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test286.txml.scxml
new file mode 100644
index 0000000..596f2ba
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test286.txml.scxml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that assigment to a non-declared var causes an error. the transition on foo catches the case
+where no error is raised --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" datamodel="ecmascript" initial="s0">
+
+
+ <state id="s0">
+ <onentry>
+ <assign location="Var1" expr="1"/>
+ <raise event="foo"/>
+ </onentry>
+
+ <transition event="error.execution" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test287.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test287.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test287.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test287.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test287.txml.scxml
new file mode 100644
index 0000000..030c6b5
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test287.txml.scxml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- a simple test that a legal value may be assigned to a valid data model location --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" datamodel="ecmascript" version="1.0" initial="s0">
+
+<datamodel>
+ <data id="Var1" expr="0"/>
+ </datamodel>
+
+ <state id="s0">
+ <onentry>
+ <assign location="Var1" expr="1"/>
+ </onentry>
+
+ <transition cond="Var1==1" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test294.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test294.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test294.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test294.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test294.txml.scxml
new file mode 100644
index 0000000..efd26f4
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test294.txml.scxml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that a param inside donedata ends up in the data field of the done event and
+that content inside donedata sets the full value of the event.data field --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" datamodel="ecmascript" initial="s0">
+ <datamodel>
+ <data id="Var1" expr="0"/>
+ </datamodel>
+
+ <state id="s0" initial="s01">
+
+ <transition event="done.state.s0" cond="_event.data['Var1']==1" target="s1">
+ </transition>
+
+ <transition event="done.state.s0" target="fail">
+ </transition>
+
+ <state id="s01">
+ <transition target="s02"/>
+ </state>
+ <final id="s02">
+ <donedata>
+ <param name="Var1" expr="1"/>
+ </donedata>
+ </final>
+ </state>
+
+ <state id="s1" initial="s11">
+
+ <transition event="done.state.s1" cond="_event.data === 'foo'" target="pass">
+ </transition>
+
+ <transition event="done.state.s1" target="fail">
+ </transition>
+
+ <state id="s11">
+ <transition target="s12"/>
+ </state>
+ <final id="s12">
+ <donedata>
+ <content>foo</content>
+ </donedata>
+ </final>
+ </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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test298.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test298.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test298.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test298.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test298.txml.scxml
new file mode 100644
index 0000000..6a82a95
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test298.txml.scxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- refence a non-existent data model location in param in donedata and see that the right error is raised --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" datamodel="ecmascript" initial="s0">
+ <datamodel>
+ <data id="Var1" expr="0"/>
+ </datamodel>
+
+ <state id="s0" initial="s01">
+ <transition event="error.execution" target="pass"/>
+ <transition event="*" target="fail"/>
+
+ <state id="s01">
+ <transition target="s02"/>
+ </state>
+ <final id="s02">
+ <donedata>
+ <param name="Var3" location="Var2"/>
+ </donedata>
+ </final>
+ </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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test301.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test301.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test301.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test301.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test301.txml.scxml
new file mode 100644
index 0000000..59125c8
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test301.txml.scxml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- the processor should reject this document because it can't download the script.
+Therefore we fail if it runs at all. This test is valid only for datamodels that support scripting --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" initial="s0">
+ <script src="D:\foo"/>
+
+ <state id="s0">
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test302.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test302.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test302.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test302.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test302.txml.scxml
new file mode 100644
index 0000000..c72a311
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test302.txml.scxml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that a script is evaluated at load time. <conf:script> shoudl assign the value 1 to
+Var1. Hence, if script is evaluated at download time, Var1 has a value in the initial state s0.
+This test is valid only for datamodels that support scripting --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" initial="s0">
+ <script>var Var1 = 1</script>
+
+ <state id="s0">
+ <transition cond="Var1==1" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test303.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test303.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test303.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test303.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test303.txml.scxml
new file mode 100644
index 0000000..dcb3490
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test303.txml.scxml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- to test that scripts are run as part of executable content, we check that it changes the value of a var at the
+right point. This test is valid only for datamodels that support scripting --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" initial="s0">
+<datamodel>
+<data id="Var1" expr="0"/>
+</datamodel>
+
+ <state id="s0">
+ <onentry>
+ <assign location="Var1" expr="2"/>
+ <script>var Var1 = 1</script>
+ </onentry>
+ <transition cond="Var1==1" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test304.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test304.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test304.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test304.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test304.txml.scxml
new file mode 100644
index 0000000..cdb4c22
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test304.txml.scxml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that a variable declared by a script can be accessed like any other part of the data model --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" initial="s0">
+ <script>var Var1 = 1</script>
+
+ <state id="s0">
+ <transition cond="Var1==1" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test307.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test307.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test307.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test307.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test307.txml.scxml
new file mode 100644
index 0000000..3f93f10
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test307.txml.scxml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" initial="s0" binding="late">
+
+<!-- with binding=late, in s0 we access a variable that isn't created until we get to s1. Then in s1
+we access a non-existent substructure of a variable. We use log tags to report the values that both operations
+yield, and whether there are errors. This is a manual test, since the tester must report whether the output
+is the same in the two cases -->
+
+<state id="s0">
+ <onentry>
+ <log label="entering s0 value of Var 1 is: " expr="Var1"/>
+ <raise event="foo"/>
+ </onentry>
+ <transition event="error" target="s1">
+ <log label="error in state s0" expr="_event"/>
+ </transition>
+ <transition event="foo" target="s1">
+ <log label="no error in s0" expr=""/>
+ </transition>
+ </state>
+
+<state id="s1">
+ <datamodel>
+ <data id="Var1" expr="1"/>
+ </datamodel>
+
+ <onentry>
+ <log label="entering s1, value of non-existent substructure of Var 1 is: " expr="Var1.bar"/>
+ <raise event="bar"/>
+ </onentry>
+
+ <transition event="error" target="final">
+ <log label="error in state s1" expr="_event"/>
+ </transition>
+ <transition event="bar" target="final">
+ <log label="No error in s1" expr=""/>
+ </transition>
+
+</state>
+
+<final id="final"/>
+
+</scxml> \ No newline at end of file
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test309.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test309.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test309.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test309.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test309.txml.scxml
new file mode 100644
index 0000000..7ac405c
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test309.txml.scxml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that an expression that cannot be interpreted as a boolean is treated as false --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" datamodel="ecmascript" initial="s0">
+
+<state id="s0">
+ <transition cond="return" target="fail"/>
+ <transition target="pass"/>
+ </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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test310.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test310.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test310.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test310.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test310.txml.scxml
new file mode 100644
index 0000000..e939ded
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test310.txml.scxml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- simple test of the in() predicate --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" datamodel="ecmascript" initial="p">
+
+
+ <parallel id="p">
+
+ <state id="s0">
+ <transition cond="In('s1')" target="pass"/>
+ <transition target="fail"/>
+ </state>
+
+ <state id="s1"/>
+ </parallel>
+
+<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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test311.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test311.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test311.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test311.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test311.txml.scxml
new file mode 100644
index 0000000..851f3ad
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test311.txml.scxml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that assignment to a non-existent location yields an error --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" datamodel="ecmascript" initial="s0">
+
+
+<state id="s0">
+ <onentry>
+ <assign location="Var1" expr="1"/>
+ </onentry>
+ <transition event="error.execution" target="pass"/>
+ <transition event=".*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test312.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test312.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test312.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test312.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test312.txml.scxml
new file mode 100644
index 0000000..a9741e5
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test312.txml.scxml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that assignment with an illegal expr raises an error --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" datamodel="ecmascript" initial="s0">
+
+<datamodel>
+ <data id="Var1" expr="1"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <assign location="Var1" expr="return"/>
+ <raise event="foo"/>
+ </onentry>
+ <transition event="error.execution" target="pass"/>
+ <transition event=".*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test313.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test313.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test313.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test313.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test313.txml.scxml
new file mode 100644
index 0000000..fcec4ac
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test313.txml.scxml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- this is a manual test. The processor is allowed to reject this doc, but if it executes it with its illegal
+expression, it must raise an error --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" datamodel="ecmascript" initial="s0">
+
+<datamodel>
+ <data id="Var1" expr="1"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <assign location="Var1" expr="return"/>
+ <raise event="foo"/>
+ </onentry>
+ <transition event="error.execution" target="pass"/>
+ <transition event=".*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test314.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test314.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test314.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test314.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test314.txml.scxml
new file mode 100644
index 0000000..ed78e79
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test314.txml.scxml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- this is a manual test because the processor is allowed to reject this document. But if it executes it,
+it should not raise an error until it gets to s03 and evaluates the illegal expr --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" datamodel="ecmascript" initial="s0">
+<datamodel>
+ <data id="Var1" expr="1"/>
+ </datamodel>
+
+
+<state id="s0" initial="s01">
+ <transition event="error.execution" target="fail"/>
+
+ <state id="s01">
+ <transition target="s02"/>
+ </state>
+
+ <state id="s02">
+ <transition target="s03"/>
+ </state>
+
+ <state id="s03">
+ <onentry>
+ <assign location="Var1" expr="return"/>
+ <raise event="foo"/>
+ </onentry>
+ <transition event="error.execution" target="pass"/>
+ <transition event=".*" target="fail"/>
+ </state>
+
+</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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test318.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test318.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test318.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test318.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test318.txml.scxml
new file mode 100644
index 0000000..15bf7f8
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test318.txml.scxml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that _event stays bound during the onexit and entry into the next state --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript" name="machineName">
+<datamodel>
+ <data id="Var1"/>
+ </datamodel>
+
+ <state id="s0">
+ <onentry>
+ <raise event="foo"/>
+ </onentry>
+ <transition event="foo" target="s1"/>
+ </state>
+
+ <state id="s1">
+ <onentry>
+ <raise event="bar"/>
+ <!-- _event should still be bound to 'foo' at this point -->
+ <assign location="Var1" expr="_event.name"/>
+ </onentry>
+ <transition cond="Var1=='foo'" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test319.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test319.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test319.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test319.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test319.txml.scxml
new file mode 100644
index 0000000..adac328
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test319.txml.scxml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that _event is not bound before any event has been raised --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="ecmascript" version="1.0" name="machineName">
+
+ <state id="s0">
+ <onentry>
+ <if cond="_event">
+ <raise event="bound"/>
+ <else/>
+ <raise event="unbound"/>
+ </if>
+ </onentry>
+ <transition event="unbound" target="pass"/>
+ <transition event="bound" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test321.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test321.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test321.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test321.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test321.txml.scxml
new file mode 100644
index 0000000..fe70937
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test321.txml.scxml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that _sessionid is bound on startup --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="ecmascript" version="1.0" name="machineName">
+<datamodel>
+ <data id="Var1" expr="$_sessionid"/>
+ </datamodel>
+
+ <state id="s0">
+<transition cond="Var1" target="pass"/>
+ <transition cond="true" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test322.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test322.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test322.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test322.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test322.txml.scxml
new file mode 100644
index 0000000..2d0fee1
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test322.txml.scxml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that _sessionid remains bound to the same value throught the session. this means that it can't
+be assigned to --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="ecmascript" version="1.0" name="machineName">
+<datamodel>
+ <data id="Var1" expr="_sessionid"/>
+ <data id="Var2"/>
+ </datamodel>
+
+ <state id="s0">
+ <transition target="s1"/>
+
+ </state>
+
+ <state id="s1">
+ <onentry>
+ <assign location="_sessionid" expr="'otherName'"/>
+ <raise event="foo"/>
+ </onentry>
+
+ <transition event="error.execution" target="s2"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+ <state id="s2">
+
+ <transition cond="Var1==_sessionid" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test323.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test323.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test323.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test323.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test323.txml.scxml
new file mode 100644
index 0000000..01ca4cb
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test323.txml.scxml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that _name is bound on startup --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript" name="machineName">
+<datamodel>
+ <data id="Var1" expr="$_name"/>
+ </datamodel>
+
+ <state id="s0">
+<transition cond="Var1" target="pass"/>
+ <transition cond="true" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test324.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test324.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test324.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test324.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test324.txml.scxml
new file mode 100644
index 0000000..7e5023e
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test324.txml.scxml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that _name stays bound till the session ends. This means that it cannot be assigned to --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript" name="machineName">
+
+
+ <state id="s0">
+ <transition cond="_name === 'machineName'" target="s1"/>
+ <transition target="fail"/>
+ </state>
+
+ <state id="s1">
+ <onentry>
+ <assign location="_name" expr="'otherName'"/>
+ </onentry>
+ <transition cond="_name === 'machineName'" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test325.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test325.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test325.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test325.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test325.txml.scxml
new file mode 100644
index 0000000..eaa4c22
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test325.txml.scxml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that _ioprocessors is bound at startup. I'm not sure how to test for a set value or
+how to test that the entries in it do represent I/O processors, since the set that each implementation
+supports may be different. Suggestions welcome --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="ecmascript" version="1.0" name="machineName">
+<datamodel>
+ <data id="Var1" expr="_ioprocessors"/>
+ </datamodel>
+
+
+ <state id="s0">
+ <transition cond="Var1" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test326.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test326.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test326.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test326.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test326.txml.scxml
new file mode 100644
index 0000000..f18a661
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test326.txml.scxml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that _ioprocessors stays bound till the session ends. This means that it cannot be assigned to --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="ecmascript" version="1.0" name="machineName">
+<datamodel>
+ <data id="Var1" expr="_ioprocessors"/>
+ <data id="Var2"/>
+ </datamodel>
+
+ <state id="s0">
+ <transition cond="Var1" target="s1"/>
+ <transition cond="true" target="fail"/>
+ </state>
+
+
+ <state id="s1">
+ <onentry>
+ <assign location="_ioprocessors" expr="'otherName'"/>
+ <raise event="foo"/>
+ </onentry>
+
+ <transition event="error.execution" target="s2"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+ <state id="s2">
+ <onentry>
+ <assign location="Var2" expr="_ioprocessors"/>
+ </onentry>
+ <transition cond="Var1==Var2" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test329.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test329.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test329.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test329.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test329.txml.scxml
new file mode 100644
index 0000000..9a95643
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test329.txml.scxml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that none of the system variables can be modified --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript" name="machineName">
+ <datamodel>
+ <data id="Var1"/>
+ <data id="Var2"/>
+ <data id="Var3"/>
+ <data id="Var4"/>
+ </datamodel>
+
+ <state id="s0">
+ <onentry>
+ <!-- get _event bound so we can use it in s1-->
+ <raise event="foo"/>
+ <assign location="Var1" expr="_sessionid"/>
+ <assign location="_sessionid" expr="27"/>
+ </onentry>
+
+ <transition event="foo" cond="Var1==_sessionid" target="s1"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+ <state id="s1">
+ <onentry>
+ <assign location="Var2" expr="_event"/>
+ <assign location="_event" expr="27"/>
+ </onentry>
+ <transition cond="Var2==_event" target="s2"/>
+ <transition target="fail"/>
+ </state>
+
+<state id="s2">
+ <onentry>
+ <assign location="Var3" expr="_name"/>
+ <assign location="_name" expr="27"/>
+ </onentry>
+ <transition cond="Var3==_name" target="s3"/>
+ <transition target="fail"/>
+ </state>
+
+
+<state id="s3">
+ <onentry>
+ <assign location="Var4" expr="_ioprocessors"/>
+ <assign location="_ioprocessors" expr="27"/>
+ </onentry>
+ <transition cond="Var4==_ioprocessors" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test330.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test330.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test330.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test330.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test330.txml.scxml
new file mode 100644
index 0000000..5cbf4bc
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test330.txml.scxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- check that the required fields are present in both internal and external events --><scxml xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="ecmascript" name="machineName">
+
+ <state id="s0">
+ <onentry>
+ <raise event="foo"/>
+ </onentry>
+ <transition event="foo" cond="'name' in _event &amp;&amp; 'type' in _event &amp;&amp; 'sendid' in _event &amp;&amp; 'origin' in _event &amp;&amp; 'invokeid' &amp;&amp; 'data' in _event" target="s1"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+ <state id="s1">
+ <onentry>
+ <send event="foo"/>
+ </onentry>
+ <transition event="foo" cond="'name' in _event &amp;&amp; 'type' in _event &amp;&amp; 'sendid' in _event &amp;&amp; 'origin' in _event &amp;&amp; 'invokeid' &amp;&amp; 'data' in _event" target="pass"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+
+ <final xmlns="http://www.w3.org/2005/07/scxml" id="pass"><onentry><log label="Outcome" expr="'pass'"/></onentry></final>
+ <final xmlns="http://www.w3.org/2005/07/scxml" id="fail"><onentry><log label="Outcome" expr="'fail'"/></onentry></final>
+
+</scxml> \ No newline at end of file
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test331.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test331.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test331.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test331.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test331.txml.scxml
new file mode 100644
index 0000000..e1271f0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test331.txml.scxml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" datamodel="ecmascript" initial="s0" name="machineName">
+
+<!-- test that _event.type is set correctly for internal, platform, and external events -->
+<datamodel>
+ <data id="Var1"/>
+ </datamodel>
+
+ <state id="s0">
+ <onentry>
+ <!-- internal event -->
+ <raise event="foo"/>
+ </onentry>
+ <transition event="foo" target="s1">
+ <assign location="Var1" expr="_event.type"/>
+ </transition>
+ <transition event="*" target="fail"/>
+ </state>
+
+<state id="s1">
+ <transition cond="Var1=='internal'" target="s2"/>
+ <transition target="fail"/>
+ </state>
+
+<state id="s2">
+ <onentry>
+ <!-- this will generate an error, which is a platform event -->
+ <assign location="Var2" expr="1"/>
+ </onentry>
+ <transition event="error" target="s3">
+ <assign location="Var1" expr="_event.type"/>
+ </transition>
+ <transition event="*" target="fail"/>
+ </state>
+
+<state id="s3">
+ <transition cond="Var1=='platform'" target="s4"/>
+ <transition target="fail"/>
+ </state>
+
+ <state id="s4">
+ <onentry>
+ <!-- external event -->
+ <send event="foo"/>
+ </onentry>
+ <transition event="foo" target="s5">
+ <assign location="Var1" expr="_event.type"/>
+ </transition>
+ <transition event="*" target="fail"/>
+ </state>
+
+<state id="s5">
+ <transition cond="Var1=='external'" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test332.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test332.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test332.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test332.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test332.txml.scxml
new file mode 100644
index 0000000..da68cf4
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test332.txml.scxml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that sendid is present in error events triggered by send errors --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" initial="s0" datamodel="ecmascript" name="machineName">
+ <datamodel>
+ <data id="Var1"/>
+ <data id="Var2"/>
+ </datamodel>
+
+
+ <state id="s0">
+ <onentry>
+ <!-- this will raise an error and also store the sendid in var1 -->
+ <send target="baz" event="foo" idlocation="Var1"/>
+ </onentry>
+ <transition event="error" target="s1">
+ <!-- get the sendid out of the error event -->
+ <assign location="Var2" expr="_event.sendid"/>
+ </transition>
+ <transition event="*" target="fail"/>
+ </state>
+
+<state id="s1">
+<!-- make sure that the sendid in the error event matches the one generated when send executed -->
+ <transition cond="Var1===Var2" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test333.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test333.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test333.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test333.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test333.txml.scxml
new file mode 100644
index 0000000..cb9721a
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test333.txml.scxml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- make sure sendid is blank in a non-error event --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" initial="s0" datamodel="ecmascript" name="machineName">
+
+ <state id="s0">
+ <onentry>
+ <send event="foo"/>
+ </onentry>
+ <transition event="foo" cond="_event.sendid == null" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test335.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test335.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test335.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test335.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test335.txml.scxml
new file mode 100644
index 0000000..57da1ba
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test335.txml.scxml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that origin field is blank for internal events --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" initial="s0" datamodel="ecmascript" name="machineName">
+
+ <state id="s0">
+ <onentry>
+ <raise event="foo"/>
+ </onentry>
+ <transition event="foo" cond="_event.origin == null" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test336.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test336.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test336.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test336.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test336.txml.scxml
new file mode 100644
index 0000000..92bd3dd
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test336.txml.scxml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that the origin field of an external event contains a URL that lets you send back to the originator. In
+this case it's the same session, so if we get bar we succeed --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="ecmascript" version="1.0" name="machineName">
+
+ <state id="s0">
+ <onentry>
+ <send event="foo"/>
+ </onentry>
+ <transition event="foo" target="s1">
+ <send event="bar" targetexpr="_event.origin" typeexpr="_event.origintype"/>
+ </transition>
+ <transition event="*" target="fail"/>
+ </state>
+
+<state id="s1">
+ <onentry>
+ <send event="baz"/>
+ </onentry>
+ <transition event="bar" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test337.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test337.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test337.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test337.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test337.txml.scxml
new file mode 100644
index 0000000..c4c663e
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test337.txml.scxml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that origintype is blank on internal events --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="ecmascript" version="1.0" name="machineName">
+
+ <state id="s0">
+ <onentry>
+ <raise event="foo"/>
+ </onentry>
+ <transition event="foo" cond="_event.origintype == null" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test338.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test338.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test338.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test338.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test338.txml.scxml
new file mode 100644
index 0000000..fef53be
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test338.txml.scxml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that invokeid is set correctly in events received from an invoked process. timeout event catches the
+case where the invoke doesn't work correctly --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1"/>
+ <data id="Var2"/>
+ </datamodel>
+
+ <state id="s0">
+ <onentry>
+ <send event="timeout" delay="2s"/>
+ </onentry>
+ <invoke idlocation="Var1" type="http://www.w3.org/TR/scxml/">
+ <content>
+ <scxml initial="sub0" version="1.0" datamodel="ecmascript" name="machineName">
+ <final id="sub0">
+ <onentry>
+ <send target="#_parent" event="event1"/>
+ </onentry>
+ </final>
+ </scxml>
+ </content>
+ </invoke>
+ <transition event="event1" target="s1">
+ <assign location="Var2" expr="_event.invokeid"/>
+ </transition>
+ <transition event="event0" target="fail"/>
+ </state>
+
+<state id="s1">
+ <transition cond="Var1===Var2" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test339.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test339.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test339.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test339.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test339.txml.scxml
new file mode 100644
index 0000000..7ffbabf
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test339.txml.scxml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that invokeid is blank in an event that wasn't returned from an invoked process --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript" name="machineName">
+
+ <state id="s0">
+ <onentry>
+ <raise event="foo"/>
+ </onentry>
+ <transition event="foo" cond="_event.invokeid == null" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test342.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test342.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test342.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test342.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test342.txml.scxml
new file mode 100644
index 0000000..2934704
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test342.txml.scxml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that eventexpr works and sets the name field of the resulting event --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript" name="machineName">
+ <datamodel>
+ <data id="Var1" expr="'foo'"/>
+ <data id="Var2"/>
+ </datamodel>
+
+ <state id="s0">
+ <onentry>
+ <send eventexpr="Var1"/>
+ </onentry>
+ <transition event="foo" target="s1">
+ <assign location="Var2" expr="_event.name"/>
+ </transition>
+ <transition event="*" target="fail"/>
+ </state>
+
+<state id="s1">
+ <transition cond="Var1===Var2" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test343.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test343.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test343.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test343.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test343.txml.scxml
new file mode 100644
index 0000000..9765739
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test343.txml.scxml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that illegal <param> produces error.execution and empty event.data --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" datamodel="ecmascript" initial="s0">
+
+
+ <state id="s0" initial="s01">
+ <!-- we should get the error before the done event -->
+ <transition event="error.execution" target="s1"/>
+ <transition event="done.state.s0" target="fail"/>
+
+ <transition event="done.state.s0" target="fail">
+ </transition>
+
+ <state id="s01">
+ <transition target="s02"/>
+ </state>
+ <final id="s02">
+ <donedata>
+ <param location="Varfoo" name="someParam"/>
+ </donedata>
+ </final>
+ </state>
+
+
+ <!-- if we get here, we received the error event. Now check that the done
+ event has empty event.data -->
+
+ <state id="s1">
+ <transition event="done.state.s0" cond="_event.data == null" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test344.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test344.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test344.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test344.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test344.txml.scxml
new file mode 100644
index 0000000..cd1c8a2
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test344.txml.scxml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that a non-boolean cond expression evaluates to false and causes error.execution to be raised --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" datamodel="ecmascript" initial="s0">
+
+<state id="s0">
+ <transition cond="return" target="fail"/>
+ <transition target="s1"/>
+ </state>
+
+<state id="s1">
+ <onentry>
+ <raise event="foo"/>
+ </onentry>
+ <transition event="error.execution" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test346.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test346.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test346.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test346.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test346.txml.scxml
new file mode 100644
index 0000000..622de71
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test346.txml.scxml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that any attempt to change the value of a system variable causes error.execution to be raised.
+Event1..4 are there to catch the case where the error event is not raised. In cases where it is, we have
+to dispose of eventn in the next state, hence the targetless transitions (which simply throw away the event.) --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript" name="machineName">
+
+
+ <state id="s0">
+ <onentry>
+ <assign location="_sessionid" expr="'otherName'"/>
+ <raise event="event1"/>
+ </onentry>
+
+ <transition event="error.execution" target="s1"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+ <state id="s1">
+ <onentry>
+ <assign location="_event" expr="'otherName'"/>
+ <raise event="event2"/>
+ </onentry>
+ <!-- throw out event1 if it's still around -->
+ <transition event="event1"/>
+ <transition event="error.execution" target="s2"/>
+ <!-- event1 would trigger this transition if we didn't drop it. We want this transition to have
+ a very general trigger to catch cases where the wrong error event was raised -->
+ <transition event="*" target="fail"/>
+ </state>
+
+<state id="s2">
+ <onentry>
+ <assign location="_ioprocessors" expr="'otherName'"/>
+ <raise event="event3"/>
+ </onentry>
+ <transition event="event2"/>
+ <transition event="error.execution" target="s3"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+<state id="s3">
+ <onentry>
+ <assign location="_name" expr="'otherName'"/>
+ <raise event="event4"/>
+ </onentry>
+ <transition event="event3"/>
+ <transition event="error.execution" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test355.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test355.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test355.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test355.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test355.txml.scxml
new file mode 100644
index 0000000..6a77251
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test355.txml.scxml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that default initial state is first in document order. If we enter s0 first we succeed, if s1, failure. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" datamodel="ecmascript" version="1.0">
+
+
+<state id="s0">
+ <transition target="pass"/>
+</state>
+
+<state id="s1">
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test364.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test364.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test364.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test364.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test364.txml.scxml
new file mode 100644
index 0000000..ac57647
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test364.txml.scxml
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that default initial states are entered when a compound state is entered. First we test
+the 'initial' attribute, then the initial element, then default to the first child in document order.
+If we get to s01111 we succeed, if any other state, failure. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" datamodel="ecmascript" initial="s1" version="1.0">
+
+<state id="s1" initial="s11p112 s11p122">
+ <onentry>
+ <send event="timeout" delay="1s"/>
+ </onentry>
+ <transition event="timeout" target="fail"/>
+ <state id="s11" initial="s111">
+ <state id="s111"/>
+ <parallel id="s11p1">
+ <state id="s11p11" initial="s11p111">
+ <state id="s11p111"/>
+ <state id="s11p112">
+ <onentry>
+ <raise event="In-s11p112"/>
+ </onentry>
+ </state>
+ </state>
+ <state id="s11p12" initial="s11p121">
+ <state id="s11p121"/>
+ <state id="s11p122">
+ <transition event="In-s11p112" target="s2"/>
+ </state>
+ </state>
+ </parallel>
+ </state>
+</state>
+
+<state id="s2">
+ <initial>
+ <transition target="s21p112 s21p122"/>
+ </initial>
+ <transition event="timeout" target="fail"/>
+ <state id="s21" initial="s211">
+ <state id="s211"/>
+ <parallel id="s21p1">
+ <state id="s21p11" initial="s21p111">
+ <state id="s21p111"/>
+ <state id="s21p112">
+ <onentry>
+ <raise event="In-s21p112"/>
+ </onentry>
+ </state>
+ </state>
+ <state id="s21p12" initial="s21p121">
+ <state id="s21p121"/>
+ <state id="s21p122">
+ <transition event="In-s21p112" target="s3"/>
+ </state>
+ </state>
+ </parallel>
+ </state>
+</state>
+
+<state id="s3">
+ <transition target="fail"/>
+ <state id="s31">
+ <state id="s311">
+ <state id="s3111">
+ <transition target="pass"/>
+ </state>
+ <state id="s3112"/>
+ <state id="s312"/>
+ <state id="s32"/>
+</state>
+</state>
+</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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test372.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test372.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test372.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test372.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test372.txml.scxml
new file mode 100644
index 0000000..9b6c7ec
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test372.txml.scxml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that entering a final state generates done.state.parentid after executing the onentry elements.
+Var1 should be set to 2 (but not 3) by the time the event is raised --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" datamodel="ecmascript" version="1.0">
+
+<datamodel>
+ <data id="Var1" expr="1"/>
+ </datamodel>
+
+<state id="s0" initial="s0final">
+ <onentry>
+ <send event="timeout" delay="1s"/>
+ </onentry>
+ <transition event="done.state.s0" cond="Var1==2" target="pass"/>
+ <transition event="*" target="fail"/>
+
+ <final id="s0final">
+ <onentry>
+ <assign location="Var1" expr="2"/>
+ </onentry>
+ <onexit>
+ <assign location="Var1" expr="3"/>
+ </onexit>
+ </final>
+</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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test375.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test375.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test375.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test375.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test375.txml.scxml
new file mode 100644
index 0000000..1652588
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test375.txml.scxml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that onentry handlers are executed in document order. event1 should be raised before event2 --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" datamodel="ecmascript" version="1.0">
+
+
+
+<state id="s0">
+ <onentry>
+ <raise event="event1"/>
+ </onentry>
+ <onentry>
+ <raise event="event2"/>
+ </onentry>
+
+ <transition event="event1" target="s1"/>
+ <transition event="*" target="fail"/>
+
+</state>
+
+<state id="s1">
+ <transition event="event2" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test376.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test376.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test376.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test376.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test376.txml.scxml
new file mode 100644
index 0000000..1da5a9a
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test376.txml.scxml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that each onentry handler is a separate block. The <send> of event1 will cause an error but
+ the increment to var1 should happen anyways --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" datamodel="ecmascript" version="1.0">
+<datamodel>
+ <data id="Var1" expr="1"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <send target="baz" event="event1"/>
+ </onentry>
+ <onentry>
+ <assign location="Var1" expr="Var1 + 1"/>
+ </onentry>
+
+ <transition cond="Var1==2" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test377.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test377.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test377.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test377.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test377.txml.scxml
new file mode 100644
index 0000000..49549c8
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test377.txml.scxml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that onexit handlers are executed in document order. event1 should be raised before event2 --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" datamodel="ecmascript" version="1.0">
+
+
+
+<state id="s0">
+ <onexit>
+ <raise event="event1"/>
+ </onexit>
+ <onexit>
+ <raise event="event2"/>
+ </onexit>
+
+ <transition target="s1"/>
+ </state>
+
+ <state id="s1">
+
+ <transition event="event1" target="s2"/>
+ <transition event="*" target="fail"/>
+
+</state>
+
+<state id="s2">
+ <transition event="event2" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test378.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test378.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test378.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test378.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test378.txml.scxml
new file mode 100644
index 0000000..34501fb
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test378.txml.scxml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that each onexithandler is a separate block. The <send> of event1 will cause an error but
+ the increment to var1 should happen anyways --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="1"/>
+ </datamodel>
+
+<state id="s0">
+ <onexit>
+ <send target="baz" event="event1"/>
+ </onexit>
+ <onexit>
+ <assign location="Var1" expr="Var1 + 1"/>
+ </onexit>
+
+<transition target="s1"/>
+</state>
+
+<state id="s1">
+ <transition cond="Var1==2" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test387.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test387.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test387.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test387.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test387.txml.scxml
new file mode 100644
index 0000000..35fb910
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test387.txml.scxml
@@ -0,0 +1,97 @@
+<?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="ecmascript">
+
+
+<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 event="timeout" delay="1s"/>
+ </onentry>
+ <transition target="s0HistShallow"/>
+</state>
+
+<state id="s4">
+ <transition target="s1HistDeep"/>
+</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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test388.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test388.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test388.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test388.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test388.txml.scxml
new file mode 100644
index 0000000..6a93fd0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test388.txml.scxml
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that history states works correctly. The counter Var1 counts how many times
+we have entered s0. The initial state is s012. We then transition to s1, which transitions
+to s0's deep history state. entering.s012 should be raised, otherwise failure. Then we transition
+to s02, which transitions to s0's shallow history state. That should have value s01, and its initial
+state is s011, so we should get entering.s011, otherwise failure.--><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" initial="s012" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="0"/>
+ </datamodel>
+
+<state id="s0" initial="s01">
+ <onentry>
+ <assign location="Var1" expr="Var1 + 1"/>
+ </onentry>
+
+ <!-- the first time through, go to s1, setting a timer just in case something hangs -->
+ <transition event="entering.s012" cond="Var1==1" target="s1">
+ <send event="timeout" delay="2s"/>
+ </transition>
+
+ <!-- the second time, we should get entering.s012. If so, go to s2, otherwise fail -->
+ <transition event="entering.s012" cond="Var1==2" target="s2"/>
+ <transition event="entering" cond="Var1==2" target="fail"/>
+
+ <!-- the third time we should get entering-s011. If so, pass, otherwise fail -->
+ <transition event="entering.s011" cond="Var1==3" target="pass"/>
+ <transition event="entering" cond="Var1==3" target="fail"/>
+
+ <!-- if we timeout, the state machine is hung somewhere, so fail -->
+ <transition event="timeout" target="fail"/>
+
+ <history type="shallow" id="s0HistShallow">
+ <transition target="s02"/>
+ </history>
+ <history type="deep" id="s0HistDeep">
+ <transition target="s022"/>
+ </history>
+ <state id="s01" initial="s011">
+ <state id="s011">
+ <onentry>
+ <raise event="entering.s011"/>
+ </onentry>
+ </state>
+ <state id="s012">
+ <onentry>
+ <raise event="entering.s012"/>
+ </onentry>
+ </state>
+ </state>
+ <state id="s02" initial="s021">
+ <state id="s021">
+ <onentry>
+ <raise event="entering.s021"/>
+ </onentry>
+ </state>
+ <state id="s022">
+ <onentry>
+ <raise event="entering.s022"/>
+ </onentry>
+ </state>
+ </state>
+
+</state>
+
+
+<state id="s1">
+ <transition target="s0HistDeep"/>
+</state>
+
+<state id="s2">
+ <transition target="s0HistShallow"/>
+</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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test396.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test396.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test396.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test396.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test396.txml.scxml
new file mode 100644
index 0000000..dbbb124
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test396.txml.scxml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that the value in _event.name matches the event name used to match against transitions --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" datamodel="ecmascript" version="1.0">
+
+<state id="s0">
+ <onentry>
+ <raise event="foo"/>
+ </onentry>
+
+
+ <transition event="foo" cond="_event.name == 'foo'" target="pass"/>
+ <transition event="foo" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test399.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test399.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test399.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test399.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test399.txml.scxml
new file mode 100644
index 0000000..e5a951e
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test399.txml.scxml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that the event name matching works correctly, including prefix matching and the fact
+that the event attribute of transition may contain multiple event designators. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0" initial="s01">
+ <onentry>
+ <send event="timeout" delay="2s"/>
+ </onentry>
+
+ <!-- this will catch the failure case -->
+ <transition event="timeout" target="fail"/>
+
+ <state id="s01">
+ <onentry>
+ <raise event="foo"/>
+ </onentry>
+ <!-- test that an event can match against a transition with multiple descriptors -->
+ <transition event="foo bar" target="s02"/>
+ </state>
+
+ <state id="s02">
+ <onentry>
+ <raise event="bar"/>
+ </onentry>
+ <!-- test that an event can match the second descriptor as well -->
+ <transition event="foo bar" target="s03"/>
+ </state>
+
+ <state id="s03">
+ <onentry>
+ <raise event="foo.zoo"/>
+ </onentry>
+ <!-- test that a prefix descriptor matches -->
+ <transition event="foo bar" target="s04"/>
+ </state>
+
+<state id="s04">
+ <onentry>
+ <raise event="foos"/>
+ </onentry>
+ <!-- test that only token prefixes match -->
+ <transition event="foo" target="fail"/>
+ <transition event="foos" target="s05"/>
+</state>
+
+<state id="s05">
+ <onentry>
+ <raise event="foo.zoo"/>
+ </onentry>
+ <!-- test that .* works at the end of a descriptor -->
+ <transition event="foo.*" target="s06"/>
+ </state>
+
+ <state id="s06">
+ <onentry>
+ <raise event="foo"/>
+ </onentry>
+ <!-- test that "*" works by itself -->
+ <transition event="*" target="pass"/>
+ </state>
+
+</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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test401.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test401.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test401.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test401.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test401.txml.scxml
new file mode 100644
index 0000000..9ce7217
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test401.txml.scxml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that errors go in the internal event queue. We send ourselves an external event foo, then perform
+and operation that raises an error. Then check that the error event is processed first, even though
+it was raised second --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0">
+ <onentry>
+ <send event="foo"/>
+ <!-- assigning to a non-existent location should raise an error -->
+ <assign location="Var1" expr="2"/>
+ </onentry>
+
+
+ <transition event="foo" target="fail"/>
+ <transition event="error" target="pass"/>
+
+</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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test402.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test402.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test402.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test402.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test402.txml.scxml
new file mode 100644
index 0000000..104483d
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test402.txml.scxml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- the assertion that errors are 'like any other event' is pretty broad, but we can check that they
+are pulled off the internal queue in order, and that prefix matching works on them. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0" initial="s01">
+ <onentry>
+ <!-- catch the failure case -->
+ <send event="timeout" delay="1s"/>
+ </onentry>
+ <transition event="timeout" target="fail"/>
+
+ <state id="s01">
+ <onentry>
+ <!-- the first internal event. The error will be the second, and event2 will be the third -->
+ <raise event="event1"/>
+ <!-- assigning to a non-existent location should raise an error -->
+ <assign location="Var1" expr="2"/>
+ </onentry>
+
+ <transition event="event1" target="s02">
+ <raise event="event2"/>
+ </transition>
+ <transition event="*" target="fail"/>
+ </state>
+
+<state id="s02">
+ <transition event="error" target="s03"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+<state id="s03">
+ <transition event="event2" target="pass"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+</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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403a.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403a.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403a.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403a.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403a.txml.scxml
new file mode 100644
index 0000000..89a4ad9
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403a.txml.scxml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test one part of 'optimal enablement' meaning that of all transitions that are enabled, we chose the ones
+in child states over parent states, and use document order to break ties. We have
+a parent state s0 with two children, s01 and s02. In s01, we test that a) if
+a transition in the child matches, we don't consider matches in the parent and b)
+that if two transitions match in any state, we take the first in document order.
+In s02 we test that we take a transition in the parent if there is no
+matching transition in the child. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0" initial="s01">
+ <onentry>
+ <!-- catch the failure case -->
+ <send event="timeout" delay="1s"/>
+ </onentry>
+ <transition event="timeout" target="fail"/>
+ <transition event="event1" target="fail"/>
+ <transition event="event2" target="pass"/>
+
+ <state id="s01">
+ <onentry>
+ <!-- this should be caught by the first transition in this state, taking us to S02 -->
+ <raise event="event1"/>
+ </onentry>
+
+ <transition event="event1" target="s02"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+<state id="s02">
+ <onentry>
+ <!-- since the local transition has a cond that evaluates to false this should be caught by a
+ transition in the parent state, taking us to pass -->
+ <raise event="event2"/>
+ </onentry>
+ <transition event="event1" target="fail"/>
+ <transition event="event2" cond="false" target="fail"/>
+ </state>
+
+</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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403b.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403b.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403b.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403b.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403b.txml.scxml
new file mode 100644
index 0000000..18acfb5
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403b.txml.scxml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that 'optimally enabled set' really is a set, specifically that if a transition is optimally enabled in
+two different states, it is taken only once. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+ <datamodel>
+ <data id="Var1" expr="0"/>
+ </datamodel>
+
+<state id="s0" initial="p0">
+ <!-- this transition should never be taken because a transition in a lower state should
+ always be selected -->
+ <transition event="event1">
+ <assign location="Var1" expr="Var1 + 1"/>
+ </transition>
+
+
+
+ <parallel id="p0">
+
+ <onentry>
+ <raise event="event1"/>
+ <raise event="event2"/>
+ </onentry>
+
+ <!-- this transition will be selected by both states p0s1 and p0s2, but should be executed only once -->
+ <transition event="event1">
+ <assign location="Var1" expr="Var1 + 1"/>
+ </transition>
+
+ <state id="p0s1">
+ <transition event="event2" cond="Var1==1" target="pass"/>
+ <transition event="event2" target="fail"/>
+ </state>
+
+ <state id="p0s2"/>
+
+</parallel>
+</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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403c.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403c.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403c.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403c.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403c.txml.scxml
new file mode 100644
index 0000000..9e7fd12
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test403c.txml.scxml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test 'optimally enabled set', specifically that preemption works correctly --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+ <datamodel>
+ <data id="Var1" expr="0"/>
+ </datamodel>
+
+<state id="s0" initial="p0">
+ <onentry>
+ <raise event="event1"/>
+ <send event="timeout" delay="1s"/>
+ </onentry>
+ <transition event="event2" target="fail"/>
+ <transition event="timeout" target="fail"/>
+
+ <parallel id="p0">
+
+ <state id="p0s1">
+ <transition event="event1"/>
+ <transition event="event2"/>
+ </state>
+
+ <state id="p0s2">
+ <transition event="event1" target="p0s1">
+ <raise event="event2"/>
+ </transition>
+
+ </state>
+
+ <state id="p0s3">
+ <!-- this transition should be blocked by the one in p0s2-->
+ <transition event="event1" target="fail"/>
+ <!-- this transition will preempt the one that p0s2 inherits
+ from an ancestor -->
+ <transition event="event2" target="s1"/>
+
+ </state>
+
+<state id="p0s4">
+ <!-- this transition never gets preempted, should fire twice -->
+ <transition event="*">
+ <assign location="Var1" expr="Var1 + 1"/>
+ </transition>
+ </state>
+
+</parallel>
+</state>
+
+<state id="s1">
+ <transition cond="Var1==2" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test404.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test404.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test404.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test404.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test404.txml.scxml
new file mode 100644
index 0000000..ad6bb24
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test404.txml.scxml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that states are exited in exit order (children before parents with reverse doc order used to break ties
+ before the executable content in the transitions. event1, event2, event3, event4 should be raised in that
+ order when s01p is exited --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0" initial="s01p">
+
+
+
+<parallel id="s01p">
+ <onexit>
+ <!-- this should be the 3rd event raised -->
+ <raise event="event3"/>
+ </onexit>
+ <transition target="s02">
+ <!-- this should be the fourth event raised -->
+ <raise event="event4"/>
+ </transition>
+
+ <state id="s01p1">
+ <onexit>
+ <!-- this should be the second event raised -->
+ <raise event="event2"/>
+ </onexit>
+ </state>
+
+ <state id="s01p2">
+ <!-- this should be the first event raised -->
+ <onexit>
+ <raise event="event1"/>
+ </onexit>
+ </state>
+ </parallel>
+
+ <state id="s02">
+ <transition event="event1" target="s03"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+ <state id="s03">
+ <transition event="event2" target="s04"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+ <state id="s04">
+ <transition event="event3" target="s05"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+ <state id="s05">
+ <transition event="event4" target="pass"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+ </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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test405.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test405.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test405.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test405.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test405.txml.scxml
new file mode 100644
index 0000000..114cf22
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test405.txml.scxml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that the executable content in the transitions is executed in document order after
+the states are exited. event1, event2, event3, event4 should be raised in that order when the
+state machine is entered --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+<state id="s0" initial="s01p">
+ <onentry>
+ <send event="timeout" delay="1s"/>
+ </onentry>
+ <transition event="timeout" target="fail"/>
+
+<parallel id="s01p">
+ <transition event="event1" target="s02"/>
+
+
+ <state id="s01p1" initial="s01p11">
+ <state id="s01p11">
+ <onexit>
+ <!-- this should be the second event raised -->
+ <raise event="event2"/>
+ </onexit>
+ <transition target="s01p12">
+ <!-- this should be the third event raised -->
+ <raise event="event3"/>
+ </transition>
+ </state>
+ <state id="s01p12"/>
+ </state> <!-- end s01p1 -->
+
+ <state id="s01p2" initial="s01p21">
+ <state id="s01p21">
+ <onexit>
+ <!-- this should be the first event raised -->
+ <raise event="event1"/>
+ </onexit>
+ <transition target="s01p22">
+ <!-- this should be the fourth event raised -->
+ <raise event="event4"/>
+ </transition>
+ </state>
+ <state id="s01p22"/>
+
+ </state> <!-- end s01p2 -->
+ </parallel>
+
+
+ <state id="s02">
+ <transition event="event2" target="s03"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+ <state id="s03">
+ <transition event="event3" target="s04"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+
+ <state id="s04">
+ <transition event="event4" target="pass"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+ </state> <!-- end s01 -->
+
+
+<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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test406.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test406.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test406.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test406.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test406.txml.scxml
new file mode 100644
index 0000000..a8f8f99
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test406.txml.scxml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Test that states are entered in entry order (parents before children with document order used to break ties)
+after the executable content in the transition is executed. event1, event2, event3, event4 should be raised in that
+order when the transition in s01 is taken --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" initial="s0" datamodel="ecmascript">
+
+<state id="s0" initial="s01">
+ <onentry>
+ <send event="timeout" delay="1s"/>
+ </onentry>
+ <transition event="timeout" target="fail"/>
+
+ <state id="s01">
+ <transition target="s0p2">
+ <!-- this should be the first event raised -->
+ <raise event="event1"/>
+ </transition>
+ </state>
+
+<parallel id="s0p2">
+
+ <transition event="event1" target="s03"/>
+
+ <state id="s01p21">
+ <onentry>
+ <!-- third event -->
+ <raise event="event3"/>
+ </onentry>
+ </state>
+
+ <state id="s01p22">
+ <onentry>
+ <!-- the fourth event -->
+ <raise event="event4"/>
+ </onentry>
+ </state>
+
+ <onentry>
+ <!-- this should be the second event raised -->
+ <raise event="event2"/>
+ </onentry>
+ </parallel>
+
+
+ <state id="s03">
+ <transition event="event2" target="s04"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+ <state id="s04">
+ <transition event="event3" target="s05"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+
+ <state id="s05">
+ <transition event="event4" target="pass"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+ </state> <!-- end s0 -->
+
+
+<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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test407.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test407.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test407.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test407.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test407.txml.scxml
new file mode 100644
index 0000000..0407c99
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test407.txml.scxml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- a simple test that onexit handlers work. var1 should be incremented when we leave s0 --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="0"/>
+ </datamodel>
+
+<state id="s0">
+ <onexit>
+ <assign location="Var1" expr="Var1 + 1"/>
+ </onexit>
+ <transition target="s1"/>
+</state>
+
+<state id="s1">
+ <transition cond="Var1==1" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test409.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test409.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test409.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test409.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test409.txml.scxml
new file mode 100644
index 0000000..9b4f1aa
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test409.txml.scxml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that states are removed from the active states list as they are exited. When s01's onexit handler
+fires, s011 should not be on the active state list, so in(S011) should be false, and event1 should not
+be raised. Therefore the timeout should fire to indicate success --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0" initial="s01">
+ <onentry>
+ <send event="timeout" delay="1s"/>
+ </onentry>
+
+ <transition event="timeout" target="pass"/>
+ <transition event="event1" target="fail"/>
+
+ <state id="s01" initial="s011">
+ <onexit>
+ <if cond="In('s011')">
+ <raise event="event1"/>
+ </if>
+ </onexit>
+
+ <state id="s011">
+ <transition target="s02"/>
+ </state>
+ </state> <!-- end s01 -->
+
+<state id="s02"/>
+
+</state> <!-- end s0 -->
+
+<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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test411.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test411.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test411.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test411.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test411.txml.scxml
new file mode 100644
index 0000000..8e1c673
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test411.txml.scxml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that states are added to the active states list as they are entered and before onentry handlers
+are executed. When s0's onentry handler fires we should not be in s01. But when s01's onentry handler
+fires, we should be in s01. Therefore event1 should not fire, but event2 should. Either event1 or
+timeout also indicates failure --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0" initial="s01">
+ <onentry>
+ <send event="timeout" delay="1s"/>
+ <if cond="In('s01')">
+ <raise event="event1"/>
+ </if>
+ </onentry>
+
+ <transition event="timeout" target="fail"/>
+ <transition event="event1" target="fail"/>
+ <transition event="event2" target="pass"/>
+
+ <state id="s01">
+ <onentry>
+ <if cond="In('s01')">
+ <raise event="event2"/>
+ </if>
+ </onentry>
+ </state>
+
+</state> <!-- end s0 -->
+
+<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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test412.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test412.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test412.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test412.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test412.txml.scxml
new file mode 100644
index 0000000..4a8b26a
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test412.txml.scxml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that executable content in the <initial> transition executes after the onentry handler on the state
+and before the onentry handler of the child states. Event1, event2, and event3 should occur in that order. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0" initial="s01">
+ <onentry>
+ <send event="timeout" delay="1s"/>
+ </onentry>
+
+ <transition event="timeout" target="fail"/>
+ <transition event="event1" target="fail"/>
+ <transition event="event2" target="pass"/>
+
+ <state id="s01">
+ <onentry>
+ <raise event="event1"/>
+ </onentry>
+ <initial>
+ <transition target="s011">
+ <raise event="event2"/>
+ </transition>
+ </initial>
+
+ <state id="s011">
+ <onentry>
+ <raise event="event3"/>
+ </onentry>
+ <transition target="s02"/>
+ </state>
+ </state>
+
+<state id="s02">
+ <transition event="event1" target="s03"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+<state id="s03">
+ <transition event="event2" target="s04"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+<state id="s04">
+ <transition event="event3" target="pass"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+</state> <!-- end s0 -->
+
+<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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test413.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test413.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test413.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test413.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test413.txml.scxml
new file mode 100644
index 0000000..94e32a2
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test413.txml.scxml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that the state machine is put into the configuration specified by the initial element, without regard
+to any other defaults. we should start off in s2p111 and s2p122. the atomic
+states we should not enter all have immediate transitions to failure in them --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s2p112 s2p122" version="1.0" datamodel="ecmascript">
+
+ <state id="s1">
+ <transition target="fail"/>
+ </state>
+
+<state id="s2" initial="s2p1">
+
+<parallel id="s2p1">
+ <!-- this transition will be triggered only if we end up in an illegal configuration where we're in
+ either s2p112 or s2p122, but not both of them -->
+ <transition target="fail"/>
+
+ <state id="s2p11" initial="s2p111">
+ <state id="s2p111">
+ <transition target="fail"/>
+ </state>
+
+ <state id="s2p112">
+ <transition cond="In('s2p122')" target="pass"/>
+ </state>
+
+ </state> <!-- end s2p11 -->
+
+ <state id="s2p12" initial="s2p121">
+ <state id="s2p121">
+ <transition target="fail"/>
+ </state>
+
+ <state id="s2p122">
+ <transition cond="In('s2p112')" target="pass"/>
+ </state>
+ </state>
+
+</parallel>
+
+</state> <!-- end s2 -->
+
+
+<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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test416.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test416.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test416.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test416.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test416.txml.scxml
new file mode 100644
index 0000000..45799e4
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test416.txml.scxml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that the done.state.id gets generated when we enter the final state of a compound state --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" initial="s1" datamodel="ecmascript">
+
+ <state id="s1" initial="s11">
+ <onentry>
+ <send event="timeout" delay="1s"/>
+ </onentry>
+ <transition event="timeout" target="fail"/>
+
+ <state id="s11" initial="s111">
+ <transition event="done.state.s11" target="pass"/>
+ <state id="s111">
+ <transition target="s11final"/>
+ </state>
+ <final id="s11final"/>
+ </state>
+ </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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test417.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test417.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test417.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test417.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test417.txml.scxml
new file mode 100644
index 0000000..5ca6144
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test417.txml.scxml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that we get the done.state.id event when all of a
+parallel elements children enter final states. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" initial="s1" datamodel="ecmascript">
+
+ <state id="s1" initial="s1p1">
+ <onentry>
+ <send event="timeout" delay="1s"/>
+ </onentry>
+ <transition event="timeout" target="fail"/>
+
+ <parallel id="s1p1">
+ <transition event="done.state.s1p1" target="pass"/>
+
+ <state id="s1p11" initial="s1p111">
+ <state id="s1p111">
+ <transition target="s1p11final"/>
+ </state>
+ <final id="s1p11final"/>
+ </state>
+
+ <state id="s1p12" initial="s1p121">
+ <state id="s1p121">
+ <transition target="s1p12final"/>
+ </state>
+ <final id="s1p12final"/>
+ </state>
+
+ </parallel>
+</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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test419.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test419.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test419.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test419.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test419.txml.scxml
new file mode 100644
index 0000000..c4de17e
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test419.txml.scxml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that eventless transitions take precedence over event-driven ones --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" initial="s1" datamodel="ecmascript">
+
+ <state id="s1">
+ <onentry>
+ <raise event="internalEvent"/>
+ <send event="externalEvent"/>
+ </onentry>
+
+ <transition event="*" target="fail"/>
+ <transition target="pass"/>
+
+</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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test421.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test421.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test421.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test421.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test421.txml.scxml
new file mode 100644
index 0000000..1747334
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test421.txml.scxml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that internal events take priority over external ones, and that the processor
+keeps pulling off internal events until it finds one that triggers a transition --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" initial="s1" datamodel="ecmascript">
+
+ <state id="s1" initial="s11">
+ <onentry>
+ <send event="externalEvent"/>
+ <raise event="internalEvent1"/>
+ <raise event="internalEvent2"/>
+ <raise event="internalEvent3"/>
+ <raise event="internalEvent4"/>
+ </onentry>
+
+ <transition event="externalEvent" target="fail"/>
+
+ <state id="s11">
+ <transition event="internalEvent3" target="s12"/>
+ </state>
+
+ <state id="s12">
+ <transition event="internalEvent4" target="pass"/>
+ </state>
+
+</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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test422.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test422.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test422.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test422.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test422.txml.scxml
new file mode 100644
index 0000000..803f75f
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test422.txml.scxml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Test that at the end of a macrostep, the processor executes all invokes in states
+that have been entered and not exited during the step. (The invokes are supposed to be executed
+in document order, but we can test that since each invocation is separate and they may take
+different amounts to time to start up.) In this case, there are three invoke statements,
+in states s1, s11 and s12. Each invoked process returns an event named after its parent state.
+The invokes in s1 and s12 should execute, but not the one
+in s11. So we should receive invokeS1, invokeS12, but not invokeS12. Furthermore, when the timeout fires, var1 should equal 2.--><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" initial="s1" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="0"/>
+ </datamodel>
+ <state id="s1" initial="s11">
+ <onentry>
+ <send event="timeout" delay="5s"/>
+ </onentry>
+ <transition event="invokeS1 invokeS12">
+ <assign location="Var1" expr="Var1 + 1"/>
+ </transition>
+ <transition event="invokeS11" target="fail"/>
+
+ <transition event="timeout" cond="Var1==2" target="pass"/>
+ <transition event="timeout" target="fail"/>
+ <invoke>
+ <content>
+ <!-- when invoked, send 'foo' to parent, then terminate. -->
+ <scxml initial="sub0" version="1.0" datamodel="ecmascript">
+ <state id="sub0">
+ <onentry>
+ <send target="#_parent" event="invokeS1"/>
+ </onentry>
+ <transition target="subFinal0"/>
+ </state>
+ <final id="subFinal0"/>
+ </scxml>
+ </content>
+ </invoke>
+
+ <state id="s11">
+ <invoke>
+ <content>
+ <!-- when invoked, send 'foo' to parent, then terminate. -->
+ <scxml initial="sub1" version="1.0" datamodel="ecmascript">
+ <state id="sub1">
+ <onentry>
+ <send target="#_parent" event="invokeS11"/>
+ </onentry>
+ <transition target="subFinal1"/>
+ </state>
+ <final id="subFinal1"/>
+ </scxml>
+ </content>
+ </invoke>
+ <transition target="s12"/>
+ </state>
+ <state id="s12">
+ <invoke>
+ <content>
+ <!-- when invoked, send 'foo' to parent, then terminate. -->
+ <scxml initial="sub2" version="1.0" datamodel="ecmascript">
+ <state id="sub2">
+ <onentry>
+ <send target="#_parent" event="invokeS12"/>
+ </onentry>
+ <transition target="subFinal2"/>
+ </state>
+ <final id="subFinal2"/>
+ </scxml>
+ </content>
+ </invoke>
+ </state>
+ </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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test423.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test423.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test423.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test423.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test423.txml.scxml
new file mode 100644
index 0000000..f6287ab
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test423.txml.scxml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that we keep pulling external events off the queue till we find one that matches a transition. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+ <state id="s0">
+ <onentry>
+ <send event="externalEvent1"/>
+ <send event="externalEvent2" delay="1s"/>
+ <raise event="internalEvent"/>
+ </onentry>
+ <!-- in this state we should process only internalEvent -->
+ <transition event="internalEvent" target="s1"/>
+ <transition event="*" target="fail"/>
+ </state>
+
+ <state id="s1">
+ <!-- in this state we ignore externalEvent1 and wait for externalEvent2 -->
+ <transition event="externalEvent2" target="pass"/>
+ <transition event="internalEvent" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test436.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test436.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test436.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test436.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test436.txml.scxml
new file mode 100644
index 0000000..d8b2ca2
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test436.txml.scxml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that in() predicate works in null data model --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" datamodel="null" version="1.0" initial="p">
+
+
+ <parallel id="p">
+
+ <state id="ps0">
+ <transition cond="In('s1')" target="fail"/>
+ <transition cond="In('ps1')" target="pass"/>
+ <transition target="fail"/>
+ </state>
+
+ <state id="ps1"/>
+ </parallel>
+
+ <state id="s1"/>
+
+<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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test441a.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test441a.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test441a.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test441a.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test441a.txml.scxml
new file mode 100644
index 0000000..31ed3b2
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test441a.txml.scxml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" datamodel="null" version="1.0" exmode="lax" initial="s01">
+
+<!-- since exmode=lax, the processor should ignore all datamodel elements and complete without an error -->
+<datamodel>
+ <data id="Var1" expr="1"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <assign location="foo" expr="2"/>
+ <script>
+ x = y
+ </script>
+ <foreach array="baz" item="bat">
+ <log expr="this is a mistake"/>
+ </foreach>
+ </onentry>
+
+ <state id="s01" initial="s01final">
+ <final id="s01final">
+ <donedata>
+ <param name="result" expr="foo"/>
+ </donedata>
+ </final>
+ </state>
+
+ <transition cond="Var1==1" target="fail"/>
+ <transition event="error" target="fail"/>
+ <transition event="done" target="s1"/>
+ </state>
+
+<state id="s1">
+ <onentry>
+ <raise event="noerror"/>
+ </onentry>
+ <transition event="error" target="fail"/>
+ <transition event="noerror" target="pass"/>
+ </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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test441b.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test441b.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test441b.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test441b.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test441b.txml.scxml
new file mode 100644
index 0000000..1a35eba
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test441b.txml.scxml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" datamodel="null" version="1.0" exmode="strict" initial="s01">
+
+<!-- since exmode=strict, the processor should reject this document. Therefore this is a manual test -->
+<datamodel>
+ <data id="Var1" expr="1"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <assign location="foo" expr="2"/>
+ <script>
+ x = y
+ </script>
+ <foreach array="baz" item="bat">
+ <log expr="this is a mistake"/>
+ </foreach>
+ </onentry>
+
+
+ <state id="s01" initial="s01final">
+ <final id="s01final">
+ <donedata>
+ <param name="result" expr="foo"/>
+ </donedata>
+ </final>
+ </state>
+
+ <transition target="fail"/>
+
+ </state>
+
+<state id="s1">
+ <onentry>
+ <raise event="noerror"/>
+ </onentry>
+ <transition event="error" target="fail"/>
+ <transition event="noerror" target="pass"/>
+ </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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test444.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test444.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test444.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test444.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test444.txml.scxml
new file mode 100644
index 0000000..c689674
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test444.txml.scxml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that <data> creates a new ecmascript variable. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" datamodel="ecmascript" version="1.0">
+ <datamodel>
+ <data id="var1" expr="1"/>
+ </datamodel>
+
+<state id="s0">
+<!-- test that var1 can be used as an ecmascript variable -->
+ <transition cond="++var1==2" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test445.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test445.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test445.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test445.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test445.txml.scxml
new file mode 100644
index 0000000..f1ae24b
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test445.txml.scxml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that ecmascript objects defined by <data> have value undefined if <data> does not assign a value --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" datamodel="ecmascript" version="1.0">
+ <datamodel>
+ <data id="var1"/>
+ </datamodel>
+
+<state id="s0">
+
+ <transition cond="var1==undefined" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test448.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test448.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test448.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test448.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test448.txml.scxml
new file mode 100644
index 0000000..adbc121
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test448.txml.scxml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that all ecmascript objects are placed in a single global scope --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" datamodel="ecmascript" version="1.0">
+
+
+<state id="s0">
+<!-- test that a parent state can access a variable defined in a child -->
+ <transition cond="var1==1" target="s1"/>
+ <transition target="fail"/>
+ <state id="s01">
+ <datamodel>
+ <data id="var1" expr="1"/>
+ </datamodel>
+ </state>
+ </state>
+ <state id="s1" initial="s01p">
+ <parallel id="s01p">
+ <state id="s01p1">
+ <!-- test that we can access a variable defined in a parallel sibling state -->
+ <transition cond="var2==1" target="pass"/>
+ <transition target="fail"/>
+ </state>
+ <state id="s01p2">
+ <datamodel>
+ <data id="var2" expr="1"/>
+ </datamodel>
+ </state>
+ </parallel>
+ </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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test449.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test449.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test449.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test449.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test449.txml.scxml
new file mode 100644
index 0000000..d06cc9a
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test449.txml.scxml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that ecmascript objects are converted to booleans inside cond --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" datamodel="ecmascript" version="1.0">
+
+
+<state id="s0">
+ <transition cond="'foo'" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test451.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test451.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test451.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test451.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test451.txml.scxml
new file mode 100644
index 0000000..e939ded
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test451.txml.scxml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- simple test of the in() predicate --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" datamodel="ecmascript" initial="p">
+
+
+ <parallel id="p">
+
+ <state id="s0">
+ <transition cond="In('s1')" target="pass"/>
+ <transition target="fail"/>
+ </state>
+
+ <state id="s1"/>
+ </parallel>
+
+<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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test453.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test453.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test453.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test453.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test453.txml.scxml
new file mode 100644
index 0000000..33b904d
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test453.txml.scxml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that we can use any ecmascript expression as a value expression.
+In this case, we just test that we can assign
+a function to a variable and then call it. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" datamodel="ecmascript" version="1.0">
+ <datamodel>
+ <data id="var1" expr="function(invar) {return invar + 1;}"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <raise event="event1"/>
+ </onentry>
+<!-- test that we can call the function -->
+ <transition event="event1" cond="var1(2) == 3" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test456.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test456.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test456.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test456.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test456.txml.scxml
new file mode 100644
index 0000000..35925e4
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test456.txml.scxml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we can't test that _any_ ecmascript is valid inside <script>, so we
+just run a simple one and check that it can update the data model. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1"/>
+ </datamodel>
+
+ <state id="s0">
+ <onentry>
+ <script>
+ Var1+=1
+ </script>
+ </onentry>
+ <transition cond="Var1==1" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test487.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test487.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test487.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test487.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test487.txml.scxml
new file mode 100644
index 0000000..30a50eb
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test487.txml.scxml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test illegal assignment. error.execution should be raised. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="ecmascript" version="1.0">
+<datamodel>
+ <data id="Var1" expr="return"/>
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <raise event="event"/>
+ </onentry>
+
+ <transition event="error.execution" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test488.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test488.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test488.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test488.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test488.txml.scxml
new file mode 100644
index 0000000..45e775c
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test488.txml.scxml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that illegal expr in <param> produces error.execution and empty event.data --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" datamodel="ecmascript" initial="s0">
+
+
+ <state id="s0" initial="s01">
+ <!-- we should get the error before the done event -->
+ <transition event="error.execution" target="s1"/>
+ <transition event="done.state.s0" target="fail"/>
+
+ <transition event="done.state.s0" target="fail">
+ </transition>
+
+ <state id="s01">
+ <transition target="s02"/>
+ </state>
+ <final id="s02">
+ <donedata>
+ <param expr="return" name="someParam"/>
+ </donedata>
+ </final>
+ </state>
+
+
+ <!-- if we get here, we received the error event. Now check that the done
+ event has empty event.data -->
+
+ <state id="s1">
+ <transition event="done.state.s0" cond="_event.data === ''" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test503.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test503.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test503.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test503.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test503.txml.scxml
new file mode 100644
index 0000000..6e1ab2b
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test503.txml.scxml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that a targetless transition does not exit and reenter its source state --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s1" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="0"/> <!-- how often we have exited s2 -->
+ <data id="Var2" expr="0"/> <!-- how often the targetless transition in s2 has been executed -->
+ </datamodel>
+
+ <state id="s1">
+ <onentry>
+ <raise event="foo"/>
+ <raise event="bar"/>
+ </onentry>
+ <transition target="s2"/>
+ </state>
+
+ <state id="s2">
+ <onexit>
+ <assign location="Var1" expr="Var1 + 1"/>
+ </onexit>
+ <transition event="foo">
+ <assign location="Var2" expr="Var2 + 1"/>
+ </transition>
+ <!-- make sure the transition on foo was actually taken -->
+ <transition event="bar" cond="Var2==1" target="s3"/>
+ <transition event="bar" target="fail"/>
+ </state>
+
+ <state id="s3">
+ <!-- make sure that s2 was exited only once -->
+ <transition cond="Var1==1" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test504.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test504.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test504.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test504.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test504.txml.scxml
new file mode 100644
index 0000000..6e2679b
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test504.txml.scxml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that an external transition exits all states up the the LCCA --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s1" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="0"/> <!-- how often we have exited p -->
+ <data id="Var2" expr="0"/> <!-- how often we have exited ps1 -->
+ <data id="Var3" expr="0"/> <!-- how often we have exited ps2 -->
+ <data id="Var4" expr="0"/> <!-- how often the transition for foo has been taken -->
+ <data id="Var5" expr="0"/> <!-- how often we have exited s2 -->
+ </datamodel>
+
+ <state id="s1">
+ <onentry>
+ <raise event="foo"/>
+ <raise event="bar"/>
+ </onentry>
+ <transition target="p"/>
+ </state>
+
+<state id="s2">
+ <onexit>
+ <assign location="Var5" expr="Var5 + 1"/>
+ </onexit>
+
+<parallel id="p">
+ <onexit>
+ <assign location="Var1" expr="Var1 + 1"/>
+ </onexit>
+ <transition event="foo" target="ps1">
+ <assign location="Var4" expr="Var4 + 1"/>
+ </transition>
+
+ <!-- make sure the transition on foo was actually taken -->
+ <transition event="bar" cond="Var4==1" target="s3"/>
+ <transition event="bar" target="fail"/>
+
+ <state id="ps1">
+ <onexit>
+ <assign location="Var2" expr="Var2 + 1"/>
+ </onexit>
+ </state>
+ <state id="ps2">
+ <onexit>
+ <assign location="Var3" expr="Var3 + 1"/>
+ </onexit>
+ </state>
+</parallel>
+</state>
+
+<state id="s3">
+ <!-- make sure that p was exited twice -->
+ <transition cond="Var1==2" target="s4"/>
+ <transition target="fail"/>
+ </state>
+
+<state id="s4">
+ <!-- make sure that ps1 was exited twice -->
+ <transition cond="Var2==2" target="s5"/>
+ <transition target="fail"/>
+ </state>
+
+<state id="s5">
+ <!-- make sure that ps2 was exited twice -->
+ <transition cond="Var3==2" target="s6"/>
+ <transition target="fail"/>
+ </state>
+
+<state id="s6">
+ <!-- make sure that s1 was exited once -->
+ <transition cond="Var5==1" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test505.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test505.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test505.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test505.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test505.txml.scxml
new file mode 100644
index 0000000..01d326b
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test505.txml.scxml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that an internal transition does not exit its source state --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s1" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="0"/> <!-- how often we have exited s1 -->
+ <data id="Var2" expr="0"/> <!-- how often we have exited s11 -->
+ <data id="Var3" expr="0"/> <!-- how often the transition for foo has been taken -->
+ </datamodel>
+
+ <state id="s1">
+ <onentry>
+ <raise event="foo"/>
+ <raise event="bar"/>
+ </onentry>
+ <onexit>
+ <assign location="Var1" expr="Var1 + 1"/>
+ </onexit>
+ <transition event="foo" type="internal" target="s11">
+ <assign location="Var3" expr="Var3 + 1"/>
+ </transition>
+
+ <!-- make sure the transition on foo was actually taken -->
+ <transition event="bar" cond="Var3==1" target="s2"/>
+ <transition event="bar" target="fail"/>
+
+ <state id="s11">
+ <onexit>
+ <assign location="Var2" expr="Var2 + 1"/>
+ </onexit>
+ </state>
+ </state>
+
+<state id="s2">
+ <!-- make sure that s1 was exited once -->
+ <transition cond="Var1==1" target="s3"/>
+ <transition target="fail"/>
+ </state>
+
+
+<state id="s3">
+ <!-- make sure that s11 was exited twice -->
+ <transition cond="Var2==2" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test506.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test506.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test506.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test506.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test506.txml.scxml
new file mode 100644
index 0000000..1a7a1da
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test506.txml.scxml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that an internal transition whose targets are not proper descendants of its source state
+behaves like an external transition --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s1" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="0"/> <!-- how often we have exited s2 -->
+ <data id="Var2" expr="0"/> <!-- how often we have exited s21 -->
+ <data id="Var3" expr="0"/> <!-- how often the transition for foo has been taken -->
+ </datamodel>
+
+ <state id="s1">
+ <onentry>
+ <raise event="foo"/>
+ <raise event="bar"/>
+ </onentry>
+ <transition target="s2"/>
+ </state>
+
+<state id="s2" initial="s21">
+ <onexit>
+ <assign location="Var1" expr="Var1 + 1"/>
+ </onexit>
+ <transition event="foo" type="internal" target="s2">
+ <assign location="Var3" expr="Var3 + 1"/>
+ </transition>
+
+ <!-- make sure the transition on foo was actually taken -->
+ <transition event="bar" cond="Var3==1" target="s3"/>
+ <transition event="bar" target="fail"/>
+
+ <state id="s21">
+ <onexit>
+ <assign location="Var2" expr="Var2 + 1"/>
+ </onexit>
+ </state>
+
+</state>
+
+<state id="s3">
+ <!-- make sure that s2 was exited twice -->
+ <transition cond="Var1==2" target="s4"/>
+ <transition target="fail"/>
+ </state>
+
+<state id="s4">
+ <!-- make sure that s21 was exited twice -->
+ <transition cond="Var2==2" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test521.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test521.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test521.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test521.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test521.txml.scxml
new file mode 100644
index 0000000..e4b00d8
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test521.txml.scxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that the processor raises error.communication if it cannot dispatch the event.
+(To create an undispatchable event, we choose a non-existent session as target). If it raises
+the error event, we succeed. Otherwise we eventually timeout and fail. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="ecmascript" version="1.0">
+
+
+<state id="s0">
+ <onentry>
+ <!-- should cause an error -->
+ <send target="#_scxml_foo" event="event2"/>
+ <!-- this will get added to the external event queue after the error has been raised -->
+ <send event="timeout"/>
+ </onentry>
+
+ <!-- once we've entered the state, we should check for internal events first -->
+ <transition event="error.communication" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test525.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test525.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test525.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test525.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test525.txml.scxml
new file mode 100644
index 0000000..432e760
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test525.txml.scxml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that <foreach> does a shallow copy, so that modifying the array does not change
+the iteration behavior. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" datamodel="ecmascript" version="1.0">
+ <datamodel>
+ <data id="Var1">
+ [1,2,3]
+ </data>
+ <data id="Var2" expr="0"/> <!-- counts the number of iterations -->
+ </datamodel>
+
+<state id="s0">
+ <onentry>
+ <foreach item="Var3" array="Var1">
+ <assign location="Var1" expr="[].concat(Var1, [4])"/>
+ <assign location="Var2" expr="Var2 + 1"/>
+ </foreach>
+ </onentry>
+
+ <transition cond="Var2==3" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test527.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test527.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test527.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test527.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test527.txml.scxml
new file mode 100644
index 0000000..426cc6c
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test527.txml.scxml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- simple test that 'expr' works with <content> --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" datamodel="ecmascript" initial="s0">
+
+
+ <state id="s0" initial="s01">
+
+ <transition event="done.state.s0" cond="_event.data === 'foo'" target="pass">
+ </transition>
+
+ <transition event="done.state.s0" target="fail">
+ </transition>
+
+ <state id="s01">
+ <transition target="s02"/>
+ </state>
+ <final id="s02">
+ <donedata>
+ <content expr="'foo'"/>
+ </donedata>
+ </final>
+ </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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test528.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test528.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test528.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test528.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test528.txml.scxml
new file mode 100644
index 0000000..9f1ebd4
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test528.txml.scxml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that illegal 'expr' produces error.execution and empty event.data --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" datamodel="ecmascript" initial="s0">
+
+
+ <state id="s0" initial="s01">
+ <!-- we should get the error before the done event -->
+ <transition event="error.execution" target="s1"/>
+ <transition event="done.state.s0" target="fail"/>
+
+ <transition event="done.state.s0" target="fail">
+ </transition>
+
+ <state id="s01">
+ <transition target="s02"/>
+ </state>
+ <final id="s02">
+ <donedata>
+ <content expr="return"/>
+ </donedata>
+ </final>
+ </state>
+
+
+ <!-- if we get here, we received the error event. Now check that the done
+ event has empty event.data -->
+
+ <state id="s1">
+ <transition event="done.state.s0" cond="_event.data == null" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test529.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test529.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test529.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test529.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test529.txml.scxml
new file mode 100644
index 0000000..91dc002
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test529.txml.scxml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- simple test that children workn with <content> --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" datamodel="ecmascript" initial="s0">
+
+
+ <state id="s0" initial="s01">
+
+ <transition event="done.state.s0" cond="_event.data === '21'" target="pass">
+ </transition>
+
+ <transition event="done.state.s0" target="fail">
+ </transition>
+
+ <state id="s01">
+ <transition target="s02"/>
+ </state>
+ <final id="s02">
+ <donedata>
+ <content>21</content>
+ </donedata>
+ </final>
+ </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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test530.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test530.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test530.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test530.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test530.txml.scxml
new file mode 100644
index 0000000..9361181
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test530.txml.scxml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that <content> child is evaluated when <invoke> is. Var1 is initialized
+with an integer value, then set to an scxml script in the onentry to s0. If <content>
+is evaluated at the right time, we should get invoke.done, otherwise an error --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+ <datamodel>
+ <data id="Var1" expr="1"/>
+ </datamodel>
+
+ <state id="s0">
+ <onentry>
+ <assign location="Var1">
+ <scxml version="1.0"><final/></scxml>
+ </assign>
+ <send event="timeout" delay="2s"/>
+ </onentry>
+
+ <invoke type="http://www.w3.org/TR/scxml/">
+ <content expr="Var1"/>
+ </invoke>
+
+ <transition event="done.invoke" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test533.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test533.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test533.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test533.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test533.txml.scxml
new file mode 100644
index 0000000..a4550e3
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test533.txml.scxml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that an internal transition whose source state is not compound does exit its source state --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s1" version="1.0" datamodel="ecmascript">
+<datamodel>
+ <data id="Var1" expr="0"/> <!-- how often we have exited p -->
+ <data id="Var2" expr="0"/> <!-- how often we have exited ps1 -->
+ <data id="Var3" expr="0"/> <!-- how often we have exited ps2 -->
+ <data id="Var4" expr="0"/> <!-- how often the transition for foo has been taken -->
+ </datamodel>
+
+ <state id="s1">
+ <onentry>
+ <raise event="foo"/>
+ <raise event="bar"/>
+ </onentry>
+ <transition target="p"/>
+ </state>
+
+<parallel id="p">
+ <onexit>
+ <assign location="Var1" expr="Var1 + 1"/>
+ </onexit>
+ <transition event="foo" type="internal" target="ps1">
+ <assign location="Var4" expr="Var4 + 1"/>
+ </transition>
+
+ <!-- make sure the transition on foo was actually taken -->
+ <transition event="bar" cond="Var4==1" target="s2"/>
+ <transition event="bar" target="fail"/>
+
+ <state id="ps1">
+ <onexit>
+ <assign location="Var2" expr="Var2 + 1"/>
+ </onexit>
+ </state>
+ <state id="ps2">
+ <onexit>
+ <assign location="Var3" expr="Var3 + 1"/>
+ </onexit>
+ </state>
+</parallel>
+
+<state id="s2">
+ <!-- make sure that p was exited twice -->
+ <transition cond="Var1==2" target="s3"/>
+ <transition target="fail"/>
+ </state>
+
+<state id="s3">
+ <!-- make sure that ps1 was exited twice -->
+ <transition cond="Var2==2" target="s4"/>
+ <transition target="fail"/>
+ </state>
+
+<state id="s4">
+ <!-- make sure that ps2 was exited twice -->
+ <transition cond="Var3==2" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test550.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test550.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test550.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test550.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test550.txml.scxml
new file mode 100644
index 0000000..0ca4c1a
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test550.txml.scxml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that expr can be used to assign a value to a var. This test uses early binding --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript" binding="early">
+
+ <state id="s0">
+
+ <transition cond="Var1==2" target="pass"/>
+ <transition target="fail"/>
+ </state>
+
+ <state id="s1">
+ <datamodel>
+ <data id="Var1" expr="2"/>
+ </datamodel>
+ </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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test551.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test551.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test551.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test551.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test551.txml.scxml
new file mode 100644
index 0000000..cd267eb
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test551.txml.scxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that inline content can be used to assign a value to a var. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" binding="early" datamodel="ecmascript">
+
+
+ <state id="s0">
+
+ <transition cond="Var1" target="pass"/>
+ <transition target="fail"/>
+ </state>
+
+<state id="s1">
+ <datamodel>
+ <data id="Var1">
+ [1,2,3]
+ </data>
+ </datamodel>
+ </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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test552.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test552.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test552.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test552.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test552.txml.scxml
new file mode 100644
index 0000000..94267c6
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test552.txml.scxml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that src content can be used to assign a value to a var. Edit
+test552.txt to have a value that's legal for the datamodel in question --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+ <datamodel>
+ <data id="Var1" src="file:test552.txt"/>
+ </datamodel>
+
+ <state id="s0">
+
+ <transition cond="Var1" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test553.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test553.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test553.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test553.txml.scxml_ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test553.txml.scxml_
new file mode 100644
index 0000000..114c4a2
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test553.txml.scxml_
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- we test that the processor does not dispatch the event if evaluation
+of <send>'s args causes an error.. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="ecmascript" version="1.0">
+
+
+<state id="s0">
+ <onentry>
+ <!-- timeout event -->
+ <send event="timeout" delay="3s"/>
+ <!-- include a non-existing var in the namelist -->
+ <send event="event1" namelist="Var2"/>
+ </onentry>
+
+ <!-- if we get the timeout before event1, we assume that event1 hasn't been sent
+ We ignore the error event here because this assertion doesn't mention it -->
+ <transition event="timeout" target="pass"/>
+ <transition event="event1" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test554.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test554.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test554.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test554.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test554.txml.scxml
new file mode 100644
index 0000000..b328ae9
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test554.txml.scxml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that if the evaluation of <invoke>'s args causes an error, the
+invocation is cancelled. In this test, that means that we don't get done.invoke
+before the timer goes off. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0">
+ <onentry>
+ <send event="timer" delay="2s"/>
+ </onentry>
+
+ <!-- namelist references an undeclared variable -->
+ <invoke type="http://www.w3.org/TR/scxml/" namelist="Var2">
+ <content>
+ <scxml initial="subFinal" version="1.0" datamodel="ecmascript">
+ <final id="subFinal"/>
+ </scxml>
+ </content>
+ </invoke>
+ <transition event="timer" target="pass"/>
+ <transition event="done.invoke" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test557.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test557.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test557.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test557.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test557.txml.scxml
new file mode 100644
index 0000000..6f4eed1
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test557.txml.scxml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- in the ECMA data model, test that if the child of <data> is XML, or if XML is loaded via src=, the processor
+ assigns it as the value of the var --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+ <datamodel>
+ <data id="var1">
+ <books xmlns="">
+ <book title="title1"/>
+ <book title="title2"/>
+ </books>
+</data>
+ <data id="var2" src="file:test557.txt"/>
+ </datamodel>
+
+<state id="s0">
+ <transition cond="var1.getElementsByTagName('book')[0].getAttribute('title') == 'title1'" target="s1"/>
+ <transition target="fail"/>
+ </state>
+
+<state id="s1">
+ <transition cond="var2.getElementsByTagName('book')[1].getAttribute('title') == 'title2'" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test558.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test558.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test558.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test558.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test558.txml.scxml
new file mode 100644
index 0000000..a075100
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test558.txml.scxml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- in the ECMA data model, test that if the child of <data> is not XML, or if XML is loaded via src=,
+ the processor treats the value as a string, does whitespace normalization and assigns it to the var.--><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+ <datamodel>
+ <data id="var1">
+this is
+a string
+</data>
+ <data id="var2" src="file:test558.txt"/>
+ </datamodel>
+
+<state id="s0">
+ <transition cond="var1 == 'this is a string'" target="s1"/>
+ <transition target="fail"/>
+ </state>
+
+<state id="s1">
+ <transition cond="var2 == 'this is a string'" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test560.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test560.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test560.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test560.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test560.txml.scxml
new file mode 100644
index 0000000..d283b1a
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test560.txml.scxml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- in the ECMA data model, test that processor creates correct structure in
+ _event.data when receiving KVPs in an event --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0">
+ <onentry>
+ <send event="foo">
+ <param name="aParam" expr="1"/>
+ </send>
+ </onentry>
+ <transition event="foo" cond="_event.data.aParam == 1" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test561.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test561.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test561.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test561.txml.scxml_ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test561.txml.scxml_
new file mode 100644
index 0000000..40f414a
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test561.txml.scxml_
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- in the ECMA data model, test that processor creates correct DOM structure in
+ _event.data when receiving XML in an event --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0">
+ <onentry>
+ <send event="foo">
+ <content>
+<books xmlns="">
+<book title="title1"/>
+<book title="title2"/>
+</books>
+</content>
+ </send>
+ </onentry>
+ <transition event="foo" cond="_event.data.getElementsByTagName('book')[1].getAttribute('title') == 'title2'" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test562.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test562.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test562.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test562.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test562.txml.scxml
new file mode 100644
index 0000000..f5997bb
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test562.txml.scxml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- in the ECMA data model, test that processor creates space normalized string in
+ _event.data when receiving anything other than KVPs or XML in an event --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0">
+ <onentry>
+ <send event="foo">
+ <content>
+this is a
+string
+</content>
+ </send>
+ </onentry>
+ <transition event="foo" cond="_event.data == 'this is a string'" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test569.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test569.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test569.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test569.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test569.txml.scxml
new file mode 100644
index 0000000..832a0c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test569.txml.scxml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that location field is found inside entry for SCXML Event I/O processor in the ECMAScript
+data model. The tests for the relevant event i/o processors will test that it can be used to
+send events. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
+
+
+<state id="s0">
+ <transition cond="_ioprocessors['scxml'].location" target="pass"/>
+ <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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test570.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test570.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test570.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test570.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test570.txml.scxml
new file mode 100644
index 0000000..2f5ccbe
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test570.txml.scxml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that we generate done.state.id when all a parallel state's children are in final states --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="p0" datamodel="ecmascript" version="1.0">
+ <datamodel>
+ <data id="Var1" expr="0"/>
+ </datamodel>
+<parallel id="p0">
+ <onentry>
+ <send event="timeout" delay="2s"/>
+ <raise event="e1"/>
+ <raise event="e2"/>
+ </onentry>
+ <!-- record that we get the first done event -->
+ <transition event="done.state.p0s1">
+ <assign location="Var1" expr="1"/>
+ </transition>
+ <!-- we should get the second done event before done.state.p0 -->
+ <transition event="done.state.p0s2" target="s1"/>
+ <transition event="timeout" target="fail"/>
+
+
+ <state id="p0s1" initial="p0s11">
+ <state id="p0s11">
+ <transition event="e1" target="p0s1final"/>
+ </state>
+ <final id="p0s1final"/>
+ </state>
+
+ <state id="p0s2" initial="p0s21">
+ <state id="p0s21">
+ <transition event="e2" target="p0s2final"/>
+ </state>
+ <final id="p0s2final"/>
+ </state>
+
+ </parallel>
+
+ <state id="s1">
+ <!-- if we get done.state.p0, success -->
+ <transition event="done.state.p0" cond="Var1==1" target="pass"/>
+ <transition event="*" 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
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test576.txml.json b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test576.txml.json
new file mode 100644
index 0000000..2b697c0
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test576.txml.json
@@ -0,0 +1,4 @@
+{
+ "initialConfiguration" : ["pass"],
+ "events" : []
+}
diff --git a/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test576.txml.scxml b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test576.txml.scxml
new file mode 100644
index 0000000..2bed2ca
--- /dev/null
+++ b/tests/3rdparty/scion-tests/scxml-test-framework/test/w3c-ecma/test576.txml.scxml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- test that the 'initial' value of scxml is respected. We set the value to deeply nested non-default parallel siblings and
+test that both are entered. --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s11p112 s11p122" datamodel="ecmascript" version="1.0">
+
+
+<state id="s0">
+ <transition target="fail"/>
+</state>
+
+<state id="s1">
+ <onentry>
+ <send event="timeout" delay="1s"/>
+ </onentry>
+ <transition event="timeout" target="fail"/>
+ <state id="s11" initial="s111">
+ <state id="s111"/>
+ <parallel id="s11p1">
+ <state id="s11p11" initial="s11p111">
+ <state id="s11p111"/>
+ <state id="s11p112">
+ <onentry>
+ <raise event="In-s11p112"/>
+ </onentry>
+ </state>
+ </state>
+ <state id="s11p12" initial="s11p121">
+ <state id="s11p121"/>
+ <state id="s11p122">
+ <transition event="In-s11p112" target="pass"/>
+ </state>
+ </state>
+ </parallel>
+ </state>
+</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