diff options
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" /> |