empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doeb...@apache.org
Subject svn commit: r904100 - /incubator/empire-db/trunk/empire-db/src/test/java/org/apache/empire/db/hsql/DBDatabaseDriverHSqlTest.java
Date Thu, 28 Jan 2010 14:23:31 GMT
Author: doebele
Date: Thu Jan 28 14:23:30 2010
New Revision: 904100

URL: http://svn.apache.org/viewvc?rev=904100&view=rev
Log:
Problem wit File delete in test-class

Modified:
    incubator/empire-db/trunk/empire-db/src/test/java/org/apache/empire/db/hsql/DBDatabaseDriverHSqlTest.java

Modified: incubator/empire-db/trunk/empire-db/src/test/java/org/apache/empire/db/hsql/DBDatabaseDriverHSqlTest.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/test/java/org/apache/empire/db/hsql/DBDatabaseDriverHSqlTest.java?rev=904100&r1=904099&r2=904100&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/test/java/org/apache/empire/db/hsql/DBDatabaseDriverHSqlTest.java
(original)
+++ incubator/empire-db/trunk/empire-db/src/test/java/org/apache/empire/db/hsql/DBDatabaseDriverHSqlTest.java
Thu Jan 28 14:23:30 2010
@@ -63,11 +63,10 @@
         db.getCreateDDLScript(db.getDriver(), script);
         script.run(db.getDriver(), conn, false);
         
-        
     }
     
     @AfterClass
-    public static void shutdown() throws SQLException, IOException
+    public static void shutdown() throws SQLException
     {
         try
         {
@@ -80,7 +79,11 @@
         {
             DBTools.close(conn);
             // clean up
-            FileUtils.deleteDirectory(new File(PATH));
+            try {
+                FileUtils.deleteDirectory(new File(PATH));
+            } catch (IOException e) {
+                // ingore
+            }
         }
 
     }



Mime
View raw message