@Override protected void tearDown() throws Exception { try { ApiTestHelperDAO helperDao = new ApiTestHelperDAO(); DataSource dataSource = (DataSource) this.getApplicationContext().getBean("servDataSource"); helperDao.setDataSource(dataSource); helperDao.cleanApiStatus(); // helperDao.cleanServices(); super.tearDown(); } catch (Throwable t) { throw new Exception(t); } }
@Override protected void tearDown() throws Exception { this.waitForSentNewsletter(); this.activeMailManager(true); super.tearDown(); }
@Override protected void setUp() throws Exception { super.setUp(); this.activeMailManager(false); }
@Override protected void setUp() throws Exception { super.setUp(); this.init(); }
@Override protected void tearDown() throws Exception { this._helper.cleanRecords(); super.tearDown(); }
@Override protected void setUp() throws Exception { super.setUp(); this._helper = new JpactionloggerTestHelper(this.getApplicationContext()); }