maven-surefire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krosenv...@apache.org
Subject svn commit: r1053148 - /maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/ForkConsoleOutputIT.java
Date Mon, 27 Dec 2010 19:18:59 GMT
Author: krosenvold
Date: Mon Dec 27 19:18:58 2010
New Revision: 1053148

URL: http://svn.apache.org/viewvc?rev=1053148&view=rev
Log:
o Take 3 at fixing test

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

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=1053148&r1=1053147&r2=1053148&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
Mon Dec 27 19:18:58 2010
@@ -41,7 +41,8 @@ public class ForkConsoleOutputIT
         redirectToFile( true );
         printSummary( true );
 
-        execute( "clean test" );
+        addGoal( "clean" );
+        execute( "test" );
         assertPresent( getSurefireReportsFile( "forkConsoleOutput.Test1-output.txt" ) );
     }
 
@@ -51,7 +52,8 @@ public class ForkConsoleOutputIT
         redirectToFile( false );
         printSummary( true );
 
-        execute( "clean test" );
+        addGoal( "clean" );
+        execute( "test" );
         assertNotPresent( getSurefireReportsFile( "forkConsoleOutput.Test1-output.txt" )
);
     }
 
@@ -61,7 +63,8 @@ public class ForkConsoleOutputIT
         redirectToFile( true );
         printSummary( false );
 
-        execute( "clean test" );
+        addGoal( "clean" );
+        execute( "test" );
         assertPresent( getSurefireReportsFile( "forkConsoleOutput.Test1-output.txt" ) );
     }
 
@@ -71,7 +74,8 @@ public class ForkConsoleOutputIT
         redirectToFile( false );
         printSummary( false );
 
-        execute( "clean test" );
+        addGoal( "clean" );
+        execute( "test" );
         assertNotPresent( getSurefireReportsFile( "forkConsoleOutput.Test1-output.txt" )
);
     }
 



Mime
View raw message