protected void setUp() throws Exception { request = new HttpServletRequestImplementation(); super.setUp(); digester.setInputStream(new FileInputStream(SQL_DIR + "useraccount_dao.xml")); try { digester.run(); } catch (SAXException saxe) { saxe.printStackTrace(); } super.ds = setupTestDataSource(); uadao = new UserAccountDAO(super.ds, digester); }
protected void setUp() throws Exception { super.setUp(); digester.setInputStream(new FileInputStream(SQL_DIR + "crf_dao.xml")); try { digester.run(); } catch (SAXException saxe) { saxe.printStackTrace(); } super.ds = setupTestDataSource(); // filterdao = new FilterDAO(super.ds, getDigester("filter_dao.xml")); cdao = new CRFDAO(super.ds, digester); }