diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-03-30 16:08:37 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-03-30 16:08:37 (GMT) |
commit | 28014abf13ca64031b8b84dcf585ec4569881ab0 (patch) | |
tree | 9680223cdbd3adde5bd80d18f1b29ea3a0990e4f /test/samples/w3c/txml/test207.txml | |
parent | 2317f2bf8beb03c60463a9482dbef23540f5c1e0 (diff) | |
download | uscxml-28014abf13ca64031b8b84dcf585ec4569881ab0.zip uscxml-28014abf13ca64031b8b84dcf585ec4569881ab0.tar.gz uscxml-28014abf13ca64031b8b84dcf585ec4569881ab0.tar.bz2 |
Various bug fixes
- Removed scxml-test-framework related file
- Array operator with V8NodeList
- _event.data as DOM if content is XML
Diffstat (limited to 'test/samples/w3c/txml/test207.txml')
-rw-r--r-- | test/samples/w3c/txml/test207.txml | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/test/samples/w3c/txml/test207.txml b/test/samples/w3c/txml/test207.txml deleted file mode 100644 index 6893dcf..0000000 --- a/test/samples/w3c/txml/test207.txml +++ /dev/null @@ -1,60 +0,0 @@ -<?xml version="1.0"?> -<!-- 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 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" 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" conf:datamodel="" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance"> - <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" conf:targetpass=""/> - <transition event="fail" conf:targetfail=""/> - <transition event="timeout" conf:targetfail=""/> - </state> - -</state> - -<conf:pass/> -<conf:fail/> - -</scxml>
\ No newline at end of file |