equal
deleted
inserted
replaced
267 |
267 |
268 void CClientTestHarness::InstantiateSmsSettingsL() |
268 void CClientTestHarness::InstantiateSmsSettingsL() |
269 { |
269 { |
270 InstantiateClientMtmL(); |
270 InstantiateClientMtmL(); |
271 delete iSmsSettings; |
271 delete iSmsSettings; |
|
272 iSmsSettings = NULL; |
272 CSmsAccount* account = CSmsAccount::NewLC(); |
273 CSmsAccount* account = CSmsAccount::NewLC(); |
273 iSmsSettings = CSmsSettings::NewL(); |
274 iSmsSettings = CSmsSettings::NewL(); |
274 account->LoadSettingsL(*iSmsSettings); |
275 account->LoadSettingsL(*iSmsSettings); |
275 CleanupStack::PopAndDestroy(account); |
276 CleanupStack::PopAndDestroy(account); |
276 } |
277 } |