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