Fixes for App Install and Profile Management smoke tests Symbian3
authorBrendan Donegan <brendand@symbian.org>
Fri, 14 May 2010 08:53:07 +0100
branchSymbian3
changeset 37 39b95dd8b504
parent 36 650fe78be9c6
child 38 09fe1b977394
Fixes for App Install and Profile Management smoke tests
appinstall/src/AppInstallSmokeTestModuleBlocks.cpp
profiles/src/ProfileSmokeTestModuleBlocks.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));
--- 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;