/** * Tears down the test. * * @throws Exception in any error occurred during setup. */ protected void tearDown() throws Exception { EventTarget eventTarget = (EventTarget) this.processor.getXForms(); eventTarget.removeEventListener( BetterFormEventNames.RENDER_MESSAGE, this.messageCountListener, true); this.messageCountListener = null; super.tearDown(); }
/** * Sets up the test. * * @throws Exception in any error occurred during setup. */ protected void setUp() throws Exception { super.setUp(); this.messageCountListener = new EventCountListener(BetterFormEventNames.RENDER_MESSAGE); EventTarget eventTarget = (EventTarget) this.processor.getXForms(); eventTarget.addEventListener( BetterFormEventNames.RENDER_MESSAGE, this.messageCountListener, true); }
/** * Tears down the test. * * @throws Exception in any error occurred during setup. */ protected void tearDown() throws Exception { super.tearDown(); }
/** * Sets up the test. * * @throws Exception in any error occurred during setup. */ protected void setUp() throws Exception { super.setUp(); }