From 540b893a79abdd3039ccaa074164db359e2c74e5 Mon Sep 17 00:00:00 2001
From: david_williams <david_williams>
Date: Mon, 11 Aug 2008 04:23:27 +0000
Subject: [PATCH] summarize times

---
 .../eclipse/wtp/releng/tools/ResultsSummaryGenerator.java   | 4 ++--
 .../incubator.site/templateFiles/testResults.php.template   | 6 +++---
 .../wtp.site/templateFiles/testResults.php.template         | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/plugins/org.eclipse.wtp.releng.tools/src/org/eclipse/wtp/releng/tools/ResultsSummaryGenerator.java b/plugins/org.eclipse.wtp.releng.tools/src/org/eclipse/wtp/releng/tools/ResultsSummaryGenerator.java
index 5cc6c980a..eaf5092fc 100644
--- a/plugins/org.eclipse.wtp.releng.tools/src/org/eclipse/wtp/releng/tools/ResultsSummaryGenerator.java
+++ b/plugins/org.eclipse.wtp.releng.tools/src/org/eclipse/wtp/releng/tools/ResultsSummaryGenerator.java
@@ -706,8 +706,8 @@ public class ResultsSummaryGenerator extends Task {
 						grandTotalTests = grandTotalTests + unitTestResults.getTotalTests();
 					}
 					
-					if (unitTestResults.getTotalTime() > 0) {
-						grandTotalTime = grandTotalTime + unitTestResults.getTotalTime();
+					if (unitTestResults.getTime() > 0) {
+						grandTotalTime = grandTotalTime + unitTestResults.getTime();
 					}
 
 				}
diff --git a/releng.wtpbuilder/distribution/incubator.site/templateFiles/testResults.php.template b/releng.wtpbuilder/distribution/incubator.site/templateFiles/testResults.php.template
index c3d03b0ea..ddad0b782 100644
--- a/releng.wtpbuilder/distribution/incubator.site/templateFiles/testResults.php.template
+++ b/releng.wtpbuilder/distribution/incubator.site/templateFiles/testResults.php.template
@@ -90,9 +90,9 @@ while ($anEntry = $dir->read())
 <table id=tableunittestdata align = "center" width="75%" border="1">
   <tr> 
     <td class="bold" align="center" width="70%">Test Suite</td>
-    <td class="bold" align="center" width="15%">Errors &amp; Failures</td>
-    <td class="bold" align="center" width="15%">Total Tests</td>
-    <td class="bold" align="center" width="15%">Total Time</td>
+    <td class="bold" align="center" width="10%">Errors &amp; Failures</td>
+    <td class="bold" align="center" width="10%">Total Tests</td>
+    <td class="bold" align="center" width="10%">Total Time (s)</td>
   </tr>
   
   
diff --git a/releng.wtpbuilder/distribution/wtp.site/templateFiles/testResults.php.template b/releng.wtpbuilder/distribution/wtp.site/templateFiles/testResults.php.template
index c3d03b0ea..99c9c9aaf 100644
--- a/releng.wtpbuilder/distribution/wtp.site/templateFiles/testResults.php.template
+++ b/releng.wtpbuilder/distribution/wtp.site/templateFiles/testResults.php.template
@@ -92,7 +92,7 @@ while ($anEntry = $dir->read())
     <td class="bold" align="center" width="70%">Test Suite</td>
     <td class="bold" align="center" width="15%">Errors &amp; Failures</td>
     <td class="bold" align="center" width="15%">Total Tests</td>
-    <td class="bold" align="center" width="15%">Total Time</td>
+    <td class="bold" align="center" width="15%">Total Time (s)</td>
   </tr>
   
   
-- 
GitLab