reports/Builder__TestReportFormat.st
changeset 242 d9479f1e61fa
parent 235 3769ae14139a
child 248 82f1ff8c96a6
--- a/reports/Builder__TestReportFormat.st	Mon Jun 16 12:24:42 2014 +0200
+++ b/reports/Builder__TestReportFormat.st	Mon Jun 16 12:24:47 2014 +0200
@@ -333,11 +333,13 @@
                 nextPut:Character lf
         ].
     ].
-    outcome collectedOutput notEmptyOrNil ifTrue:[
+    report keepStdout ifTrue:[
+        outcome collectedOutput notEmptyOrNil ifTrue:[
             stream nextPutAll:'    <system-out><!![CDATA['; cr.
             self writeCDATA: outcome collectedOutput.
             stream nextPutAll:']]> </system-out>'; cr.
         ].   
+    ].
 
     stream tab; 
             nextPutAll: '</testcase>'; cr.
@@ -346,7 +348,7 @@
     stream flush
 
     "Created: / 03-08-2011 / 19:42:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified: / 06-06-2014 / 01:03:47 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 16-06-2014 / 11:07:36 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !TestReportFormat::JUnit methodsFor:'writing - utilities'!