Tests for receiving offline messages.

cusax-fix
Damian Minkov 20 years ago
parent 7fed8bf86f
commit e376c0db44

@ -124,15 +124,15 @@ public void testRegister()
logger.debug("We got thrown out while waiting for registration", t);
}
// Here is registered the listner which will receive the first message
// Here is registered the listener which will receive the first message
// This message is supposed to be offline message and as one is tested
// in TestOperationSetBasicInstantMessaging.testReceiveOfflineMessages()
// Map supportedOperationSets =
// fixture.provider.getSupportedOperationSets();
// OperationSetBasicInstantMessaging opSetBasicIM =
// (OperationSetBasicInstantMessaging)supportedOperationSets.get(
// OperationSetBasicInstantMessaging.class.getName());
// fixture.offlineMsgCollector.register(opSetBasicIM);
Map supportedOperationSets =
fixture.provider.getSupportedOperationSets();
OperationSetBasicInstantMessaging opSetBasicIM =
(OperationSetBasicInstantMessaging)supportedOperationSets.get(
OperationSetBasicInstantMessaging.class.getName());
fixture.offlineMsgCollector.register(opSetBasicIM);
//give time for the AIM server to notify everyone of our arrival
//simply waitinf is really not a reliable way of doing things but I

Loading…
Cancel
Save