geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r504761 - in /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report: ReportGenerator.groovy resources/class-summary.tmpl resources/package-summary.tmpl
Date Thu, 08 Feb 2007 01:55:32 GMT
Author: jdillon
Date: Wed Feb  7 17:55:31 2007
New Revision: 504761

URL: http://svn.apache.org/viewvc?view=rev&rev=504761
Log:
Sort class and test names

Modified:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/ReportGenerator.groovy
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/class-summary.tmpl
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-summary.tmpl

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/ReportGenerator.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/ReportGenerator.groovy?view=diff&rev=504761&r1=504760&r2=504761
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/ReportGenerator.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/ReportGenerator.groovy
Wed Feb  7 17:55:31 2007
@@ -217,6 +217,10 @@
             log.info "Finished processing iteration $iteration in $watch"
         }
         
+        //
+        // TODO: Add non-passing tests overview
+        //
+        
         def renderIterationOverview = {
             log.info "Rendering iteration overview"
             

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/class-summary.tmpl
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/class-summary.tmpl?view=diff&rev=504761&r1=504760&r2=504761
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/class-summary.tmpl
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/class-summary.tmpl
Wed Feb  7 17:55:31 2007
@@ -21,6 +21,11 @@
 //
 // $Id$
 //
+
+def sorter = { String a, String b ->
+    return a.toLowerCase() <=> b.toLowerCase()
+}
+
 %>
 <html>
 <head>
@@ -73,7 +78,7 @@
                 </tr>
             </thead>
             <tbody>
-                <% for (testName in testNames) { %>
+                <% testNames.sort(sorter).each { testName -> %>
                 <%
                 def basename = testName.substring(testName.lastIndexOf('#') + 1, testName.size())
                 def testCase = stats.testCaseByName[testName]

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-summary.tmpl
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-summary.tmpl?view=diff&rev=504761&r1=504760&r2=504761
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-summary.tmpl
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-summary.tmpl
Wed Feb  7 17:55:31 2007
@@ -21,6 +21,11 @@
 //
 // $Id$
 //
+
+def sorter = { String a, String b ->
+    return a.toLowerCase() <=> b.toLowerCase()
+}
+
 %>
 <html>
 <head>
@@ -75,7 +80,7 @@
                 </tr>
             </thead>
             <tbody>
-                <% for (className in classNames) { %>
+                <% classNames.sort(sorter).each { className -> %>
                 <%
                 def classSummary = stats.byClass[className]
                 def basename = className.substring(className.lastIndexOf('.') + 1, className.size())



Mime
View raw message