@ -253,6 +253,10 @@ public void testTypingNotificationsEventDelivery()
assertTrue ( "Number of typing events received was zero."
assertTrue ( "Number of typing events received was zero."
, evtCollector . collectedEvents . size ( ) > 0 ) ;
, evtCollector . collectedEvents . size ( ) > 0 ) ;
logger . trace ( "We have collected " + evtCollector . collectedEvents . size ( )
+ " typing notifications." ) ;
logger . trace ( "Notifications: " + evtCollector . collectedEvents ) ;
evt = ( TypingNotificationEvent ) evtCollector . collectedEvents . get ( 0 ) ;
evt = ( TypingNotificationEvent ) evtCollector . collectedEvents . get ( 0 ) ;
assertEquals ( "Source of the typing notification event"
assertEquals ( "Source of the typing notification event"
@ -265,7 +269,7 @@ public void testTypingNotificationsEventDelivery()
}
}
/ * *
/ * *
* Simply collects all re received events and provides a mechanis i m for
* Simply collects all received events and provides a mechanis m for
* waiting for the next event .
* waiting for the next event .
* /
* /
private class TypingEventCollector implements TypingNotificationsListener
private class TypingEventCollector implements TypingNotificationsListener