Esempio n. 1
0
 // 测试关闭数据库
 public static void shutdown() {
   sqldb.shutdow();
   try {
     assertEquals(true, sqldb.getConnection().isClosed());
   } catch (SQLException e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
   }
 }
Esempio n. 2
0
 public static void AfterClass() throws Exception {
   sqldb.shutdow();
 }