geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r506107 - in /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources: ./ boilerplate/
Date Sun, 11 Feb 2007 19:51:12 GMT
Author: jdillon
Date: Sun Feb 11 11:51:11 2007
New Revision: 506107

URL: http://svn.apache.org/viewvc?view=rev&rev=506107
Log:
Style updates

Modified:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/all-packages-frame.vm
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/stylesheet.css
    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-frame.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/overview-frame.vm
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/overview-summary.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
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/testcase-detail.vm

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/all-packages-frame.vm
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/all-packages-frame.vm?view=diff&rev=506107&r1=506106&r2=506107
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/all-packages-frame.vm
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/all-packages-frame.vm
Sun Feb 11 11:51:11 2007
@@ -26,10 +26,14 @@
 <body>
     #frameHeading3('Packages' "$baseURI/package-overview.html" 'detailFrame')
     
-    <ul>
-        #foreach ($pkg in $model.packages)
-            <li><a href="$baseURI/$pkg.href" target="detailFrame">$pkg.displayName</a></li>
-        #end
-    </li>
+    <table class="frameLinks">
+        <tbody>
+            #foreach ($pkg in $model.packages)
+                <tr>
+                    <td class="frameLinkCell"><a href="$baseURI/$pkg.href" target="detailFrame">$pkg.displayName</a></td>
+                </tr>
+            #end
+        </tbody>
+    </table>
 </body>
 </html>

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/stylesheet.css
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/stylesheet.css?view=diff&rev=506107&r1=506106&r2=506107
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/stylesheet.css
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/stylesheet.css
Sun Feb 11 11:51:11 2007
@@ -41,17 +41,19 @@
 	margin: 0;
 	padding: 0;
     font-size: 10px;
+    white-space: nowrap;
 }
 
 table {
 	font-size: 10px;
     border-collapse: collapse;
     width: 100%;
+    border: 1px solid #000;
 }
 
 table td {
     padding: 3px;
-    border: 1px solid #000;
+    /* border: 1px solid #000; */
 }
 
 hr {
@@ -94,8 +96,8 @@
 }
 
 td.topNavBarCell {
-    background-color:#EEEEFF; /* Light mauve */
-    color:#000000;
+    background-color: #EEEEFF; /* Light mauve */
+    color: #000000;
 }
 
 /* Frames */
@@ -110,6 +112,18 @@
     font-weight: bold;
 }
 
+table.frameLinks, table.frameLinks td {
+    padding: 1px;
+    border: none;
+}
+
+td.frameLinkCell {
+	margin: 0;
+	padding: 0;
+    font-size: 10px;
+    white-space: nowrap;
+}
+
 /* Tables */
 
 tr.a {
@@ -126,6 +140,57 @@
 
 tr.b_failed {
     background-color: #FFCFCF; /* darker light red */
+}
+
+td.donotwrap {
+    white-space: nowrap;
+}
+
+th {
+    background-color: #EEEEFF; /* Light mauve */
+    color: #000000;
+    font-size: 12px;
+    text-align: center;
+}
+
+/* Summary Tables */
+
+table.summaryTable {
+    border: none;
+    border: 1px solid #999999;
+}
+
+td.summaryTableKeyCell {
+    font-weight: bold;
+    white-space: nowrap;
+    border-right: 1px solid #999999;
+    text-align: right;
+    margin-right: 5px;
+}
+
+td.summaryTableValueCell {
+    border: none;
+    text-align: left;
+}
+
+/* Properties Tables */
+
+table.propertiesTable {
+    border: none;
+    border: 1px solid #999999;
+}
+
+td.propertiesTableKeyCell {
+    font-weight: bold;
+    white-space: nowrap;
+    border-right: 1px solid #999999;
+    text-align: right;
+    margin-right: 5px;
+}
+
+td.propertiesTableValueCell {
+    border: none;
+    text-align: left;
 }
 
 /* Test Status */

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=506107&r1=506106&r2=506107
==============================================================================
--- 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
Sun Feb 11 11:51:11 2007
@@ -35,6 +35,11 @@
     <h3>Tests</h3>
     
     <table>
+        <colgroup>
+            <col/>
+            <col width="99%"><col>
+        </colgroup>
+        
         #tableHeader(['', 'Test', 'Status', 'Duration'])
         
         <tbody>

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=506107&r1=506106&r2=506107
==============================================================================
--- 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
Sun Feb 11 11:51:11 2007
@@ -38,16 +38,14 @@
     
     <h3>Configuration</h3>
     
-    <table>
+    <table class="summaryTable">
+        <colgroup>
+            <col/>
+            <col width="99%"><col>
+        </colgroup>
         <tbody>
-            <tr>
-                <td>Tests</td>
-                <td>$model.testConfiguration</td>
-            </tr>
-            <tr>
-                <td>Options</td>
-                <td>$model.optionsConfiguration</td>
-            </tr>
+            #summaryRow('Tests' $model.testConfiguration)
+            #summaryRow('Options' $model.optionsConfiguration)
         </tbody>
     </table>
     
@@ -56,12 +54,18 @@
     #macro (logFileLink $model $file $desc)
         <tr>
             <td><a href="$baseURI/logs/${file}-${model.iterationIndex}.html">$file</a></td>
-            <td>$helper.logFileSize("$file")</td>
+            <td class="donotwrap">$helper.logFileSize("$file")</td>
             <td>$desc</td>
         </tr>
     #end
     
     <table>
+        <colgroup>
+            <col/>
+            <col/>
+            <col width="99%"><col>
+        </colgroup>
+        
         #tableHeader(['Log File', 'Size', 'Description'])
         <tbody>
             #logFileLink($model 'server.log' 'Geronimo server console log')
@@ -72,6 +76,11 @@
     <h3>Packages</h3>
     
     <table>
+        <colgroup>
+            <col/>
+            <col width="99%"><col>
+        </colgroup>
+        
         #tableHeader(['', 'Class', 'Tests', 'Success Rate', 'Duration'])
         
         <tbody>

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-frame.vm
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-frame.vm?view=diff&rev=506107&r1=506106&r2=506107
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-frame.vm
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-frame.vm
Sun Feb 11 11:51:11 2007
@@ -26,10 +26,14 @@
 <body>
     #frameHeading3("Iteration $model.displayName" "$baseURI/$model.href" 'detailFrame')
     
-    <ul>
-        #foreach ($pkg in $model.packages)
-            <li><a href="$baseURI/$pkg.href" target="detailFrame">$pkg.displayName</a></li>
-        #end
-    </li>
+    <table class="frameLinks">
+        <tbody>
+            #foreach ($pkg in $model.packages)
+                <tr>
+                    <td class="frameLinkCell"><a href="$baseURI/$pkg.href" target="detailFrame">$pkg.displayName</a></td>
+                </tr>
+            #end
+        </tbody>
+    </table>
 </body>
 </html>

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=506107&r1=506106&r2=506107
==============================================================================
--- 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
Sun Feb 11 11:51:11 2007
@@ -31,6 +31,11 @@
     #note('Iterations are tests grouped up for build agent distribution and their names do
not map directly to test (or section names);<br/>see each iteration configuration section
for the tests executed.')
     
     <table>
+        <colgroup>
+            <col/>
+            <col width="99%"><col>
+        </colgroup>
+        
         #tableHeader(['', 'Iteration', 'Tests', 'Success Rate', 'Duration'])
         
         <tbody>

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=506107&r1=506106&r2=506107
==============================================================================
--- 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
Sun Feb 11 11:51:11 2007
@@ -109,21 +109,33 @@
 #end
 
 #macro (propertiesTable $map)
-    <table>
+    <table class="propertiesTable">
+        <colgroup>
+            <col/>
+            <col width="99%"><col>
+        </colgroup>
+        
         #tableHeader(['Name', 'Value'])
         
         <tbody>
             #resetRowStyle()
             #foreach ($key in $map.keySet())
                 <tr class="#toggleRowStyle()">
-                    <td>$key</td>
-                    <td>$map.get($key)</td>
+                    <td class="propertiesTableKeyCell">$key</td>
+                    <td class="propertiesTableValueCell">$map.get($key)</td>
                 </tr>
             #end
         </tbody>
     </table>
 #end
 
+#macro (summaryRow $name $value)
+    <tr>
+        <td class="summaryTableKeyCell">$name</td>
+        <td class="summaryTableValueCell">$value</td>
+    </tr>
+#end
+
 #macro (testStatus $test)
     #if ($test.status.passed)
         #set ($style = 'testPassed')
@@ -175,38 +187,24 @@
 #end
 
 #macro (groupSummary $model)
-    <table>
+    <table class="summaryTable">
+        <colgroup>
+            <col/>
+            <col width="99%"><col>
+        </colgroup>
         <tbody>
-            <tr>
-                <td>Tests</td>
-                <td>$model.count</td>
-            </tr>
+            #summaryRow('Tests' $model.count)
             #if ($model.iteration)
-                <tr>
-                    <td>Iteration</td>
-                    <td><a href="$baseURI/$model.iteration.href">$model.iteration.displayName</td>
-                </tr>
+                #summaryRow('Iteration' "<a href='$baseURI/$model.iteration.href'>$model.iteration.displayName")
             #end
+            #summaryRow('Passed' $model.passCount)
+            #summaryRow('Failed' $model.failureCount)
+            #summaryRow('Errors' $model.errorCount)</td>
             <tr>
-                <td>Passed</td>
-                <td>$model.passCount</td>
-            </tr>
-            <tr>
-                <td>Failed</td>
-                <td>$model.failureCount</td>
-            </tr>
-            <tr>
-                <td>Errors</td>
-                <td>$model.errorCount</td>
-            </tr>
-            <tr>
-                <td>Success Rate</td>
-                <td align="center" width="210">#barGraph($model.successRateAsInteger)</td>
-            </tr>
-            <tr>
-                <td>Duration</td>
-                <td>$model.duration</td>
+                <td class="summaryTableKeyCell">Success Rate</td>
+                <td class="summaryTableValueCell">#barGraph($model.successRateAsInteger)</td>
             </tr>
+            #summaryRow('Duration' $model.duration)
         </tbody>
     </table>
 #end

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=506107&r1=506106&r2=506107
==============================================================================
--- 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
Sun Feb 11 11:51:11 2007
@@ -33,6 +33,11 @@
     ##
     
     <table>
+        <colgroup>
+            <col/>
+            <col width="99%"><col>
+        </colgroup>
+        
         #tableHeader(['', 'Test', 'Status', 'Duration'])
         
         <tbody>

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/overview-frame.vm
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/overview-frame.vm?view=diff&rev=506107&r1=506106&r2=506107
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/overview-frame.vm
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/overview-frame.vm
Sun Feb 11 11:51:11 2007
@@ -34,10 +34,14 @@
     
     #frameHeading3('Iterations' "$baseURI/iteration-overview.html" 'detailFrame')
     
-    <ul>
-        #foreach ($iter in $model.iterations)
-            <li><a href="$baseURI/$iter.frameHref" target="packageFrame">$iter.displayName</a></li>
-        #end
-    </li>
+    <table class="frameLinks">
+        <tbody>
+            #foreach ($iter in $model.iterations)
+                <tr>
+                    <td class="frameLinkCell"><a href="$baseURI/$iter.frameHref"
target="packageFrame">$iter.displayName</a></td>
+                </tr>
+            #end
+        </tbody>
+    </table>
 </body>
 </html>

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/overview-summary.vm
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/overview-summary.vm?view=diff&rev=506107&r1=506106&r2=506107
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/overview-summary.vm
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/overview-summary.vm
Sun Feb 11 11:51:11 2007
@@ -30,49 +30,31 @@
     
     #note("For a quick look at what failed see the <a href='${baseURI}/non-passing-overview.html'>non-passing
tests overview</a>.")
     
-    <table>
+    <table class="summaryTable">
+        <colgroup>
+            <col/>
+            <col width="99%"><col>
+        </colgroup>
+        
         <tbody>
+            #summaryRow('Iterations' $model.iterationCount)
+            #summaryRow('Packages' $model.packageCount)
+            #summaryRow('Classes' $model.classCount)
+            #summaryRow('Tests' $model.count)
+            #summaryRow('Passed' $model.passCount)
+            #summaryRow('Failed' $model.failureCount)
+            #summaryRow('Errors' $model.errorCount)
+            
             <tr>
-                <td>Iterations</td>
-                <td>$model.iterationCount</td>
-            </tr>
-            <tr>
-                <td>Packages</td>
-                <td>$model.packageCount</td>
-            </tr>
-            <tr>
-                <td>Classes</td>
-                <td>$model.classCount</td>
-            </tr>
-            <tr>
-                <td>Tests</td>
-                <td>$model.count</td>
-            </tr>
-            <tr>
-                <td>Passed</td>
-                <td>$model.passCount</td>
-            </tr>
-            <tr>
-                <td>Failed</td>
-                <td>$model.failureCount</td>
-            </tr>
-            <tr>
-                <td>Errors</td>
-                <td>$model.errorCount</td>
-            </tr>
-            <tr>
-                <td>Success Rate</td>
-                <td align="center" width="210">#barGraph($model.successRateAsInteger)</td>
+                <td class="summaryTableKeyCell">Success Rate</td>
+                <td class="summaryTableValueCell">#barGraph($model.successRateAsInteger)</td>
             </tr>
             
             ##
             ## TODO: Start/end timestamp
             ##
             
-            <tr>
-                <td>Duration</td>
-                <td>$model.duration</td>
-            </tr>
+            #summaryRow('Duration' $model.duration)
         </tbody>
     </table>
     
@@ -82,12 +64,13 @@
     ## TODO: More details on the CTS assembly (and the G assembly its built on)
     ##
     
-    <table>
+    <table class="summaryTable">
+        <colgroup>
+            <col/>
+            <col width="99%"><col>
+        </colgroup>
         <tbody>
-            <tr>
-                <td>Web Container</td>
-                <td>$model.webContainer</td>
-            </tr>
+            #summaryRow('Web Container' $model.webContainer)
         </tbody>
     </table>
 

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=506107&r1=506106&r2=506107
==============================================================================
--- 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
Sun Feb 11 11:51:11 2007
@@ -29,6 +29,11 @@
     <h2>Packages</h2>
     
     <table>
+        <colgroup>
+            <col/>
+            <col width="99%"><col>
+        </colgroup>
+        
         #tableHeader(['', 'Package', 'Tests', 'Success Rate', 'Duration'])
         
         <tbody>

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=506107&r1=506106&r2=506107
==============================================================================
--- 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
Sun Feb 11 11:51:11 2007
@@ -35,6 +35,11 @@
     <h3>Classes</h3>
     
     <table>
+        <colgroup>
+            <col/>
+            <col width="99%"><col>
+        </colgroup>
+        
         #tableHeader(['', 'Class', 'Tests', 'Success Rate', 'Duration'])
         
         <tbody>
@@ -48,6 +53,11 @@
     <h3>Tests</h3>
     
     <table>
+        <colgroup>
+            <col/>
+            <col width="99%"><col>
+        </colgroup>
+        
         #tableHeader(['', 'Test', 'Status', 'Duration'])
         
         <tbody>

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/testcase-detail.vm
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/testcase-detail.vm?view=diff&rev=506107&r1=506106&r2=506107
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/testcase-detail.vm
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/testcase-detail.vm
Sun Feb 11 11:51:11 2007
@@ -30,60 +30,37 @@
     
     <h3>Summary</h3>
     
-    <table>
+    <table class="summaryTable">
+        <colgroup>
+            <col/>
+            <col width="99%"><col>
+        </colgroup>
+        
         <tbody>
+            #summaryRow('Name' $model.displayName)
+            #summaryRow('Iteration' "<a href='$baseURI/$model.iteration.href'>$model.iteration.displayName</a>")
             <tr>
-                <td>Name</td>
-                <td>$model.displayName</td>
-            </tr>
-            <tr>
-                <td>Iteration</td>
-                <td><a href="$baseURI/$model.iteration.href">$model.iteration.displayName</a></td>
-            </tr>
-            <tr>
-                <td>Result File</td>
-                <td>
+                <td class="summaryTableKeyCell">Result File</td>
+                <td class="summaryTableValueCell">
                     $testCase.resultFilePath
                     #if ($testCase.syntheticNames)
                         #warning("Synthetic names were created due to inconsistencies with
the result data. Original test name: <tt>$testCase.originalName</tt>")
                     #end
                 </td>
             </tr>
+            #summaryRow('Class' $model.className)
+            #summaryRow('Test' $model.testName)
+            #summaryRow('Started' $model.started)
+            #summaryRow('Ended' $model.ended)
+            #summaryRow('Duration' $model.duration)
             <tr>
-                <td>Class</td>
-                <td>$model.className</td>
-            </tr>
-            <tr>
-                <td>Test</td>
-                <td>$model.testName</td>
-            </tr>
-            <tr>
-                <td>Started</td>
-                <td>$model.started</td>
-            </tr>
-            <tr>
-                <td>Ended</td>
-                <td>$model.ended</td>
-            </tr>
-            <tr>
-                <td>Duration</td>
-                <td>$model.duration</td>
-            </tr>
-            
-            <tr>
-                <td>Status</td>
-                <td>#testStatus($testCase)</td>
-            </tr>
-            <tr>
-                <td>Passed</td>
-                <td>$testCase.status.passed</td>
+                <td class="summaryTableKeyCell">Status</td>
+                <td class="summaryTableValueCell">#testStatus($testCase)</td>
             </tr>
+            #summaryRow('Passed' $testCase.status.passed)
             
             #if (!$testCase.status.passed)
-                <tr>
-                    <td>Failure Reason</td>
-                    <td>$testCase.status.reason</td>
-                </tr>
+                #summaryRow('Failure Reason' $testCase.status.reason)
             #end
         </tbody>
     </table>



Mime
View raw message