diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-08-18 08:23:49 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-08-18 08:23:49 (GMT) |
commit | 8b9ae4ba7aa509f467b97ae298642fbe1710ea36 (patch) | |
tree | 68194b17601a24bf484429e0371b0ea7d953e26b /test | |
parent | 940de61e5b6d8651f6ea8b1626c92f5d80cb723c (diff) | |
download | uscxml-8b9ae4ba7aa509f467b97ae298642fbe1710ea36.zip uscxml-8b9ae4ba7aa509f467b97ae298642fbe1710ea36.tar.gz uscxml-8b9ae4ba7aa509f467b97ae298642fbe1710ea36.tar.bz2 |
DOM support for Lua DM via luaExpat
Diffstat (limited to 'test')
-rw-r--r-- | test/uscxml/test-lua.scxml | 13 | ||||
-rw-r--r-- | test/uscxml/test-xhtml-invoker.scxml | 6 |
2 files changed, 17 insertions, 2 deletions
diff --git a/test/uscxml/test-lua.scxml b/test/uscxml/test-lua.scxml index 1168ca3..e04f746 100644 --- a/test/uscxml/test-lua.scxml +++ b/test/uscxml/test-lua.scxml @@ -1,6 +1,17 @@ <scxml datamodel="lua" name="lua-test"> <state id="s1"> - <transition cond="In('s1')" target="end" /> + <onentry> + <send event="withXML"> + <content> + <some> + <adhoc> + <markup /> + </adhoc> + </some> + </content> + </send> + </onentry> + <transition event="withXML" cond="In('s1')" target="end" /> </state> <state id="end" final="true" /> </scxml> diff --git a/test/uscxml/test-xhtml-invoker.scxml b/test/uscxml/test-xhtml-invoker.scxml index 0d85ffd..3a868a9 100644 --- a/test/uscxml/test-xhtml-invoker.scxml +++ b/test/uscxml/test-xhtml-invoker.scxml @@ -113,7 +113,11 @@ <state id="arbitraryURL"> <!-- simply open some arbitrary URL, we cannot communicate with these --> - <invoke src="http://www.heise.de" type="xhtml" id="xhtml1" /> + <invoke src="http://www.heise.de" type="xhtml" id="xhtml1"> + <finalize> + <script>dump(_event);</script> + </finalize> + </invoke> <onentry> <!-- we need a delayed send for this to be a stable configuration for the invoker --> <send event="continue" delay="10ms" /> |