continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r441030 - /maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/buildcontroller/BuildProjectTaskExecutorTest.java
Date Thu, 07 Sep 2006 08:57:08 GMT
Author: evenisse
Date: Thu Sep  7 01:57:08 2006
New Revision: 441030

URL: http://svn.apache.org/viewvc?view=rev&rev=441030
Log:
Fix tests on windows.

Modified:
    maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/buildcontroller/BuildProjectTaskExecutorTest.java

Modified: maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/buildcontroller/BuildProjectTaskExecutorTest.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/buildcontroller/BuildProjectTaskExecutorTest.java?view=diff&rev=441030&r1=441029&r2=441030
==============================================================================
--- maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/buildcontroller/BuildProjectTaskExecutorTest.java
(original)
+++ maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/buildcontroller/BuildProjectTaskExecutorTest.java
Thu Sep  7 01:57:08 2006
@@ -31,6 +31,7 @@
 import org.codehaus.plexus.taskqueue.Task;
 import org.codehaus.plexus.taskqueue.TaskQueue;
 import org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor;
+import org.codehaus.plexus.util.FileUtils;
 
 import java.io.File;
 import java.io.IOException;
@@ -174,8 +175,8 @@
     {
         BuildProjectTask task = createTask( maxRunTime );
 
-        getTestFile( "src/test-projects/timeout/target/TEST-STARTED" ).delete();
-        getTestFile( "src/test-projects/timeout/target/TEST-COMPLETED" ).delete();
+        FileUtils.forceDelete( getTestFile( "src/test-projects/timeout/target/TEST-STARTED"
) );
+        FileUtils.forceDelete( getTestFile( "src/test-projects/timeout/target/TEST-COMPLETED"
) );
 
         System.err.println( "Queueing build" );
 



Mime
View raw message