--- a/telephonyserverplugins/common_tsy/test/component/src/cctsysmsmessagingfu.cpp Mon Mar 15 12:45:06 2010 +0200
+++ b/telephonyserverplugins/common_tsy/test/component/src/cctsysmsmessagingfu.cpp Wed Mar 31 23:24:02 2010 +0300
@@ -197,9 +197,6 @@
// from LTSY.
//-------------------------------------------------------------------------
- ERR_PRINTF2(_L("<font color=Orange>$CTSYKnownFailure: defect id = %d</font>"), 360201);
- ASSERT_TRUE(EFalse);
-
//Request for EMobileSmsMessagingNotifyReceiveModeChange is self reposting.
//If it was completed somehow and then SetReceiveMode() was called without call of NotifyReceiveModeChange() -
//this result in getting wrong request handle for completion in CTelObject::ReqCompleted()
@@ -1011,6 +1008,12 @@
// that have iDeleteAfterClientAck = true
//-------------------------------------------------------------------------
+ // Since Ack failed, the CTSY needs to ask to activate the sms routing again
+ data.Close();
+ compSmsRoutingTsyData.SerialiseL(data);
+ iMockLTSY.ExpectL(EMmTsyActivateSmsRouting);
+ iMockLTSY.CompleteL(EMmTsyActivateSmsRouting, KErrNone, data);
+
// make the server expect an acknowledgement
messaging.ReceiveMessage(reqReceiveStatus, forMsg, receiveAttrPckg);
@@ -1479,7 +1482,13 @@
// TEST B1, test NackSmsStored() when there are sms received
// that have iDeleteAfterClientAck = true
//-------------------------------------------------------------------------
-
+
+ // Since Nack failed, the CTSY needs to ask to activate the sms routing again
+ data.Close();
+ compSmsRoutingTsyData.SerialiseL(data);
+ iMockLTSY.ExpectL(EMmTsyActivateSmsRouting);
+ iMockLTSY.CompleteL(EMmTsyActivateSmsRouting, KErrNone, data);
+
// make the server expect an acknowledgement
messaging.ReceiveMessage(reqReceiveStatus, forMsg, receiveAttrPckg);