messagingfw/biomsgfw/T_BIOMSG/SRC/harness.cpp
changeset 58 6c34d0baa0b1
parent 0 8e480a14352b
equal deleted inserted replaced
55:6f4453afd006 58:6c34d0baa0b1
   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 }