installationservices/swi/test/tsisregistrytest/tsisregistrytest.cpp
branchRCL_3
changeset 25 7333d7932ef7
parent 0 ba25891c3a9e
child 26 8b7f4e561641
equal deleted inserted replaced
24:5cc91383ab1e 25:7333d7932ef7
     1 /*
     1 /*
     2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   124 		}	
   124 		}	
   125 	if (strippedStepName == KInRomNonRemovablePackages)
   125 	if (strippedStepName == KInRomNonRemovablePackages)
   126 		{
   126 		{
   127 		name = new CInRomNonRemovablePackage;
   127 		name = new CInRomNonRemovablePackage;
   128 		}
   128 		}
       
   129     if (strippedStepName == KSetCenRepSetting)
       
   130         {
       
   131         name = new CSetCenRepSettingStep; 
       
   132         }
   129 	if (strippedStepName == KInstalledDrives)
   133 	if (strippedStepName == KInstalledDrives)
   130 		{
   134 		{
   131 		name = new CInstalledDrives;
   135 		name = new CInstalledDrives;
   132 		}		
   136 		}		
   133 	else if (strippedStepName == KIsUidInstalled)
   137 	else if (strippedStepName == KIsUidInstalled)
   348 		}			
   352 		}			
   349 	else if (aStepName == KChangeLocale)
   353 	else if (aStepName == KChangeLocale)
   350 		{
   354 		{
   351 		name = new CChangeLocaleStep;
   355 		name = new CChangeLocaleStep;
   352 		}
   356 		}
   353 
   357 	else if (aStepName == KCAddAppRegInfoStep)
       
   358 	    {
       
   359         name = new CAddAppRegInfoStep;
       
   360 	    }
       
   361 	else if (aStepName == KCRemoveAppRegInfoStep)
       
   362         {
       
   363         name = new CRemoveAppRegInfoStep;
       
   364         }
       
   365 	else if (aStepName == KCheckAppRegData)
       
   366 	    {
       
   367         name = new CheckAppRegData;
       
   368 	    }
   354 	if(performanceStep && name)
   369 	if(performanceStep && name)
   355 		{
   370 		{
   356 		CSisRegistryTestStepBase *baseTestStep = dynamic_cast<CSisRegistryTestStepBase*>(name);
   371 		CSisRegistryTestStepBase *baseTestStep = dynamic_cast<CSisRegistryTestStepBase*>(name);
   357 		baseTestStep->MarkAsPerformanceStep();
   372 		baseTestStep->MarkAsPerformanceStep();
   358 		}
   373 		}