ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 2905] - minor problem in junitreport's xsl: overview-packages.xsl
Date Tue, 31 Jul 2001 20:52:20 GMT
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2905

*** shadow/2905	Mon Jul 30 14:41:57 2001
--- shadow/2905.tmp.13266	Tue Jul 31 13:52:20 2001
***************
*** 2,8 ****
  | minor problem in junitreport's xsl: overview-packages.xsl                  |
  +----------------------------------------------------------------------------+
  |        Bug #: 2905                        Product: Ant                     |
! |       Status: NEW                         Version: Nightly build           |
  |   Resolution:                            Platform: Sun                     |
  |     Severity: Minor                    OS/Version: Solaris                 |
  |     Priority: Other                     Component: Optional Tasks          |
--- 2,8 ----
  | minor problem in junitreport's xsl: overview-packages.xsl                  |
  +----------------------------------------------------------------------------+
  |        Bug #: 2905                        Product: Ant                     |
! |       Status: ASSIGNED                    Version: Nightly build           |
  |   Resolution:                            Platform: Sun                     |
  |     Severity: Minor                    OS/Version: Solaris                 |
  |     Priority: Other                     Component: Optional Tasks          |
***************
*** 40,42 ****
--- 40,71 ----
              </xsl:call-template>
          </td>
  </xsl:template>
+ 
+ ------- Additional Comments From sbailliez@apache.org  2001-07-31 13:52 -------
+ I think this bug will probably be set in 'wontfix' since I plan to commit a 
+ totally different xsl, but for now, I don't understand the report.
+ 
+ Since the template is always called in <testsuite> node, I understand why you 
+ are doing '../testsuite' but the problem is that '//testsuite' will perform 
+ the same thing, as well as '/testsuites/testsuite'. (not at the same speed but 
+ that's another problem)
+ 
+ For example if you are running the xsl on this xml:
+ <?xml:stylesheet type="text/xsl" href="overview-packages.xsl"?>
+ <testsuites>
+  <testsuite package="com.mycompany" name="A" errors="2" failures="1" tests="5" 
+ time="1"/>
+  <testsuite package="com.mycompany" name="B" errors="0" failures="2" tests="3" 
+ time="2"/>
+  <testsuite package="com.mycompany.module" name="C" errors="0" failures="1" 
+ tests="0" time="4"/>
+ </testsuites>
+ 
+ With the 3 different ways to compute the stats I have the same results which 
+ are not zero:
+ 
+ Summary: 8, 4, 2, 25.00%, 6.000
+ com.mycompany: 8, 2, 3, 3.000
+ com.mycompany.module: 0, 0, 1, 3.000
+ 
+ Are you using xalan 1.2.2 ?
\ No newline at end of file

Mime
View raw message