You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kr...@apache.org on 2012/12/20 06:34:10 UTC

git commit: o Removed inadvertent soutv that actually broke IT's

Updated Branches:
  refs/heads/master e7a18cb2c -> 71f44f611


o Removed inadvertent soutv that actually broke IT's

This is a clear disadvantage of working with a 1.2Ghz laptop under a tropical
palm tree; running IT's prior to commits tends to be given a lower priority.

If I had a drink while running tests this would probably further impair
code quality, so this tradeoff is not entirely clear-cut


Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/71f44f61
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/71f44f61
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/71f44f61

Branch: refs/heads/master
Commit: 71f44f611fc314742adc8f377d1226607c946ad8
Parents: e7a18cb
Author: Kristian Rosenvold <kr...@apache.org>
Authored: Thu Dec 20 06:33:30 2012 +0100
Committer: Kristian Rosenvold <kr...@apache.org>
Committed: Thu Dec 20 06:33:30 2012 +0100

----------------------------------------------------------------------
 .../surefire/report/ConsoleOutputCapture.java      |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/71f44f61/surefire-api/src/main/java/org/apache/maven/surefire/report/ConsoleOutputCapture.java
----------------------------------------------------------------------
diff --git a/surefire-api/src/main/java/org/apache/maven/surefire/report/ConsoleOutputCapture.java b/surefire-api/src/main/java/org/apache/maven/surefire/report/ConsoleOutputCapture.java
index 342fee9..c7c6069 100644
--- a/surefire-api/src/main/java/org/apache/maven/surefire/report/ConsoleOutputCapture.java
+++ b/surefire-api/src/main/java/org/apache/maven/surefire/report/ConsoleOutputCapture.java
@@ -53,7 +53,8 @@ public class ConsoleOutputCapture
 
         public void write( byte[] buf, int off, int len )
         {
-            System.out.println( "buf = " + buf );
+            // Note: At this point the supplied "buf" instance is reused, which means
+            // data must be copied out of the buffer
             target.writeTestOutput( buf, off, len, isStdout );
         }