telephonyserverplugins/common_tsy/test/component/src/cctsysmsmessagingfu.cpp
branchRCL_3
changeset 8 3f227a47ad75
parent 7 fe8b59ab9fa0
equal deleted inserted replaced
7:fe8b59ab9fa0 8:3f227a47ad75
  3015     
  3015     
  3016     messaging.CancelAsyncRequest(EMobileSmsMessagingSetReceiveMode);
  3016     messaging.CancelAsyncRequest(EMobileSmsMessagingSetReceiveMode);
  3017 
  3017 
  3018     User::WaitForRequest(reqStatus);
  3018     User::WaitForRequest(reqStatus);
  3019 
  3019 
  3020     ERR_PRINTF2(_L("<font color=Orange>$CTSYKnownFailure: defect id = %d</font>"), 360701);
  3020     // Since SetReceiveMode completes without any delays, the cancel will not have any effect.
  3021     //SetReceiveModeCancel() is never called, the request cancel can't be completed
  3021     // The CMmSmsTsy::SetReceiveModeCancel should be removed from the code in the next cleanup, since it never been called.
  3022     // Remove the function and correct comment in mm_messaging.cpp
  3022     ASSERT_EQUALS(KErrNone, reqStatus.Int());
  3023 
       
  3024     ASSERT_EQUALS(KErrCancel, reqStatus.Int());
       
  3025 
  3023 
  3026     AssertMockLtsyStatusL();
  3024     AssertMockLtsyStatusL();
  3027 
  3025 
  3028 
  3026 
  3029     CleanupStack::PopAndDestroy(2); 
  3027     CleanupStack::PopAndDestroy(2);