db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1536808 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/engine/ErrorStreamTest.java
Date Tue, 29 Oct 2013 16:52:16 GMT
Author: mamta
Date: Tue Oct 29 16:52:16 2013
New Revision: 1536808

URL: http://svn.apache.org/r1536808
Log:
DERBY-6350

Committing the test cleanup provided by Brett


Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/engine/ErrorStreamTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/engine/ErrorStreamTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/engine/ErrorStreamTest.java?rev=1536808&r1=1536807&r2=1536808&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/engine/ErrorStreamTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/engine/ErrorStreamTest.java
Tue Oct 29 16:52:16 2013
@@ -550,7 +550,10 @@ public class ErrorStreamTest extends Bas
         assertIsEmpty(methodStreamFile);
         assertIsEmpty(fieldStreamFile);
         assertIsEmpty(errStreamFile);
-    }
+
+        boolean deleted = deleteFile(derby0log);
+        assertTrue("File " + derby0log + " could not be deleted", deleted);    
+     }
 
     /**
      * Test that the derby.stream.error.style property overrides the
@@ -575,6 +578,9 @@ public class ErrorStreamTest extends Bas
         assertIsEmpty(methodStreamFile);
         assertIsEmpty(fieldStreamFile);
         assertIsEmpty(errStreamFile);
+
+        boolean deleted = deleteFile(derby0log);
+        assertTrue("File " + derby0log + " could not be deleted", deleted);    
     }
 
     /**



Mime
View raw message