geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r502431 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/TestResult.groovy
Date Fri, 02 Feb 2007 01:26:52 GMT
Author: jdillon
Date: Thu Feb  1 17:26:51 2007
New Revision: 502431

URL: http://svn.apache.org/viewvc?view=rev&rev=502431
Log:
Use the given names for these fields based on their titles

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

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/TestResult.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/TestResult.groovy?view=diff&rev=502431&r1=502430&r2=502431
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/TestResult.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/TestResult.groovy
Thu Feb  1 17:26:51 2007
@@ -26,7 +26,9 @@
 import gbuild.system.LogSupport
 
 /**
- * Represents a JavaTest test result (the stuff in those .jtr files)
+ * Represents a JavaTest test result (the stuff in those .jtr files).
+ *
+ * This only handles version 2 jtr files.
  */
 class TestResult extends LogSupport
 {
@@ -34,11 +36,11 @@
     
     String checksum
     
-    Map desc
+    Map testdescription
     
-    Map env
+    Map environment
     
-    Map props
+    Map testresult
     
     Map sections
     
@@ -170,7 +172,7 @@
             
             def sections = new LinkedHashMap()
             
-            props['sections'].tokenize().each { name ->
+            testresult['sections'].tokenize().each { name ->
                 def section = loadSection(name)
                 sections[name] = section
             }
@@ -183,11 +185,11 @@
             
             checksum = scan('#checksum:').tokenize(':')[1]
             
-            desc = loadProperties('testdescription')
+            testdescription = loadProperties('testdescription')
             
-            env = loadProperties('environment')
+            environment = loadProperties('environment')
             
-            props = loadProperties('testresult')
+            testresult = loadProperties('testresult')
             
             sections = loadSections()
             



Mime
View raw message