--- a/mediator/tsrc/public/basic/src/MediatorTestCases.cpp Thu Aug 19 11:09:10 2010 +0300
+++ b/mediator/tsrc/public/basic/src/MediatorTestCases.cpp Tue Aug 31 16:29:05 2010 +0300
@@ -154,101 +154,101 @@
static TCaseInfoInternal const KCases[] =
{
// To add new test cases, add new items to this array
- FUNCENTRY( RegisterOneEvent ),
- FUNCENTRY( GetListOfDomainsInitL ),
- FUNCENTRY( GetListOfDomains1DomainL ),
- FUNCENTRY( GetListOfEvents1EventInCategoryL ),
- FUNCENTRY( RegisterMultipleEventsL ),
- FUNCENTRY( RegisterOver500EventsL ),
- FUNCENTRY( UnregisterNonExistingEventDom ),
- FUNCENTRY( GetListOfDomainsMultipleDomainsL ),
- FUNCENTRY( UnregisterNonExistingEventCat ),
- FUNCENTRY( UnregisterNonExistingEventEve ),
- FUNCENTRY( UnregisterExistingEvent ),
- FUNCENTRY( UnregisterRxistingEventDifferentSID ),
- FUNCENTRY( UnregisterAListOfEventsL ),
- FUNCENTRY( UnregisterAListOfEventsNotRegisteredL ),
- FUNCENTRY( SubscribeToNonExistingEventDom ),
- FUNCENTRY( SubscribeToNonExistingEventCat ),
- FUNCENTRY( SubscribeToNonExistingEventEve ),
- FUNCENTRY( SubscribeToWrongEventVersionMajor ),
- FUNCENTRY( SubscribeToEventNonExistCapabilities ),
- FUNCENTRY( SubscribeToEventCorrectParam ),
- FUNCENTRY( SubscribeToListOfEventsCorrectParamL ),
- FUNCENTRY( SubscribeToListOfEventsOneInfoIncorrectL ),
- FUNCENTRY( RaiseNonExistingEventWrongDomainL ),
- FUNCENTRY( RaiseNonExistingEventWrongCatL ),
- FUNCENTRY( RaiseNonExistingEventEveL ),
- FUNCENTRY( RaiseEventWithWrongEventVerMajorL ),
- FUNCENTRY( RaiseEventRequiresNotExistingCapsInPubL ),
- FUNCENTRY( RaiseExistingEventL ),
- FUNCENTRY( SubscribeExistingEventRaiseFromPublisherSideL ),
- FUNCENTRY( SubscribeExistingEventRaiseFromPublisherSideDataOver1kBL ),
- FUNCENTRY( SubscribeToEventDeleteConsumerInstanceRaiseEventFromPublisherL ),
- FUNCENTRY( Add2ndSubscriberToEventRaiseEventFromPublisherL ),
- FUNCENTRY( UnsubscribeFrom1stSubscriberL ),
- FUNCENTRY( SubscribeToEventRaise500TimesInLoopL ),
- FUNCENTRY( RegisterOneCommandToMediator ),
- FUNCENTRY( RegisterMultipleCommandsToMediatorL ),
- FUNCENTRY( RegisterOver500CommandsWithinOneCatL ),
- FUNCENTRY( RegisterCommandWithDomainUID0 ),
- FUNCENTRY( RegisterCommandWithCategoryUID0 ),
- FUNCENTRY( RegisterCommandWithCommandID0 ),
- FUNCENTRY( RegisterCommandWithTimeoutValue0 ),
- FUNCENTRY( IssueNonExistingCommandWrongDomainL ),
- FUNCENTRY( IssueNonExistingCommandWrongCatL ),
- FUNCENTRY( IssueNonExistingCommandIdL ),
- FUNCENTRY( IssueCommandWrongCommandVerMajorL ),
- FUNCENTRY( IssueCommandL ),
- FUNCENTRY( IssueCommand2L ),
- FUNCENTRY( IssueExistingCommandSameInitiatorWhileProcessingL ),
- FUNCENTRY( IssueCommandWaitWithoutRespondingToCommandL ),
- FUNCENTRY( IssueCommandCancelFromInitiatorBeforeTimeoutL ),
- FUNCENTRY( IssueCommandRespondCorrectlyFromResponderL ),
- FUNCENTRY( IssueCommandALotOfParameterDataL ),
- FUNCENTRY( IssueCommandRespondALotOfResponseDataL ),
- //FUNCENTRY( GetListOfDomainsOver500Domains ),
- FUNCENTRY( GetListOfCategoriesNoCategoriesL ),
- FUNCENTRY( GetListOfCategoriesIncorrectDomainUIDL ),
- FUNCENTRY( GetListOfCategoriesMultipleCategoriesL ),
- FUNCENTRY( GetListOfCommandsL ),
- FUNCENTRY( GetListOfCommandsIncorrectDomainUIDL ),
- FUNCENTRY( GetListOfCommandsIncorrectCategoryUIDL ),
- FUNCENTRY( GetListOfCommands1CommandL ),
- FUNCENTRY( GetListOfCommandsMultipleCommandsL ),
- FUNCENTRY( GetListOfCommandsOver500CommandsL ),
- FUNCENTRY( GetListOfEventsNoEventsInCategoryL ),
- FUNCENTRY( GetListOfEventsWithIncorrectDomainUIDL ),
- FUNCENTRY( GetListOfEventsWithIncorrectCategoryUIDL ),
- FUNCENTRY( GetListOfEventsMultipleEventsInCategoryL ),
- FUNCENTRY( GetListOfEventsOver500EventsInCategoryL ),
- FUNCENTRY( SubscribeNotificationReceiver ),
- FUNCENTRY( ReSubscribeNotificationReceiver ),
- FUNCENTRY( ReUnsubscribeNotificationReceiver ),
- FUNCENTRY( SubscribeNotificationReceiverRegisterCommandsL ),
- FUNCENTRY( SubscribeNotificationReceiverUnregCommandsSoThatCatIsEmptyL ),
- FUNCENTRY( SubscribeNotificationReceiverRegisterEventsL ),
- FUNCENTRY( SubscribeNotificationReceiverUnregisterEventsL ),
- FUNCENTRY( SubscribeNotificationReceiverUnregisterEventsSoThatCatIsEmptyL ),
- FUNCENTRY( SubscribeNotificationReceiverRegisterCommandsSoThatErrorInRegistrationL ),
- FUNCENTRY( SubscribeNotificationReceiverUnegisterCommandsSoThatErrorInRegistrationL ),
- FUNCENTRY( SubscribeNotificationReceiverRegisterEventsSoThatErrorInRegistration ),
- FUNCENTRY( SubscribeNotificationReceiverUnregisterEventsSoThatErrorInRegistration ),
- FUNCENTRY( IssueCommandCancelAndReissueL ),
- FUNCENTRY( IssueCommandCancelAndIssueNewCommandL ),
- FUNCENTRY( InstantiateAndDeleteMediatorPluginL ),
- FUNCENTRY( IssueCommandNoDataL ),
- FUNCENTRY( RaiseEventNoDataL ),
- FUNCENTRY( RegisterMultipleEventsWithMultipleUIDsL ),
- FUNCENTRY( RegisterMultipleCommandsWithMultipleUIDsL ),
- FUNCENTRY( IssueCommandRespondIncorrectlyFromResponderL ),
- FUNCENTRY( OOMForEventProviderTestL ),
- FUNCENTRY( OOMForEventConsumerTestL ),
- FUNCENTRY( OOMForEventProviderwithListTestL ),
- FUNCENTRY( OOMForEventConsumerWithEventTestL ),
- FUNCENTRY( OOMForCommandInitiatorTestL ),
- FUNCENTRY( OOMForCommandInitiatorCommandListTestL ),
- FUNCENTRY( OOMForMediatorNotificationsTestL )
+ ENTRY( "[CMediatorTest] RegisterOneEvent", &CMediatorTest::RegisterOneEvent ),
+ ENTRY( "[CMediatorTest] GetListOfDomainsInitL", &CMediatorTest::GetListOfDomainsInitL ),
+ ENTRY( "[CMediatorTest] GetListOfDomains1DomainL", &CMediatorTest::GetListOfDomains1DomainL ),
+ ENTRY( "[CMediatorTest] GetListOfEvents1EventInCategoryL", &CMediatorTest::GetListOfEvents1EventInCategoryL ),
+ ENTRY( "[CMediatorTest] RegisterMultipleEventsL", &CMediatorTest::RegisterMultipleEventsL ),
+ ENTRY( "[CMediatorTest] RegisterOver500EventsL", &CMediatorTest::RegisterOver500EventsL ),
+ ENTRY( "[CMediatorTest] UnregisterNonExistingEventDom", &CMediatorTest::UnregisterNonExistingEventDom ),
+ ENTRY( "[CMediatorTest] GetListOfDomainsMultipleDomainsL", &CMediatorTest::GetListOfDomainsMultipleDomainsL ),
+ ENTRY( "[CMediatorTest] UnregisterNonExistingEventCat", &CMediatorTest::UnregisterNonExistingEventCat ),
+ ENTRY( "[CMediatorTest] UnregisterNonExistingEventEve", &CMediatorTest::UnregisterNonExistingEventEve ),
+ ENTRY( "[CMediatorTest] UnregisterExistingEvent", &CMediatorTest::UnregisterExistingEvent ),
+ ENTRY( "[CMediatorTest] UnregisterRxistingEventDifferentSID", &CMediatorTest::UnregisterRxistingEventDifferentSID ),
+ ENTRY( "[CMediatorTest] UnregisterAListOfEventsL", &CMediatorTest::UnregisterAListOfEventsL ),
+ ENTRY( "[CMediatorTest] UnregisterAListOfEventsNotRegisteredL", &CMediatorTest::UnregisterAListOfEventsNotRegisteredL ),
+ ENTRY( "[CMediatorTest] SubscribeToNonExistingEventDom", &CMediatorTest::SubscribeToNonExistingEventDom ),
+ ENTRY( "[CMediatorTest] SubscribeToNonExistingEventCat", &CMediatorTest::SubscribeToNonExistingEventCat ),
+ ENTRY( "[CMediatorTest] SubscribeToNonExistingEventEve", &CMediatorTest::SubscribeToNonExistingEventEve ),
+ ENTRY( "[CMediatorTest] SubscribeToWrongEventVersionMajor", &CMediatorTest::SubscribeToWrongEventVersionMajor ),
+ ENTRY( "[CMediatorTest] SubscribeToEventNonExistCapabilities", &CMediatorTest::SubscribeToEventNonExistCapabilities ),
+ ENTRY( "[CMediatorTest] SubscribeToEventCorrectParam", &CMediatorTest::SubscribeToEventCorrectParam ),
+ ENTRY( "[CMediatorTest] SubscribeToListOfEventsCorrectParamL", &CMediatorTest::SubscribeToListOfEventsCorrectParamL ),
+ ENTRY( "[CMediatorTest] SubscribeToListOfEventsOneInfoIncorrectL", &CMediatorTest::SubscribeToListOfEventsOneInfoIncorrectL ),
+ ENTRY( "[CMediatorTest] RaiseNonExistingEventWrongDomainL", &CMediatorTest::RaiseNonExistingEventWrongDomainL ),
+ ENTRY( "[CMediatorTest] RaiseNonExistingEventWrongCatL", &CMediatorTest::RaiseNonExistingEventWrongCatL ),
+ ENTRY( "[CMediatorTest] RaiseNonExistingEventEveL", &CMediatorTest::RaiseNonExistingEventEveL ),
+ ENTRY( "[CMediatorTest] RaiseEventWithWrongEventVerMajorL", &CMediatorTest::RaiseEventWithWrongEventVerMajorL ),
+ ENTRY( "[CMediatorTest] RaiseEventRequiresNotExistingCapsInPubL", &CMediatorTest::RaiseEventRequiresNotExistingCapsInPubL ),
+ ENTRY( "[CMediatorTest] RaiseExistingEventL", &CMediatorTest::RaiseExistingEventL ),
+ ENTRY( "[CMediatorTest] SubscribeExistingEventRaiseFromPublisherSideL", &CMediatorTest::SubscribeExistingEventRaiseFromPublisherSideL ),
+ ENTRY( "[CMediatorTest] SubscribeExistingEventRaiseFromPublisherSideDataOver1kBL", &CMediatorTest::SubscribeExistingEventRaiseFromPublisherSideDataOver1kBL ),
+ ENTRY( "[CMediatorTest] SubscribeToEventDeleteConsumerInstanceRaiseEventFromPublisherL", &CMediatorTest::SubscribeToEventDeleteConsumerInstanceRaiseEventFromPublisherL ),
+ ENTRY( "[CMediatorTest] Add2ndSubscriberToEventRaiseEventFromPublisherL", &CMediatorTest::Add2ndSubscriberToEventRaiseEventFromPublisherL ),
+ ENTRY( "[CMediatorTest] UnsubscribeFrom1stSubscriberL", &CMediatorTest::UnsubscribeFrom1stSubscriberL ),
+ ENTRY( "[CMediatorTest] SubscribeToEventRaise500TimesInLoopL", &CMediatorTest::SubscribeToEventRaise500TimesInLoopL ),
+ ENTRY( "[CMediatorTest] RegisterOneCommandToMediator", &CMediatorTest::RegisterOneCommandToMediator ),
+ ENTRY( "[CMediatorTest] RegisterMultipleCommandsToMediatorL", &CMediatorTest::RegisterMultipleCommandsToMediatorL ),
+ ENTRY( "[CMediatorTest] RegisterOver500CommandsWithinOneCatL", &CMediatorTest::RegisterOver500CommandsWithinOneCatL ),
+ ENTRY( "[CMediatorTest] RegisterCommandWithDomainUID0", &CMediatorTest::RegisterCommandWithDomainUID0 ),
+ ENTRY( "[CMediatorTest] RegisterCommandWithCategoryUID0", &CMediatorTest::RegisterCommandWithCategoryUID0 ),
+ ENTRY( "[CMediatorTest] RegisterCommandWithCommandID0", &CMediatorTest::RegisterCommandWithCommandID0 ),
+ ENTRY( "[CMediatorTest] RegisterCommandWithTimeoutValue0", &CMediatorTest::RegisterCommandWithTimeoutValue0 ),
+ ENTRY( "[CMediatorTest] IssueNonExistingCommandWrongDomainL", &CMediatorTest::IssueNonExistingCommandWrongDomainL ),
+ ENTRY( "[CMediatorTest] IssueNonExistingCommandWrongCatL", &CMediatorTest::IssueNonExistingCommandWrongCatL ),
+ ENTRY( "[CMediatorTest] IssueNonExistingCommandIdL", &CMediatorTest::IssueNonExistingCommandIdL ),
+ ENTRY( "[CMediatorTest] IssueCommandWrongCommandVerMajorL", &CMediatorTest::IssueCommandWrongCommandVerMajorL ),
+ ENTRY( "[CMediatorTest] IssueCommandL", &CMediatorTest::IssueCommandL ),
+ ENTRY( "[CMediatorTest] IssueCommand2L", &CMediatorTest::IssueCommand2L ),
+ ENTRY( "[CMediatorTest] IssueExistingCommandSameInitiatorWhileProcessingL", &CMediatorTest::IssueExistingCommandSameInitiatorWhileProcessingL ),
+ ENTRY( "[CMediatorTest] IssueCommandWaitWithoutRespondingToCommandL", &CMediatorTest::IssueCommandWaitWithoutRespondingToCommandL ),
+ ENTRY( "[CMediatorTest] IssueCommandCancelFromInitiatorBeforeTimeoutL", &CMediatorTest::IssueCommandCancelFromInitiatorBeforeTimeoutL ),
+ ENTRY( "[CMediatorTest] IssueCommandRespondCorrectlyFromResponderL", &CMediatorTest::IssueCommandRespondCorrectlyFromResponderL ),
+ ENTRY( "[CMediatorTest] IssueCommandALotOfParameterDataL", &CMediatorTest::IssueCommandALotOfParameterDataL ),
+ ENTRY( "[CMediatorTest] IssueCommandRespondALotOfResponseDataL", &CMediatorTest::IssueCommandRespondALotOfResponseDataL ),
+ //ENTRY( "[CMediatorTest] GetListOfDomainsOver500Domains", &CMediatorTest::GetListOfDomainsOver500Domains ),
+ ENTRY( "[CMediatorTest] GetListOfCategoriesNoCategoriesL", &CMediatorTest::GetListOfCategoriesNoCategoriesL ),
+ ENTRY( "[CMediatorTest] GetListOfCategoriesIncorrectDomainUIDL", &CMediatorTest::GetListOfCategoriesIncorrectDomainUIDL ),
+ ENTRY( "[CMediatorTest] GetListOfCategoriesMultipleCategoriesL", &CMediatorTest::GetListOfCategoriesMultipleCategoriesL ),
+ ENTRY( "[CMediatorTest] GetListOfCommandsL", &CMediatorTest::GetListOfCommandsL ),
+ ENTRY( "[CMediatorTest] GetListOfCommandsIncorrectDomainUIDL", &CMediatorTest::GetListOfCommandsIncorrectDomainUIDL ),
+ ENTRY( "[CMediatorTest] GetListOfCommandsIncorrectCategoryUIDL", &CMediatorTest::GetListOfCommandsIncorrectCategoryUIDL ),
+ ENTRY( "[CMediatorTest] GetListOfCommands1CommandL", &CMediatorTest::GetListOfCommands1CommandL ),
+ ENTRY( "[CMediatorTest] GetListOfCommandsMultipleCommandsL", &CMediatorTest::GetListOfCommandsMultipleCommandsL ),
+ ENTRY( "[CMediatorTest] GetListOfCommandsOver500CommandsL", &CMediatorTest::GetListOfCommandsOver500CommandsL ),
+ ENTRY( "[CMediatorTest] GetListOfEventsNoEventsInCategoryL", &CMediatorTest::GetListOfEventsNoEventsInCategoryL ),
+ ENTRY( "[CMediatorTest] GetListOfEventsWithIncorrectDomainUIDL", &CMediatorTest::GetListOfEventsWithIncorrectDomainUIDL ),
+ ENTRY( "[CMediatorTest] GetListOfEventsWithIncorrectCategoryUIDL", &CMediatorTest::GetListOfEventsWithIncorrectCategoryUIDL ),
+ ENTRY( "[CMediatorTest] GetListOfEventsMultipleEventsInCategoryL", &CMediatorTest::GetListOfEventsMultipleEventsInCategoryL ),
+ ENTRY( "[CMediatorTest] GetListOfEventsOver500EventsInCategoryL", &CMediatorTest::GetListOfEventsOver500EventsInCategoryL ),
+ ENTRY( "[CMediatorTest] SubscribeNotificationReceiver", &CMediatorTest::SubscribeNotificationReceiver ),
+ ENTRY( "[CMediatorTest] ReSubscribeNotificationReceiver", &CMediatorTest::ReSubscribeNotificationReceiver ),
+ ENTRY( "[CMediatorTest] ReUnsubscribeNotificationReceiver", &CMediatorTest::ReUnsubscribeNotificationReceiver ),
+ ENTRY( "[CMediatorTest] SubscribeNotificationReceiverRegisterCommandsL", &CMediatorTest::SubscribeNotificationReceiverRegisterCommandsL ),
+ ENTRY( "[CMediatorTest] SubscribeNotificationReceiverUnregCommandsSoThatCatIsEmptyL", &CMediatorTest::SubscribeNotificationReceiverUnregCommandsSoThatCatIsEmptyL ),
+ ENTRY( "[CMediatorTest] SubscribeNotificationReceiverRegisterEventsL", &CMediatorTest::SubscribeNotificationReceiverRegisterEventsL ),
+ ENTRY( "[CMediatorTest] SubscribeNotificationReceiverUnregisterEventsL", &CMediatorTest::SubscribeNotificationReceiverUnregisterEventsL ),
+ ENTRY( "[CMediatorTest] SubscribeNotificationReceiverUnregisterEventsSoThatCatIsEmptyL", &CMediatorTest::SubscribeNotificationReceiverUnregisterEventsSoThatCatIsEmptyL ),
+ ENTRY( "[CMediatorTest] SubscribeNotificationReceiverRegisterCommandsSoThatErrorInRegistrationL", &CMediatorTest::SubscribeNotificationReceiverRegisterCommandsSoThatErrorInRegistrationL ),
+ ENTRY( "[CMediatorTest] SubscribeNotificationReceiverUnegisterCommandsSoThatErrorInRegistrationL", &CMediatorTest::SubscribeNotificationReceiverUnegisterCommandsSoThatErrorInRegistrationL ),
+ ENTRY( "[CMediatorTest] SubscribeNotificationReceiverRegisterEventsSoThatErrorInRegistration", &CMediatorTest::SubscribeNotificationReceiverRegisterEventsSoThatErrorInRegistration ),
+ ENTRY( "[CMediatorTest] SubscribeNotificationReceiverUnregisterEventsSoThatErrorInRegistration", &CMediatorTest::SubscribeNotificationReceiverUnregisterEventsSoThatErrorInRegistration ),
+ ENTRY( "[CMediatorTest] IssueCommandCancelAndReissueL", &CMediatorTest::IssueCommandCancelAndReissueL ),
+ ENTRY( "[CMediatorTest] IssueCommandCancelAndIssueNewCommandL", &CMediatorTest::IssueCommandCancelAndIssueNewCommandL ),
+ ENTRY( "[CMediatorTest] InstantiateAndDeleteMediatorPluginL", &CMediatorTest::InstantiateAndDeleteMediatorPluginL ),
+ ENTRY( "[CMediatorTest] IssueCommandNoDataL", &CMediatorTest::IssueCommandNoDataL ),
+ ENTRY( "[CMediatorTest] RaiseEventNoDataL", &CMediatorTest::RaiseEventNoDataL ),
+ ENTRY( "[CMediatorTest] RegisterMultipleEventsWithMultipleUIDsL", &CMediatorTest::RegisterMultipleEventsWithMultipleUIDsL ),
+ ENTRY( "[CMediatorTest] RegisterMultipleCommandsWithMultipleUIDsL", &CMediatorTest::RegisterMultipleCommandsWithMultipleUIDsL ),
+ ENTRY( "[CMediatorTest] IssueCommandRespondIncorrectlyFromResponderL", &CMediatorTest::IssueCommandRespondIncorrectlyFromResponderL ),
+ ENTRY( "[CMediatorTest] OOMForEventProviderTestL", &CMediatorTest::OOMForEventProviderTestL ),
+ ENTRY( "[CMediatorTest] OOMForEventConsumerTestL", &CMediatorTest::OOMForEventConsumerTestL ),
+ ENTRY( "[CMediatorTest] OOMForEventProviderwithListTestL", &CMediatorTest::OOMForEventProviderwithListTestL ),
+ ENTRY( "[CMediatorTest] OOMForEventConsumerWithEventTestL", &CMediatorTest::OOMForEventConsumerWithEventTestL ),
+ ENTRY( "[CMediatorTest] OOMForCommandInitiatorTestL", &CMediatorTest::OOMForCommandInitiatorTestL ),
+ ENTRY( "[CMediatorTest] OOMForCommandInitiatorCommandListTestL", &CMediatorTest::OOMForCommandInitiatorCommandListTestL ),
+ ENTRY( "[CMediatorTest] OOMForMediatorNotificationsTestL", &CMediatorTest::OOMForMediatorNotificationsTestL )
// Example how to use OOM functionality
//OOM_ENTRY( "Loop test with OOM", LoopTest, ETrue, 2, 3 ),
//OOM_FUNCENTRY( PrintTest, ETrue, 1, 3 ),