diff options
Diffstat (limited to 'test/w3c/ecma')
-rw-r--r-- | test/w3c/ecma/test187.scxml | 2 | ||||
-rw-r--r-- | test/w3c/ecma/test252.scxml | 4 | ||||
-rw-r--r-- | test/w3c/ecma/test307.scxml | 2 | ||||
-rw-r--r-- | test/w3c/ecma/test403c.scxml | 6 |
4 files changed, 7 insertions, 7 deletions
diff --git a/test/w3c/ecma/test187.scxml b/test/w3c/ecma/test187.scxml index 59b16ba..4b3e15e 100644 --- a/test/w3c/ecma/test187.scxml +++ b/test/w3c/ecma/test187.scxml @@ -6,7 +6,7 @@ parent session, should not receive childToParent. If it does, we fail. Otherwis <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="1s"/> + <send event="timeout" delayexpr="'1s'"/> </onentry> <invoke type="scxml"> <content> diff --git a/test/w3c/ecma/test252.scxml b/test/w3c/ecma/test252.scxml index 78c9315..f565a26 100644 --- a/test/w3c/ecma/test252.scxml +++ b/test/w3c/ecma/test252.scxml @@ -5,7 +5,7 @@ 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" delayexpr="'1s'"/> + <send event="timeout" delay="2s"/> </onentry> <transition event="timeout" target="pass"/> <transition event="childToParent" target="fail"/> @@ -19,7 +19,7 @@ timeout indicates success. --> <scxml initial="sub0" version="1.0" datamodel="ecmascript"> <state id="sub0"> <onentry> - <send event="timeout" delayexpr="'.5s'"/> + <send event="timeout" delay="2s"/> </onentry> <transition event="timeout" target="subFinal"/> <onexit> diff --git a/test/w3c/ecma/test307.scxml b/test/w3c/ecma/test307.scxml index 61f49fc..726bddd 100644 --- a/test/w3c/ecma/test307.scxml +++ b/test/w3c/ecma/test307.scxml @@ -1,5 +1,5 @@ <?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"> +<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" 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 diff --git a/test/w3c/ecma/test403c.scxml b/test/w3c/ecma/test403c.scxml index f583851..8bb126d 100644 --- a/test/w3c/ecma/test403c.scxml +++ b/test/w3c/ecma/test403c.scxml @@ -17,20 +17,20 @@ <transition event="event2"/> </state> <state id="p0s2"> - <transition event="event1" target="p0s1" this="1"> + <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="2"/> + <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="*" this="3"> + <transition event="*"> <assign location="Var1" expr="Var1 + 1"/> </transition> </state> |