org.nuiton.wikitty.notification
Class WikittyServiceNotificationTest
java.lang.Object
org.nuiton.wikitty.notification.WikittyServiceNotificationTest
public class WikittyServiceNotificationTest
- extends Object
Test si la notification par event fonctionne bien (les bons types d'event
sont envoyer et recu
- Version:
- $Revision: 1136 $
Last update: $Date: 2011-08-12 16:24:03 +0200 (Fri, 12 Aug 2011) $
by : $Author: tchemit $
- Author:
- poussin
|
Field Summary |
protected EnumSet<org.nuiton.wikitty.services.WikittyEvent.WikittyEventType> |
lastEvent
|
protected int |
nbEvent
|
|
Method Summary |
protected void |
sendEvent(org.nuiton.wikitty.services.WikittyServiceNotifier wsn,
boolean hasListener)
Envoi tous les events possible. |
void |
testEvent()
Test si les events sont bien lever et bien recu |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lastEvent
protected EnumSet<org.nuiton.wikitty.services.WikittyEvent.WikittyEventType> lastEvent
nbEvent
protected int nbEvent
WikittyServiceNotificationTest
public WikittyServiceNotificationTest()
testEvent
public void testEvent()
throws Exception
- Test si les events sont bien lever et bien recu
- Throws:
Exception
sendEvent
protected void sendEvent(org.nuiton.wikitty.services.WikittyServiceNotifier wsn,
boolean hasListener)
throws Exception
- Envoi tous les events possible. Permet de tester la methode process et
la method fireEvent de WikittyServiceNotifier vu que la premiere
appelle la deuxieme
- Parameters:
wsn -
- Throws:
Exception
Copyright © 2009-2012 CodeLutin. All Rights Reserved.