geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r505929 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/model/SuiteModel.groovy
Date Sun, 11 Feb 2007 12:24:33 GMT
Author: jdillon
Date: Sun Feb 11 04:24:33 2007
New Revision: 505929

URL: http://svn.apache.org/viewvc?view=rev&rev=505929
Log:
Added getClasses(), changed counts to not be based off names, since names are going away soon
(mapped names that is)

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

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/model/SuiteModel.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/model/SuiteModel.groovy?view=diff&rev=505929&r1=505928&r2=505929
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/model/SuiteModel.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/model/SuiteModel.groovy
Sun Feb 11 04:24:33 2007
@@ -81,7 +81,17 @@
     }
     
     long getPackageCount() {
-        return packageNames.size()
+        return packages.size()
+    }
+    
+    Collection getClasses() {
+        def list = []
+        
+        packages.each { pkg ->
+            list.addAll(pkg.classes)
+        }
+        
+        return list.sort()
     }
     
     List getClassNames() {
@@ -89,7 +99,7 @@
     }
     
     long getClassCount() {
-        return classNames.size()
+        return classes.size()
     }
     
     Collection getTests() {
@@ -107,7 +117,7 @@
     }
     
     long getTestCount() {
-        return testNames.size()
+        return tests.size()
     }
     
     String getWebContainer() {



Mime
View raw message