summaryrefslogtreecommitdiffstats
path: root/test/w3c
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-12-05 11:06:09 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-12-05 11:06:09 (GMT)
commita5a139f46438148901ea6627b73d1bf6ae39b346 (patch)
treee043df6e22113184477a5ffb507f8ef14b7485e6 /test/w3c
parentaf6609592298c5e047e37e5ae2b47e6a8edbb677 (diff)
downloaduscxml-a5a139f46438148901ea6627b73d1bf6ae39b346.zip
uscxml-a5a139f46438148901ea6627b73d1bf6ae39b346.tar.gz
uscxml-a5a139f46438148901ea6627b73d1bf6ae39b346.tar.bz2
Support for initial attribute with nested scxml invokers
Diffstat (limited to 'test/w3c')
-rw-r--r--test/w3c/confPromela.xsl4
-rw-r--r--test/w3c/promela/test510.scxml2
-rw-r--r--test/w3c/promela/test522.scxml2
3 files changed, 6 insertions, 2 deletions
diff --git a/test/w3c/confPromela.xsl b/test/w3c/confPromela.xsl
index e9094d8..ee67755 100644
--- a/test/w3c/confPromela.xsl
+++ b/test/w3c/confPromela.xsl
@@ -136,6 +136,10 @@
<send xmlns="http://www.w3.org/2005/07/scxml" delay="20000" event="timeout"/>
</xsl:template>
+<xsl:template match="//scxml:send[@delay='30s'][@event='timeout']" priority="6">
+ <send xmlns="http://www.w3.org/2005/07/scxml" delay="30000" event="timeout"/>
+</xsl:template>
+
<!-- expr is evaluated -->
<xsl:template match="//@conf:expr">
diff --git a/test/w3c/promela/test510.scxml b/test/w3c/promela/test510.scxml
index fbb2f25..3ddda76 100644
--- a/test/w3c/promela/test510.scxml
+++ b/test/w3c/promela/test510.scxml
@@ -3,7 +3,7 @@
<scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="promela" version="1.0">
<state id="s0">
<onentry>
- <send event="timeout" delay="30s"/>
+ <send event="timeout" delay="30000"/>
<send event="test" targetexpr="_ioprocessors.basichttp.location" type="http://www.w3.org/TR/scxml/#BasicHTTPEventProcessor"/>
<!-- this creates an internal event -->
<raise event="internal"/>
diff --git a/test/w3c/promela/test522.scxml b/test/w3c/promela/test522.scxml
index e31c289..d56f257 100644
--- a/test/w3c/promela/test522.scxml
+++ b/test/w3c/promela/test522.scxml
@@ -4,7 +4,7 @@ to send a message to the processor -->
<scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" datamodel="promela" version="1.0">
<state id="s0">
<onentry>
- <send event="timeout" delay="30s"/>
+ <send event="timeout" delay="30000"/>
<send event="test" type="http://www.w3.org/TR/scxml/#BasicHTTPEventProcessor" targetexpr="_ioprocessors.basichttp.location"/>
</onentry>
<!-- the event we receive should be called 'test', but that's not actually