mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
16.57.2015 a41662c1136b2bb4a4198df89e0e87d2be3ef099
opendj-server-legacy/src/test/java/org/opends/server/api/AlertHandlerTestCase.java
@@ -97,9 +97,8 @@
  {
    int count = DummyAlertHandler.getAlertCount();
    DirectoryServer.sendAlertNotification(this, ALERT_TYPE,
                                          ALERT_MESSAGE);
    assertEquals(DummyAlertHandler.getAlertCount(), (count+1));
    DirectoryServer.sendAlertNotification(this, ALERT_TYPE, ALERT_MESSAGE);
    assertEquals(DummyAlertHandler.getAlertCount(), count+1);
  }
@@ -119,9 +118,8 @@
    {
      int count = DummyAlertHandler.getAlertCount();
      DirectoryServer.sendAlertNotification(this, ALERT_TYPE,
                                            ALERT_MESSAGE);
      assertEquals(DummyAlertHandler.getAlertCount(), (count+1));
      DirectoryServer.sendAlertNotification(this, ALERT_TYPE, ALERT_MESSAGE);
      assertEquals(DummyAlertHandler.getAlertCount(), count+1);
    }
    finally
    {
@@ -150,8 +148,7 @@
    {
      int count = DummyAlertHandler.getAlertCount();
      DirectoryServer.sendAlertNotification(this, ALERT_TYPE,
                                            ALERT_MESSAGE);
      DirectoryServer.sendAlertNotification(this, ALERT_TYPE, ALERT_MESSAGE);
      assertEquals(DummyAlertHandler.getAlertCount(), count);
    }
    finally
@@ -181,8 +178,7 @@
    {
      int count = DummyAlertHandler.getAlertCount();
      DirectoryServer.sendAlertNotification(this, ALERT_TYPE,
                                            ALERT_MESSAGE);
      DirectoryServer.sendAlertNotification(this, ALERT_TYPE, ALERT_MESSAGE);
      assertEquals(DummyAlertHandler.getAlertCount(), count);
    }
    finally
@@ -212,9 +208,8 @@
    {
      int count = DummyAlertHandler.getAlertCount();
      DirectoryServer.sendAlertNotification(this, ALERT_TYPE,
                                            ALERT_MESSAGE);
      assertEquals(DummyAlertHandler.getAlertCount(), (count+1));
      DirectoryServer.sendAlertNotification(this, ALERT_TYPE, ALERT_MESSAGE);
      assertEquals(DummyAlertHandler.getAlertCount(), count+1);
    }
    finally
    {
@@ -244,8 +239,7 @@
    {
      int count = DummyAlertHandler.getAlertCount();
      DirectoryServer.sendAlertNotification(this, ALERT_TYPE,
                                            ALERT_MESSAGE);
      DirectoryServer.sendAlertNotification(this, ALERT_TYPE, ALERT_MESSAGE);
      assertEquals(DummyAlertHandler.getAlertCount(), count);
    }
    finally