geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r505553 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/model/GroupModel.groovy
Date Fri, 09 Feb 2007 23:31:57 GMT
Author: jdillon
Date: Fri Feb  9 15:31:56 2007
New Revision: 505553

URL: http://svn.apache.org/viewvc?view=rev&rev=505553
Log:
Only increment time if is non-negative, which it will be if test was ERROR

Modified:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/model/GroupModel.groovy

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=505553&r1=505552&r2=505553
==============================================================================
--- 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 15:31:56 2007
@@ -177,7 +177,9 @@
         else if (testCase.status.error) {
             errorCount++
         }
-        time += testCase.time
+        if (testCase.time > 0) {
+            time += testCase.time
+        }
         
         // Fire our registered listeners
         fireTestCaseAdded(testCase)



Mime
View raw message