installationservices/swi/test/tuiscriptadaptors/tswisserver.cpp
branchRCL_3
changeset 26 8b7f4e561641
parent 25 7333d7932ef7
equal deleted inserted replaced
25:7333d7932ef7 26:8b7f4e561641
   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);
       
   138 	else if (aStepName == KSwisInstallFHStep)	// Install with file handle
   136 	else if (aStepName == KSwisInstallFHStep)	// Install with file handle
   139 		testStep = new CSwisInstallStep(CSwisInstallStep::EUseFileHandle);
   137 		testStep = new CSwisInstallStep(CSwisInstallStep::EUseFileHandle);
   140 	else if (aStepName == KSwisInstallMemStep)	// Install with CDesDataProvider
   138 	else if (aStepName == KSwisInstallMemStep)	// Install with CDesDataProvider
   141 		testStep = new CSwisInstallStep(CSwisInstallStep::EUseMemory); 
   139 		testStep = new CSwisInstallStep(CSwisInstallStep::EUseMemory); 
   142 		// The EUseMemory Install Step is obsolete (24/02/2005) Substituted by the new Capabilities Tests
   140 		// The EUseMemory Install Step is obsolete (24/02/2005) Substituted by the new Capabilities Tests
   234 	else if (aStepName == KSwisRemoveUninstallPkgsStep)	// Removing Uninstalled apps
   232 	else if (aStepName == KSwisRemoveUninstallPkgsStep)	// Removing Uninstalled apps
   235 		testStep = new CSwisUninstallPkgsStep(CSwisUninstallPkgsStep::ERemovePkgs);
   233 		testStep = new CSwisUninstallPkgsStep(CSwisUninstallPkgsStep::ERemovePkgs);
   236 	else if (aStepName == KSwisGetPackageDetails)	// Get Package Details
   234 	else if (aStepName == KSwisGetPackageDetails)	// Get Package Details
   237 		testStep = new CSwisUninstallPkgsStep(CSwisUninstallPkgsStep::EPkgDetails);
   235 		testStep = new CSwisUninstallPkgsStep(CSwisUninstallPkgsStep::EPkgDetails);
   238 	else if (aStepName == KSwisGetPublishedUidArrayStep)  // Get Published Package Uid's Array
   236 	else if (aStepName == KSwisGetPublishedUidArrayStep)  // Get Published Package Uid's Array
   239 	        testStep = new CSwisCheckPublishUidStep();
   237 	    testStep = new CSwisCheckPublishUidStep();
   240 	else if (aStepName == KSwisRemoveWithLastDependent)  // Set RemoveWithLastDependent
   238 	else if (aStepName == KSwisRemoveWithLastDependent)  // Set RemoveWithLastDependent
   241 		testStep = new CSwisSetRemoveWithLastDependent();
   239 		testStep = new CSwisSetRemoveWithLastDependent();
   242 	#ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
   240 	#ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
   243 	else if (aStepName == KCheckSCRFieldStep)	// Check the SCR components' 'Origin Verified', 'Known Revoked', 'DRM Ptotected' field values.
   241 	else if (aStepName == KCheckSCRFieldStep)	// Check the SCR components' 'Origin Verified', 'Known Revoked', 'DRM Ptotected' field values.
   244 		testStep = new CCheckScrFieldStep();
   242 		testStep = new CCheckScrFieldStep();