hivemind-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject svn commit: r233198 - in /jakarta/hivemind/trunk/hivebuild: hivedoc-report.properties hivedoc-report.xml report-artifacts/junit-report.xsl
Date Wed, 17 Aug 2005 17:04:05 GMT
Author: hlship
Date: Wed Aug 17 10:04:00 2005
New Revision: 233198

URL: http://svn.apache.org/viewcvs?rev=233198&view=rev
Log:
Fix the formatting of elapsed times in the junit report.

Modified:
    jakarta/hivemind/trunk/hivebuild/hivedoc-report.properties
    jakarta/hivemind/trunk/hivebuild/hivedoc-report.xml
    jakarta/hivemind/trunk/hivebuild/report-artifacts/junit-report.xsl

Modified: jakarta/hivemind/trunk/hivebuild/hivedoc-report.properties
URL: http://svn.apache.org/viewcvs/jakarta/hivemind/trunk/hivebuild/hivedoc-report.properties?rev=233198&r1=233197&r2=233198&view=diff
==============================================================================
--- jakarta/hivemind/trunk/hivebuild/hivedoc-report.properties (original)
+++ jakarta/hivemind/trunk/hivebuild/hivedoc-report.properties Wed Aug 17 10:04:00 2005
@@ -12,7 +12,8 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-hivedoc.registry.file=${target.dir}/registry.xml
+hivedoc.registry.dir=${target.dir}
+hivedoc.registry.file=${hivedoc.registry.dir}/registry.xml
 
 # Directory containing additional assets needed by the generated HTML files; this
 # consists of images and stylesheets.

Modified: jakarta/hivemind/trunk/hivebuild/hivedoc-report.xml
URL: http://svn.apache.org/viewcvs/jakarta/hivemind/trunk/hivebuild/hivedoc-report.xml?rev=233198&r1=233197&r2=233198&view=diff
==============================================================================
--- jakarta/hivemind/trunk/hivebuild/hivedoc-report.xml (original)
+++ jakarta/hivemind/trunk/hivebuild/hivedoc-report.xml Wed Aug 17 10:04:00 2005
@@ -56,6 +56,8 @@
 				<classpath refid="@{taskdef-path-id}"/>	
 			</taskdef>
 
+      <mkdir dir="${hivedoc.registry.dir}"/>
+      
 			<constructregistry output="${hivedoc.registry.file}">
 				<descriptors refid="@{doc-path-id}"/>	
 			</constructregistry>

Modified: jakarta/hivemind/trunk/hivebuild/report-artifacts/junit-report.xsl
URL: http://svn.apache.org/viewcvs/jakarta/hivemind/trunk/hivebuild/report-artifacts/junit-report.xsl?rev=233198&r1=233197&r2=233198&view=diff
==============================================================================
--- jakarta/hivemind/trunk/hivebuild/report-artifacts/junit-report.xsl (original)
+++ jakarta/hivemind/trunk/hivebuild/report-artifacts/junit-report.xsl Wed Aug 17 10:04:00
2005
@@ -49,7 +49,7 @@
               </td>
               <td>
                 <strong>
-                  <xsl:value-of select="sum(//testsuite/@time)"/>
+                  <xsl:value-of select="format-number(sum(//testsuite/@time), '#0.00')"/>
                 </strong>
               </td>
             </tr>
@@ -80,7 +80,7 @@
         <xsl:value-of select="@tests"/>
       </td>
       <td>
-        <xsl:value-of select="@time"/>
+        <xsl:value-of select="format-number(@time, '#0.00')"/>
       </td>
     </tr>
   </xsl:template>
@@ -96,7 +96,7 @@
         <xsl:value-of select="@name"/>
       </td>
       <td>
-        <xsl:value-of select="@time"/>
+        <xsl:value-of select="format-number(@time, '#0.00')"/>
       </td>
     </tr>
   </xsl:template>



---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-cvs-help@jakarta.apache.org


Mime
View raw message