installationservices/swi/test/tuiscriptadaptors/tswisserver.cpp
branchRCL_3
changeset 25 7333d7932ef7
parent 17 741e5bba2bd1
child 26 8b7f4e561641
equal deleted inserted replaced
24:5cc91383ab1e 25:7333d7932ef7
   131 	// This server creates just one step but create as many as you want
   131 	// This server creates just one step but create as many as you want
   132 	// They are created "just in time" when the worker thread is created
   132 	// They are created "just in time" when the worker thread is created
   133 	// install steps
   133 	// install steps
   134 	if (aStepName == KSwisInstallStep)	// Install with file name
   134 	if (aStepName == KSwisInstallStep)	// Install with file name
   135 		testStep = new CSwisInstallStep(CSwisInstallStep::EUseFileName);
   135 		testStep = new CSwisInstallStep(CSwisInstallStep::EUseFileName);
       
   136 	else if (aStepName == KSwisInstallPerformanceStep)
       
   137 	    testStep = new CSwisInstallStep(CSwisInstallStep::ECheckInstallPerformance);
   136 	else if (aStepName == KSwisInstallFHStep)	// Install with file handle
   138 	else if (aStepName == KSwisInstallFHStep)	// Install with file handle
   137 		testStep = new CSwisInstallStep(CSwisInstallStep::EUseFileHandle);
   139 		testStep = new CSwisInstallStep(CSwisInstallStep::EUseFileHandle);
   138 	else if (aStepName == KSwisInstallMemStep)	// Install with CDesDataProvider
   140 	else if (aStepName == KSwisInstallMemStep)	// Install with CDesDataProvider
   139 		testStep = new CSwisInstallStep(CSwisInstallStep::EUseMemory); 
   141 		testStep = new CSwisInstallStep(CSwisInstallStep::EUseMemory); 
   140 		// The EUseMemory Install Step is obsolete (24/02/2005) Substituted by the new Capabilities Tests
   142 		// The EUseMemory Install Step is obsolete (24/02/2005) Substituted by the new Capabilities Tests
   232 	else if (aStepName == KSwisRemoveUninstallPkgsStep)	// Removing Uninstalled apps
   234 	else if (aStepName == KSwisRemoveUninstallPkgsStep)	// Removing Uninstalled apps
   233 		testStep = new CSwisUninstallPkgsStep(CSwisUninstallPkgsStep::ERemovePkgs);
   235 		testStep = new CSwisUninstallPkgsStep(CSwisUninstallPkgsStep::ERemovePkgs);
   234 	else if (aStepName == KSwisGetPackageDetails)	// Get Package Details
   236 	else if (aStepName == KSwisGetPackageDetails)	// Get Package Details
   235 		testStep = new CSwisUninstallPkgsStep(CSwisUninstallPkgsStep::EPkgDetails);
   237 		testStep = new CSwisUninstallPkgsStep(CSwisUninstallPkgsStep::EPkgDetails);
   236 	else if (aStepName == KSwisGetPublishedUidArrayStep)  // Get Published Package Uid's Array
   238 	else if (aStepName == KSwisGetPublishedUidArrayStep)  // Get Published Package Uid's Array
   237 	    testStep = new CSwisCheckPublishUidStep();
   239 	        testStep = new CSwisCheckPublishUidStep();
   238 	else if (aStepName == KSwisRemoveWithLastDependent)  // Set RemoveWithLastDependent
   240 	else if (aStepName == KSwisRemoveWithLastDependent)  // Set RemoveWithLastDependent
   239 		testStep = new CSwisSetRemoveWithLastDependent();
   241 		testStep = new CSwisSetRemoveWithLastDependent();
   240 	#ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
   242 	#ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
   241 	else if (aStepName == KCheckSCRFieldStep)	// Check the SCR components' 'Origin Verified', 'Known Revoked', 'DRM Ptotected' field values.
   243 	else if (aStepName == KCheckSCRFieldStep)	// Check the SCR components' 'Origin Verified', 'Known Revoked', 'DRM Ptotected' field values.
   242 		testStep = new CCheckScrFieldStep();
   244 		testStep = new CCheckScrFieldStep();