Home | History | Annotate | Download | only in data
      1 <?xml version="1.0"?>
      2 
      3 <!--  2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html#License -->
      4 <!-- Copyright (C) 2012 IBM Corporation and Others. All Rights Reserved. -->
      5 
      6 <xsl:stylesheet version="1.0"
      7                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      8 
      9   <xsl:template match="/perfTestResults">
     10     <report category="test">
     11       <xsl:for-each select="perfTestResult">
     12         <xsl:element name="test">
     13           <xsl:attribute name="duration">
     14             <xsl:value-of select="@time"/>
     15           </xsl:attribute>
     16           <xsl:attribute name="status">success</xsl:attribute>
     17           <xsl:attribute name="name">
     18             <xsl:value-of select="@test"/>
     19           </xsl:attribute>
     20           <xsl:attribute name="fixture">
     21           </xsl:attribute>
     22           <xsl:attribute name="file">/perf-tests</xsl:attribute>
     23           <xsl:attribute name="stdout">
     24             iterations: <xsl:value-of select="@iterations"/>
     25           </xsl:attribute>
     26         </xsl:element>
     27       </xsl:for-each>
     28     </report>
     29   </xsl:template>
     30 </xsl:stylesheet>