diff options
Diffstat (limited to 'dbaccess/qa')
-rw-r--r-- | dbaccess/qa/complex/dbaccess/RowSet.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dbaccess/qa/complex/dbaccess/RowSet.java b/dbaccess/qa/complex/dbaccess/RowSet.java index e617d2546525..4c5fcc6da793 100644 --- a/dbaccess/qa/complex/dbaccess/RowSet.java +++ b/dbaccess/qa/complex/dbaccess/RowSet.java @@ -47,6 +47,7 @@ import java.lang.reflect.Method; import java.util.Random; // ---------- junit imports ----------------- +import org.junit.After; import org.junit.Test; import static org.junit.Assert.*; @@ -127,6 +128,11 @@ public class RowSet extends TestCase } } + @After public final void closeAndDeleteDatabase() { + if (m_database != null) { + m_database.closeAndDelete(); + } + } /** creates a com.sun.star.sdb.RowSet to use during the test * @param command |