My favorites | Sign in
Project Home Downloads Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 144: PATCH: sort components/methods in reports
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Dec 2008


 
Reported by bboisv...@gmail.com, Dec 12, 2008
This patch will sort components and methods in generated reports, instead
of their current undefined order.

Index: C:/apps/wwwroot/eventlog/lib/mxunit/framework/XMLTestResult.cfc
===================================================================
--- C:/apps/wwwroot/eventlog/lib/mxunit/framework/XMLTestResult.cfc
(revision 481)
+++ C:/apps/wwwroot/eventlog/lib/mxunit/framework/XMLTestResult.cfc
(working copy)
@@ -274,7 +274,10 @@
       <th>Trace</th>
       <th>Generated</th>
     </tr>
-    <xsl:apply-templates />
+    <xsl:apply-templates select="test_case">
+		<xsl:sort select="@component" />
+		<xsl:sort select="@testname" />
+	</xsl:apply-templates>
   </tbody>
 </table>
 </div>

Dec 13, 2008
Project Member #1 virtix
(No comment was entered for this change.)
Status: Fixed

Powered by Google Project Hosting