continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r376420 - /maven/continuum/branches/continuum-1.0.x/continuum-core-it/src/test/java/org/apache/maven/continuum/it/AbstractIntegrationTest.java
Date Thu, 09 Feb 2006 20:20:56 GMT
Author: evenisse
Date: Thu Feb  9 12:20:54 2006
New Revision: 376420

URL: http://svn.apache.org/viewcvs?rev=376420&view=rev
Log:
Test if temp directory is deleted before to start the test

Modified:
    maven/continuum/branches/continuum-1.0.x/continuum-core-it/src/test/java/org/apache/maven/continuum/it/AbstractIntegrationTest.java

Modified: maven/continuum/branches/continuum-1.0.x/continuum-core-it/src/test/java/org/apache/maven/continuum/it/AbstractIntegrationTest.java
URL: http://svn.apache.org/viewcvs/maven/continuum/branches/continuum-1.0.x/continuum-core-it/src/test/java/org/apache/maven/continuum/it/AbstractIntegrationTest.java?rev=376420&r1=376419&r2=376420&view=diff
==============================================================================
--- maven/continuum/branches/continuum-1.0.x/continuum-core-it/src/test/java/org/apache/maven/continuum/it/AbstractIntegrationTest.java
(original)
+++ maven/continuum/branches/continuum-1.0.x/continuum-core-it/src/test/java/org/apache/maven/continuum/it/AbstractIntegrationTest.java
Thu Feb  9 12:20:54 2006
@@ -334,7 +334,9 @@
             FileUtils.deleteDirectory( directory );
         }
 
-        assertTrue( "Could not make directory " + directory, directory.mkdirs() );
+        assertFalse( "Could not delete directory " + directory.getAbsolutePath(), directory.exists()
);
+
+        assertTrue( "Could not make directory " + directory.getAbsolutePath(), directory.mkdirs()
);
     }
 
     public static void cleanDirectory( String directory )



Mime
View raw message