geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r504043 - in /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report: ./ resources/ resources/boilerplate/ resources/boilerplate/images/
Date Tue, 06 Feb 2007 08:52:04 GMT
Author: jdillon
Date: Tue Feb  6 00:52:02 2007
New Revision: 504043

URL: http://svn.apache.org/viewvc?view=rev&rev=504043
Log:
Hooked up primative javadoc-like style report bits

Added:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/all-packages-frame.tmpl
  (with props)
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/images/
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/index.html
  (with props)
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/stylesheet.css
  (with props)
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-packages-frame.tmpl
  (with props)
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iterations-frame.tmpl
  (with props)
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/iteration-detail.tmpl
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-overview.tmpl
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-overview.tmpl
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-summary.tmpl
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/testcase-detail.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=504043&r1=504042&r2=504043
==============================================================================
--- 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
Tue Feb  6 00:52:02 2007
@@ -181,16 +181,32 @@
                 template.render(file)
             }
             
-            // Render iteration details
-            log.info "Rendering iteration summary: $iteration"
-            def template = engine.getTemplate('iteration-detail.tmpl')
-            template.params.stats = stats
-            template.params.props = props
-            template.params.iteration = iteration
+            def renderIterationSummary = {
+                log.info "Rendering iteration summary: $iteration"
+                def template = engine.getTemplate('iteration-detail.tmpl')
+                template.params.stats = stats
+                template.params.props = props
+                template.params.iteration = iteration
+                
+                def file = new File(targetDir, "iteration-${iteration}.html")
+                ant.mkdir(dir: file.parentFile)
+                template.render(file)
+            }
             
-            def file = new File(targetDir, "iteration-${iteration}.html")
-            ant.mkdir(dir: file.parentFile)
-            template.render(file)
+            def renderIterationPackagesFrame = {
+                log.info "Rendering iteration packages frame: $iteration"
+                def template = engine.getTemplate('iteration-packages-frame.tmpl')
+                template.params.stats = stats
+                template.params.iteration = iteration
+                
+                def file = new File(targetDir, "iteration-${iteration}-packages-frame.html")
+                ant.mkdir(dir: file.parentFile)
+                template.render(file)
+            }
+            
+            renderIterationSummary()
+            
+            renderIterationPackagesFrame()
             
             // Save stats for overview
             allStats.add(iteration, stats)
@@ -200,7 +216,6 @@
             ant.delete(dir: workDir)
         }
         
-        // Render iteration overview
         def renderIterationOverview = {
             log.info "Rendering iteration overview"
             
@@ -210,9 +225,15 @@
             template.render(file)
         }
         
-        renderIterationOverview()
+        def renderIterationFrame = {
+            log.info "Rendering iteration frame"
+            
+            def template = engine.getTemplate('iterations-frame.tmpl')
+            template.params.allStats = allStats
+            def file = new File(targetDir, 'iterations-frame.html')
+            template.render(file)
+        }
         
-        // Render package overview
         def renderPackageOverview = {
             log.info "Rendering package overview"
             
@@ -222,17 +243,38 @@
             template.render(file)
         }
         
-        renderPackageOverview()
+        def renderAllPackagesFrame = {
+            log.info "Rendering all packages frame"
+            
+            def template = engine.getTemplate('all-packages-frame.tmpl')
+            template.params.allStats = allStats
+            def file = new File(targetDir, 'all-packages-frame.html')
+            template.render(file)
+        }
         
-        // Install boilerplate resources
-        def url = getClass().classLoader.getResource('gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate')
-        assert url != null
-        assert url.protocol == 'file'
-        
-        ant.copy(todir: targetDir) {
-            fileset(dir: url.path) {
-                include(name: '**')
+        def installBoilerplate = {
+            log.info "Installing boilerplate"
+            
+            // Install boilerplate resources
+            def url = getClass().classLoader.getResource('gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate')
+            assert url != null
+            assert url.protocol == 'file'
+            
+            ant.copy(todir: targetDir) {
+                fileset(dir: url.path) {
+                    include(name: '**')
+                }
             }
         }
+        
+        renderIterationOverview()
+        
+        renderIterationFrame()
+        
+        renderPackageOverview()
+        
+        renderAllPackagesFrame()
+        
+        installBoilerplate()
     }
 }

Added: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/all-packages-frame.tmpl
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/all-packages-frame.tmpl?view=auto&rev=504043
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/all-packages-frame.tmpl
(added)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/all-packages-frame.tmpl
Tue Feb  6 00:52:02 2007
@@ -0,0 +1,44 @@
+<%
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+//
+// $Id$
+//
+
+def sorter = { String a, String b ->
+    return a.toLowerCase() <=> b.toLowerCase()
+}
+
+%>
+<html>
+<head>
+    <title>All Packages</title>
+    <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style"/>
+</head>
+<body>
+    <h3>All Packages</h3>
+    
+    <ul>
+        <% allStats.packageNames.sort(sorter).each { packageName -> %>
+        <li><a href="${packageName.replace('.','/')}/index.html" target="detailFrame">$packageName</a></li>
+        <% } %>
+    </ul>
+</body>
+</html>

Propchange: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/all-packages-frame.tmpl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/all-packages-frame.tmpl
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/all-packages-frame.tmpl
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/index.html
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/index.html?view=auto&rev=504043
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/index.html
(added)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/index.html
Tue Feb  6 00:52:02 2007
@@ -0,0 +1,46 @@
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+     http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<!-- $Id -->
+
+<html>
+<head>
+    <title>TCK Testsuite Report</title>
+    <script type="text/javascript">
+    targetPage = "" + window.location.search
+    if (targetPage != "" && targetPage != "undefined") {
+       targetPage = targetPage.substring(1)
+    }
+    function loadFrames() {
+        if (targetPage != "" && targetPage != "undefined") {
+             top.classFrame.location = top.targetPage
+        }
+    }
+    </script>
+<head>
+
+<frameset cols="20%,80%" title="" onLoad="top.loadFrames()">
+    <frameset rows="20%,80%" title="" onLoad="top.loadFrames()">
+        <frame src="iterations-frame.html" name="iterationListFrame" title="Iterations">
+        <frame src="all-packages-frame.html" name="packageFrame" title="Packages">
+    </frameset>
+    <frame src="package-overview.html" name="detailFrame" title="Details" scrolling="yes">
+</frameset>
+</html>
+

Propchange: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/index.html
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/index.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: 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=auto&rev=504043
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/stylesheet.css
(added)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/stylesheet.css
Tue Feb  6 00:52:02 2007
@@ -0,0 +1,116 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/*
+ * $Id$
+ */
+
+body {
+	background-color: #fff;
+	font-family: Arial, Helvetica, sans-serif;
+}
+
+a:link {
+ color: #00f;
+}
+a:visited {
+ color: #00a;
+}
+
+a:active, a:hover {
+ color: #f30 !important;
+}
+
+ul, li	{
+	list-style-type:none ;
+	margin:0;
+	padding:0;
+}
+
+table td{
+	padding: 3px;
+	border: 1px solid #000;
+}
+table{
+	width:100%;
+	border: 1px solid #000;
+	border-collapse: collapse;
+}
+
+div.overview {
+	background-color:#ddd;
+	padding: 4px 4px 4px 0;
+}
+div.overview li, div.framenoframe li {
+	display: inline;
+}
+div.framenoframe {
+	text-align: center;
+	font-size: x-small;
+}
+div.framenoframe li {
+	margin: 0 3px 0 3px;
+}
+div.overview li {
+	margin:3px 3px 0 3px;
+	padding: 4px;
+}
+li.selected {
+	background-color:#888;
+	color: #fff;
+	font-weight: bold;
+}
+
+table.summary {
+	margin-bottom: 20px;
+}
+table.summary td, table.summary th {
+	font-weight: bold;
+	text-align: left;
+	padding: 3px;
+}
+table.summary th{
+	background-color:#036;
+	color: #fff;
+}
+table.summary td{
+	background-color:#eee;
+	border: 1px solid black;
+}
+
+em {
+	color: #A00;
+}
+em.comment {
+	color: #390;
+}
+.string {
+	color: #009;
+}
+div#footer {
+	text-align:center;
+}
+#overview {
+	padding:2px;
+}
+
+hr {
+	height: 1px;
+	color: #000;
+}

Propchange: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/stylesheet.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/stylesheet.css
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/boilerplate/stylesheet.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

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=504043&r1=504042&r2=504043
==============================================================================
--- 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
Tue Feb  6 00:52:02 2007
@@ -25,6 +25,7 @@
 <html>
 <head>
     <title>$className</title>
+    <link rel="stylesheet" type="text/css" href="${'../' * className.count('.')}../stylesheet.css"
title="style"/>
 </head>
 <body>
     <div>

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-detail.tmpl
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-detail.tmpl?view=diff&rev=504043&r1=504042&r2=504043
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-detail.tmpl
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-detail.tmpl
Tue Feb  6 00:52:02 2007
@@ -30,6 +30,7 @@
 <html>
 <head>
     <title>Iteration $iteration</title>
+    <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style"/>
 </head>
 <body>
     <div>

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-overview.tmpl
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-overview.tmpl?view=diff&rev=504043&r1=504042&r2=504043
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-overview.tmpl
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-overview.tmpl
Tue Feb  6 00:52:02 2007
@@ -29,23 +29,14 @@
 %>
 <html>
 <head>
-    <title>Iteration Overview</title>
+    <title>Iterations</title>
+    <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style"/>
 </head>
 <body>
     <div>
         <h1>Iterations</h1>
         
         <table>
-            <thead>
-                <tr>
-                    <th>Iteration</th>
-                    <th>Tests</th>
-                    <th>Failures</th>
-                    <th>Errors</th>
-                    <th>Success Rate</td>
-                    <th>Duration</td>
-                </tr>
-            </thead>
             <tbody>
                 <% allStats.byIteration.keySet().sort(sorter).each { iteration -> %>
                 <%

Added: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-packages-frame.tmpl
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-packages-frame.tmpl?view=auto&rev=504043
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-packages-frame.tmpl
(added)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-packages-frame.tmpl
Tue Feb  6 00:52:02 2007
@@ -0,0 +1,46 @@
+<%
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+//
+// $Id$
+//
+
+def sorter = { String a, String b ->
+    return a.toLowerCase() <=> b.toLowerCase()
+}
+
+%>
+<html>
+<head>
+    <title>Iteration $iteration Packages</title>
+    <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style"/>
+</head>
+<body>
+    <div>
+        <h3><a href="iteration-${iteration}.html" target="detailFrame">Iteration
$iteration</a></h3>
+        
+        <ul>
+            <% stats.packageNames.sort(sorter).each { packageName -> %>
+            <li><a href="${packageName.replace('.', '/')}/index.html" target="detailFrame">$packageName</a></li>
+            <% } %>
+        </ul>
+    </div>
+</body>
+</html>

Propchange: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-packages-frame.tmpl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-packages-frame.tmpl
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iteration-packages-frame.tmpl
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iterations-frame.tmpl
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iterations-frame.tmpl?view=auto&rev=504043
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iterations-frame.tmpl
(added)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iterations-frame.tmpl
Tue Feb  6 00:52:02 2007
@@ -0,0 +1,46 @@
+<%
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+//
+// $Id$
+//
+
+def sorter = { String a, String b ->
+    return a.toInteger() <=> b.toInteger()
+}
+
+%>
+<html>
+<head>
+    <title>Iterations Overview</title>
+    <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style"/>
+</head>
+<body>
+    <div>
+        <h3>Iterations</h3>
+        
+        <ul>
+            <% allStats.byIteration.keySet().sort(sorter).each { iteration -> %>
+                <li><a href="iteration-${iteration}-packages-frame.html" target="packageFrame">$iteration</li>
+            <% } %>
+        </ul>
+    </div>
+</body>
+</html>

Propchange: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iterations-frame.tmpl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iterations-frame.tmpl
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/iterations-frame.tmpl
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-overview.tmpl
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-overview.tmpl?view=diff&rev=504043&r1=504042&r2=504043
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-overview.tmpl
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/package-overview.tmpl
Tue Feb  6 00:52:02 2007
@@ -30,6 +30,7 @@
 <html>
 <head>
     <title>Package Overview</title>
+    <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style"/>
 </head>
 <body>
     <div>
@@ -50,10 +51,9 @@
                 <% allStats.packageNames.sort(sorter).each { packageName -> %>
                 <%
                 def packageSummary = allStats.getPackageSummary(packageName)
-                def href = packageName.replace('.', '/') + '/index.html'
                 %>
                 <tr>
-                    <td><a href="$href">$packageName</a></td>
+                    <td><a href="${packageName.replace('.', '/')}/index.html">$packageName</a></td>
                     <td>$packageSummary.count</td>
                     <td>$packageSummary.failureCount</td>
                     <td>$packageSummary.errorCount</td>

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=504043&r1=504042&r2=504043
==============================================================================
--- 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
Tue Feb  6 00:52:02 2007
@@ -25,6 +25,7 @@
 <html>
 <head>
     <title>$packageName</title>
+    <link rel="stylesheet" type="text/css" href="${'../' * packageName.count('.')}../stylesheet.css"
title="style"/>
 </head>
 <body>
     <div>

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/testcase-detail.tmpl
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/testcase-detail.tmpl?view=diff&rev=504043&r1=504042&r2=504043
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/testcase-detail.tmpl
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/resources/testcase-detail.tmpl
Tue Feb  6 00:52:02 2007
@@ -25,6 +25,7 @@
 <html>
 <head>
     <title>$testCase.name</title>
+    <link rel="stylesheet" type="text/css" href="${'../' * testCase.className.count('.')}../stylesheet.css"
title="style"/>
 </head>
 <body>
     <div class="testcase">
@@ -32,8 +33,6 @@
         
         <!-- TODO: Include links to iteration -->
         
-        <!-- TODO: Include links to anchors below for easy access -->
-        
         <div class="testcase-summary">
             <h2>Summary</h2>
             
@@ -126,8 +125,6 @@
             %>
         </div>
     </div>
-    
-    <!-- TODO: Add links to top of page -->
 
 </body>
 </html>



Mime
View raw message