| | |
| | | { |
| | | 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); |
| | | } |
| | | |
| | | |
| | |
| | | { |
| | | 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 |
| | | { |
| | |
| | | { |
| | | int count = DummyAlertHandler.getAlertCount(); |
| | | |
| | | DirectoryServer.sendAlertNotification(this, ALERT_TYPE, |
| | | ALERT_MESSAGE); |
| | | DirectoryServer.sendAlertNotification(this, ALERT_TYPE, ALERT_MESSAGE); |
| | | assertEquals(DummyAlertHandler.getAlertCount(), count); |
| | | } |
| | | finally |
| | |
| | | { |
| | | int count = DummyAlertHandler.getAlertCount(); |
| | | |
| | | DirectoryServer.sendAlertNotification(this, ALERT_TYPE, |
| | | ALERT_MESSAGE); |
| | | DirectoryServer.sendAlertNotification(this, ALERT_TYPE, ALERT_MESSAGE); |
| | | assertEquals(DummyAlertHandler.getAlertCount(), count); |
| | | } |
| | | finally |
| | |
| | | { |
| | | 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 |
| | | { |
| | |
| | | { |
| | | int count = DummyAlertHandler.getAlertCount(); |
| | | |
| | | DirectoryServer.sendAlertNotification(this, ALERT_TYPE, |
| | | ALERT_MESSAGE); |
| | | DirectoryServer.sendAlertNotification(this, ALERT_TYPE, ALERT_MESSAGE); |
| | | assertEquals(DummyAlertHandler.getAlertCount(), count); |
| | | } |
| | | finally |