You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by lc...@apache.org on 2011/02/10 18:08:52 UTC

svn commit: r1069506 - /incubator/npanday/trunk/components/dotnet-executable/src/test/java/npanday/executable/CommandExecutorTest.java

Author: lcorneliussen
Date: Thu Feb 10 18:08:51 2011
New Revision: 1069506

URL: http://svn.apache.org/viewvc?rev=1069506&view=rev
Log:
Test did not delete created directories, hence 'clean' was required every time before 'test'.

Modified:
    incubator/npanday/trunk/components/dotnet-executable/src/test/java/npanday/executable/CommandExecutorTest.java

Modified: incubator/npanday/trunk/components/dotnet-executable/src/test/java/npanday/executable/CommandExecutorTest.java
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/components/dotnet-executable/src/test/java/npanday/executable/CommandExecutorTest.java?rev=1069506&r1=1069505&r2=1069506&view=diff
==============================================================================
--- incubator/npanday/trunk/components/dotnet-executable/src/test/java/npanday/executable/CommandExecutorTest.java (original)
+++ incubator/npanday/trunk/components/dotnet-executable/src/test/java/npanday/executable/CommandExecutorTest.java Thu Feb 10 18:08:51 2011
@@ -58,6 +58,9 @@ public class CommandExecutorTest
             File dir = new File( path );
 
             assertTrue( dir.exists() );
+
+            if (dir.exists())
+                dir.delete();
         }
 
         @Test
@@ -73,6 +76,9 @@ public class CommandExecutorTest
             File dir = new File( path );
 
             assertTrue( dir.exists() );
+
+            if (dir.exists())
+                dir.delete();
          }
 
     }
\ No newline at end of file