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