geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r505237 - in /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report: model/ resources/ resources/boilerplate/images/
Date Fri, 09 Feb 2007 10:13:11 GMT
Author: jdillon
Date: Fri Feb  9 02:13:10 2007
New Revision: 505237

URL: http://svn.apache.org/viewvc?view=rev&rev=505237
Log:
Add some icons

Added:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/images/icon_error_sml.gif
  (with props)
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/images/icon_info_sml.gif
  (with props)
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/images/icon_success_sml.gif
  (with props)
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/images/icon_warning_sml.gif
  (with props)
Modified:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/model/GroupModel.groovy
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/model/TestCaseModel.groovy
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/class-summary.vm
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-detail.vm
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-overview.vm
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/macros.vm
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/non-passing-overview.vm
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-overview.vm
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-summary.vm

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/model/GroupModel.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/model/GroupModel.groovy?view=diff&rev=505237&r1=505236&r2=505237
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/model/GroupModel.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/model/GroupModel.groovy
Fri Feb  9 02:13:10 2007
@@ -198,5 +198,17 @@
     double getSuccessRate() {
         return passCount * 100 / count
     }
+    
+    String getStatusIcon() {
+        if (passed) {
+            return 'icon_success_sml.gif'
+        }
+        else if (errorCount > 0) {
+            return 'icon_error_sml.gif'
+        }
+        else if (failureCount > 0) {
+            return 'icon_warning_sml.gif'
+        }
+    }
 }
 

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/model/TestCaseModel.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/model/TestCaseModel.groovy?view=diff&rev=505237&r1=505236&r2=505237
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/model/TestCaseModel.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/model/TestCaseModel.groovy
Fri Feb  9 02:13:10 2007
@@ -78,5 +78,17 @@
     String getFullHref() {
         return name.replace('.', '/').replace('#', '_') + '.html'
     }
+    
+    String getStatusIcon() {
+        if (status.passed) {
+            return 'icon_success_sml.gif'
+        }
+        else if (status.error) {
+            return 'icon_error_sml.gif'
+        }
+        else if (status.failed) {
+            return 'icon_warning_sml.gif'
+        }
+    }
 }
 

Added: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/images/icon_error_sml.gif
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/images/icon_error_sml.gif?view=auto&rev=505237
==============================================================================
Binary file - no diff available.

Propchange: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/images/icon_error_sml.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/images/icon_info_sml.gif
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/images/icon_info_sml.gif?view=auto&rev=505237
==============================================================================
Binary file - no diff available.

Propchange: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/images/icon_info_sml.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/images/icon_success_sml.gif
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/images/icon_success_sml.gif?view=auto&rev=505237
==============================================================================
Binary file - no diff available.

Propchange: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/images/icon_success_sml.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/images/icon_warning_sml.gif
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/images/icon_warning_sml.gif?view=auto&rev=505237
==============================================================================
Binary file - no diff available.

Propchange: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/images/icon_warning_sml.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/class-summary.vm
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/class-summary.vm?view=diff&rev=505237&r1=505236&r2=505237
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/class-summary.vm
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/class-summary.vm
Fri Feb  9 02:13:10 2007
@@ -62,11 +62,12 @@
     <h3>Tests</h3>
     
     <table>
-        #tableHeader(['Test', 'Status', 'Duration'])
+        #tableHeader(['', 'Test', 'Status', 'Duration'])
         
         <tbody>
             #foreach ($test in $model.tests)
                 <tr>
+                    <td align="center">#icon($test.statusIcon)</td>
                     <td align="left"><a href="$test.href">$test.testName</a></td>
                     <td align="right">$test.status.text</a></td>
                     <td align="right">$test.duration</a></td>

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-detail.vm
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-detail.vm?view=diff&rev=505237&r1=505236&r2=505237
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-detail.vm
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-detail.vm
Fri Feb  9 02:13:10 2007
@@ -62,11 +62,12 @@
     <h3>Packages</h3>
     
     <table>
-        #tableHeader(['Class', 'Tests', 'Success Rate', 'Duration'])
+        #tableHeader(['', 'Class', 'Tests', 'Success Rate', 'Duration'])
         
         <tbody>
             #foreach ($pkg in $model.packages)
                 <tr>
+                    <td align="center">#icon($pkg.statusIcon)</td>
                     <td align="left"><a href="$pkg.href">$pkg.name</a></td>
                     <td align="right">$pkg.count</td>
                     <td align="right">$pkg.successRate</td>

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-overview.vm
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-overview.vm?view=diff&rev=505237&r1=505236&r2=505237
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-overview.vm
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-overview.vm
Fri Feb  9 02:13:10 2007
@@ -29,11 +29,12 @@
     <h2>Iterations</h2>
     
     <table>
-        #tableHeader(['Iteration', 'Tests', 'Success Rate', 'Duration'])
+        #tableHeader(['', 'Iteration', 'Tests', 'Success Rate', 'Duration'])
         
         <tbody>
             #foreach ($iter in $model.iterations)
                 <tr>
+                    <td align="center">#icon($iter.statusIcon)</td>
                     <td align="left"><a href="$iter.href">$iter.name</a></td>
                     <td align="right">$iter.count</td>
                     <td align="right">$iter.successRate</td>

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/macros.vm
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/macros.vm?view=diff&rev=505237&r1=505236&r2=505237
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/macros.vm
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/macros.vm
Fri Feb  9 02:13:10 2007
@@ -28,6 +28,10 @@
     </head>
 #end
 
+#macro (icon $filename)
+    <img src="${baseURI}/images/$filename" border="0"/>
+#end
+
 #macro (topNavBar)
     <table>
         <tbody>

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/non-passing-overview.vm
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/non-passing-overview.vm?view=diff&rev=505237&r1=505236&r2=505237
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/non-passing-overview.vm
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/non-passing-overview.vm
Fri Feb  9 02:13:10 2007
@@ -29,12 +29,13 @@
     <h2>Non-passing Tests</h2>
     
     <table>
-        #tableHeader(['Test', 'Status', 'Duration'])
+        #tableHeader(['', 'Test', 'Status', 'Duration'])
         
         <tbody>
             #foreach ($test in $model.tests)
                 #if (!$test.status.passed)
                     <tr>
+                        <td align="center">#icon($test.statusIcon)</td>
                         <td align="left"><a href="$test.fullHref">$test.name</a></td>
                         <td align="right">$test.status.text</a></td>
                         <td align="right">$test.duration</a></td>

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-overview.vm
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-overview.vm?view=diff&rev=505237&r1=505236&r2=505237
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-overview.vm
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-overview.vm
Fri Feb  9 02:13:10 2007
@@ -29,11 +29,12 @@
     <h2>Packages</h2>
     
     <table>
-        #tableHeader(['Package', 'Tests', 'Success Rate', 'Duration'])
+        #tableHeader(['', 'Package', 'Tests', 'Success Rate', 'Duration'])
         
         <tbody>
             #foreach ($pkg in $model.packages)
                 <tr>
+                    <td align="center">#icon($pkg.statusIcon)</td>
                     <td align="left"><a href="$pkg.fullHref">$pkg.name</a></td>
                     <td align="right">$pkg.count</td>
                     <td align="right">$pkg.successRate</td>

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-summary.vm
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-summary.vm?view=diff&rev=505237&r1=505236&r2=505237
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-summary.vm
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-summary.vm
Fri Feb  9 02:13:10 2007
@@ -62,11 +62,12 @@
     <h3>Classes</h3>
     
     <table>
-        #tableHeader(['Class', 'Tests', 'Success Rate', 'Duration'])
+        #tableHeader(['', 'Class', 'Tests', 'Success Rate', 'Duration'])
         
         <tbody>
             #foreach ($clazz in $model.classes)
                 <tr>
+                    <td align="center">#icon($clazz.statusIcon)</td>
                     <td align="left"><a href="$clazz.href">$clazz.name</a></td>
                     <td align="right">$clazz.count</td>
                     <td align="right">$clazz.successRate</td>
@@ -79,14 +80,15 @@
     <h3>Tests</h3>
     
     <table>
-        #tableHeader(['Test', 'Status', 'Duration'])
+        #tableHeader(['', 'Test', 'Status', 'Duration'])
         
         <tbody>
             #foreach ($clazz in $model.classes)
                 #foreach ($test in $clazz.tests)
                     <tr>
+                        <td align="center">#icon($test.statusIcon)</td>
                         <td align="left"><a href="$test.href">$test.name</a></td>
-                            <td align="right">$test.status.text</a></td>
+                        <td align="right">$test.status.text</a></td>
                         <td align="right">$test.duration</a></td>
                     </tr>
                 #end



Mime
View raw message