It looks like Jan's patch did not come through on the list.  I am ready
with mine anyway, so I'll just send it through.

There was some question as to exactly how you want it to look. 
Currently I have both "timestamp" and "host" displayed on every package
summary listing, but not on the overall tests summary.  (Since different
testsuites could have different hosts / timestamps, possibly).

Let me know if you had something different in mind, and/or want it
tweaked in any way.

>>> [EMAIL PROTECTED] 4/15/04 9:12:30 AM >>>
Jeff Tulley wrote:
> Steve,
>    I once looked through those and am somewhat familiar with them,
as
> well as having an understanding of XSLT.  I can help you on this.
> I need to do something with this hard-earned but lately unused
> knowledge of XSL.  :)

Jeff (and anyone else who wants to do it),

the XML reports in the CVS_HEAD version of ant now record the time the

test ran and the host they ran on. Some of your XSL skills would now be

appreciated :)

-steve

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


Jeff Tulley  ([EMAIL PROTECTED])
(801)861-5322
Novell, Inc., The Leading Provider of Net Business Solutions
http://www.novell.com
--- junit-frames.xsl.old        2004-04-15 12:06:23.000000000 -0600
+++ junit-frames.xsl    2004-04-15 12:05:48.000000000 -0600
@@ -461,7 +461,6 @@
                     <xsl:with-param name="value" select="$timeCount"/>
                 </xsl:call-template>
             </td>
-
         </tr>
         </table>
         <table border="0" width="95%">
@@ -500,6 +499,8 @@
                         <xsl:with-param name="value" 
select="sum($insamepackage/@time)"/>
                     </xsl:call-template>
                     </td>
+                    <td><xsl:value-of select="$insamepackage/@timestamp"/></td>
+                    <td><xsl:value-of select="$insamepackage/@hostname"/></td>
                 </tr>
             </xsl:for-each>
         </table>
@@ -588,6 +589,8 @@
         <th>Errors</th>
         <th>Failures</th>
         <th nowrap="nowrap">Time(s)</th>
+        <th nowrap="nowrap">Time Stamp</th>
+        <th>Host</th>
     </tr>
 </xsl:template>
 
@@ -620,6 +623,8 @@
                 <xsl:with-param name="value" select="@time"/>
             </xsl:call-template>
         </td>
+        <td><xsl:apply-templates select="@timestamp"/></td>
+        <td><xsl:apply-templates select="@hostname"/></td>
     </tr>
 </xsl:template>
 
--- junit-noframes.xsl.old      2004-04-15 11:57:40.000000000 -0600
+++ junit-noframes.xsl  2004-04-15 12:01:03.000000000 -0600
@@ -182,6 +182,8 @@
                         <xsl:with-param name="value" select="$timeCount"/>
                     </xsl:call-template>
                     </td>
+                    <td><xsl:value-of 
select="$testsuites-in-package/@timestamp"/></td>
+                    <td><xsl:value-of 
select="$testsuites-in-package/@hostname"/></td>
                 </tr>
             </xsl:for-each>
         </table>        
@@ -333,6 +335,8 @@
         <th>Errors</th>
         <th>Failures</th>
         <th nowrap="nowrap">Time(s)</th>
+        <th nowrap="nowrap">Time Stamp</th>
+        <th>Host</th>
     </tr>
 </xsl:template>
 
@@ -368,6 +372,8 @@
                 <xsl:with-param name="value" select="@time"/>
             </xsl:call-template>
         </td>
+        <td><xsl:apply-templates select="@timestamp"/></td>
+        <td><xsl:apply-templates select="@hostname"/></td>
     </tr>
 </xsl:template>
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to