db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r542019 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/CanonTestCase.java
Date Sun, 27 May 2007 18:54:30 GMT
Author: kahatlen
Date: Sun May 27 11:54:29 2007
New Revision: 542019

URL: http://svn.apache.org/viewvc?view=rev&rev=542019
Log:
DERBY-2708: CanonTestCase keeps output from test in memory after it has finished

Added tearDown() method to CanonTestCase.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/CanonTestCase.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/CanonTestCase.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/CanonTestCase.java?view=diff&rev=542019&r1=542018&r2=542019
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/CanonTestCase.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/CanonTestCase.java
Sun May 27 11:54:29 2007
@@ -135,4 +135,9 @@
         outStream.flush();
         outStream.close();
     }
+
+    protected void tearDown() throws Exception {
+        rawBytes = null;
+        super.tearDown();
+    }
 }



Mime
View raw message