maven-surefire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krosenv...@apache.org
Subject svn commit: r1053356 - in /maven/surefire/trunk: surefire-booter/src/main/java/org/apache/maven/surefire/booter/SystemPropertyManager.java surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/ForkConsoleOutputIT.java
Date Tue, 28 Dec 2010 14:32:47 GMT
Author: krosenvold
Date: Tue Dec 28 14:32:47 2010
New Revision: 1053356

URL: http://svn.apache.org/viewvc?rev=1053356&view=rev
Log:
o Fixed logging

Modified:
    maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/SystemPropertyManager.java
    maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/ForkConsoleOutputIT.java

Modified: maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/SystemPropertyManager.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/SystemPropertyManager.java?rev=1053356&r1=1053355&r2=1053356&view=diff
==============================================================================
--- maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/SystemPropertyManager.java
(original)
+++ maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/SystemPropertyManager.java
Tue Dec 28 14:32:47 2010
@@ -71,11 +71,11 @@ public class SystemPropertyManager
     }
 
     public static File writePropertiesFile( Properties properties, File tempDirectory, String
name,
-                                            boolean deleteOnExit )
+                                            boolean isDebug )
         throws IOException
     {
         File file = File.createTempFile( name, "tmp", tempDirectory );
-        if ( deleteOnExit )
+        if ( !isDebug )
         {
             file.deleteOnExit();
         }

Modified: maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/ForkConsoleOutputIT.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/ForkConsoleOutputIT.java?rev=1053356&r1=1053355&r2=1053356&view=diff
==============================================================================
--- maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/ForkConsoleOutputIT.java
(original)
+++ maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/ForkConsoleOutputIT.java
Tue Dec 28 14:32:47 2010
@@ -41,7 +41,6 @@ public class ForkConsoleOutputIT
         redirectToFile( true );
         printSummary( true );
 
-        addGoal( "clean" );
         execute( "test" );
         assertPresent( getSurefireReportsFile( "forkConsoleOutput.Test1-output.txt" ) );
     }
@@ -52,7 +51,6 @@ public class ForkConsoleOutputIT
         redirectToFile( false );
         printSummary( true );
 
-        addGoal( "clean" );
         execute( "test" );
         assertNotPresent( getSurefireReportsFile( "forkConsoleOutput.Test1-output.txt" )
);
     }
@@ -65,7 +63,6 @@ public class ForkConsoleOutputIT
         debugLogging();
         showErrorStackTraces();
 
-        addGoal( "clean" );
         execute( "test" );
         assertPresent( getSurefireReportsFile( "forkConsoleOutput.Test1-output.txt" ) );
     }
@@ -76,7 +73,6 @@ public class ForkConsoleOutputIT
         redirectToFile( false );
         printSummary( false );
 
-        addGoal( "clean" );
         execute( "test" );
         assertNotPresent( getSurefireReportsFile( "forkConsoleOutput.Test1-output.txt" )
);
     }



Mime
View raw message