|
|
|
|
@ -127,12 +127,12 @@ public void testRegister()
|
|
|
|
|
// 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
|
|
|
|
|
|