summaryrefslogtreecommitdiffstats
path: root/test/w3c/confEcma.xsl
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-08-28 18:21:17 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-08-28 18:21:17 (GMT)
commit24e3de124af4025d151a0b2775c6c3c04299de4b (patch)
treecc934709cb7ed92c378af48ed9c9370a55c4c7ad /test/w3c/confEcma.xsl
parente6b8379f25ca25f56940b1983d7f912e41ab5a46 (diff)
downloaduscxml-24e3de124af4025d151a0b2775c6c3c04299de4b.zip
uscxml-24e3de124af4025d151a0b2775c6c3c04299de4b.tar.gz
uscxml-24e3de124af4025d151a0b2775c6c3c04299de4b.tar.bz2
Create default timeouts for tests and adapt in test-w3c via DOM
Diffstat (limited to 'test/w3c/confEcma.xsl')
-rw-r--r--test/w3c/confEcma.xsl6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/w3c/confEcma.xsl b/test/w3c/confEcma.xsl
index 41a8129..705785d 100644
--- a/test/w3c/confEcma.xsl
+++ b/test/w3c/confEcma.xsl
@@ -244,13 +244,13 @@
<!-- delayexpr takes the value of the specified variable -->
<xsl:template match="//@conf:delayFromVar">
- <xsl:attribute name="delayexpr">(Var<xsl:value-of select="." />.slice(0, - 1)) * 50 + 'ms'</xsl:attribute>
+ <xsl:attribute name="delayexpr">Var<xsl:value-of select="." /></xsl:attribute>
</xsl:template>
<!-- computes a delayexpr based on the value passed in. this lets platforms determine how long to delay timeout
events which cause the test to fail. The default value provided here is pretty long -->
<xsl:template match="//@conf:delay">
- <xsl:attribute name="delayexpr">'<xsl:value-of select=". * 50"/>ms'</xsl:attribute>
+ <xsl:attribute name="delayexpr">'<xsl:value-of select="."/>s'</xsl:attribute>
</xsl:template>
<!-- the specified variable is used as idlocation -->
@@ -745,4 +745,4 @@ it allows anything after the = -->
<xsl:template match="//@conf:msgIsBody">
<xsl:attribute name="cond">_event.raw.match(/\n\naddress=(.*)$/)</xsl:attribute>
</xsl:template>
-</xsl:stylesheet>
+</xsl:stylesheet> \ No newline at end of file