# HG changeset patch # User Brendan Donegan # Date 1273823587 -3600 # Node ID 39b95dd8b50467b3122acbdd72adc90294f1b054 # Parent 650fe78be9c64e6be4629e0a583687a6e705f535 Fixes for App Install and Profile Management smoke tests diff -r 650fe78be9c6 -r 39b95dd8b504 appinstall/src/AppInstallSmokeTestModuleBlocks.cpp --- a/appinstall/src/AppInstallSmokeTestModuleBlocks.cpp Fri May 07 15:36:59 2010 +0100 +++ b/appinstall/src/AppInstallSmokeTestModuleBlocks.cpp Fri May 14 08:53:07 2010 +0100 @@ -142,6 +142,7 @@ options().iPackageInfo = SwiUI::EPolicyAllowed; options().iOverwrite = SwiUI::EPolicyAllowed; options().iKillApp = SwiUI::EPolicyAllowed; + options().iUntrusted = SwiUI::EPolicyAllowed; User::LeaveIfError(installer.SilentInstall(sisPath, options)); diff -r 650fe78be9c6 -r 39b95dd8b504 profiles/src/ProfileSmokeTestModuleBlocks.cpp --- a/profiles/src/ProfileSmokeTestModuleBlocks.cpp Fri May 07 15:36:59 2010 +0100 +++ b/profiles/src/ProfileSmokeTestModuleBlocks.cpp Fri May 14 08:53:07 2010 +0100 @@ -142,7 +142,7 @@ TPtrC expectedName; if ( aItem.GetNextString( expectedName ) == KErrNone ) { - TL( active->ProfileName().Name() == expectedName) + TL(active->ProfileName().Name() == expectedName) } TInt expectedRingVol; @@ -177,7 +177,7 @@ TL(expectedVibrate == active->ToneSettings().VibratingAlert()); } - CleanupStack::PopAndDestroy(2); + CleanupStack::Pop(2); return KErrNone; } @@ -222,7 +222,7 @@ engine->SetActiveProfileL( EProfileOutdoorId ); } - CleanupStack::PopAndDestroy(); + CleanupStack::Pop(); } return KErrNone;