Ejemplo n.º 1
0
 /**
  * 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();
 }
Ejemplo n.º 2
0
  /**
   * 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);
  }
Ejemplo n.º 3
0
 /**
  * Tears down the test.
  *
  * @throws Exception in any error occurred during setup.
  */
 protected void tearDown() throws Exception {
   super.tearDown();
 }
Ejemplo n.º 4
0
 /**
  * Sets up the test.
  *
  * @throws Exception in any error occurred during setup.
  */
 protected void setUp() throws Exception {
   super.setUp();
 }