diff options
Diffstat (limited to 'test/w3c/txml/test193.txml')
-rw-r--r-- | test/w3c/txml/test193.txml | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/test/w3c/txml/test193.txml b/test/w3c/txml/test193.txml index ba1598b..24cb2ac 100644 --- a/test/w3c/txml/test193.txml +++ b/test/w3c/txml/test193.txml @@ -1,20 +1,27 @@ <?xml version="1.0"?> <!-- we test that omitting target and targetexpr of <send> when using the -basichttp event i/o processor puts error.communication on the internal queue. --> +SCXML event i/o processor puts the event on the external queue. --> <scxml initial="s0" version="1.0" conf:datamodel="" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance"> <state id="s0"> <onentry> - <!-- this should put an error in the internal queue --> - <send event="event1" type="http://www.w3.org/TR/scxml/#BasicHTTPEventProcessor"/> - <send event="fail"/> + <send event="internal"/> + <!-- this should put event1 in the external queue --> + <send event="event1" type="http://www.w3.org/TR/scxml/#SCXMLEventProcessor"/> + <send event="timeout" delay="1s"/> </onentry> - <transition event="error.communication" conf:targetpass=""/> - <transition event="*" conf:targetfail=""/> + <transition event="event1" conf:targetfail=""/> + <transition event="internal" target="s1"/> </state> + + <state id="s1"> + <transition event="event1" conf:targetpass=""/> + <transition event="timeout" conf:targetfail=""/> + + </state> <conf:pass/> <conf:fail/> |