commsconfig/commsdatabaseshim/TE_commdb/src/TE_commdbServer.cpp
changeset 72 ae47d0499bee
equal deleted inserted replaced
68:5da8188e392b 72:ae47d0499bee
       
     1 //
       
     2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description:
       
    15 //
       
    16 //
       
    17 //
       
    18 // This main DLL entry point for the TE_ConServer.dll
       
    19 
       
    20 
       
    21 // EPOC includes
       
    22 #include <e32base.h>
       
    23 
       
    24 // Test system includes
       
    25 #include "Teststepcommdb.h"
       
    26 #include "step_001_01.h"
       
    27 #include "step_002_01.h"
       
    28 #include "Step_003_xx.h"
       
    29 #include "step_004_xx.h"
       
    30 #include "step_005_xx.h"
       
    31 #include "step_006_xx.h"
       
    32 #include "Step_007_xx.h"
       
    33 #include "Step_008_xx.h"
       
    34 #include "Step_009_xx.h"
       
    35 #include "Step_010_xx.h"
       
    36 #include "Step_011_xx.h"
       
    37 #include "Step_012_xx.h"
       
    38 #include "Step_013_xx.h"
       
    39 #include "Step_014_xx.h"
       
    40 #include "Step_015_xx.h"
       
    41 #include "Step_016_xx.h"
       
    42 #include "Step_017_xx.h"
       
    43 #include "Step_018_xx.h"
       
    44 #include "Step_019_xx.h"
       
    45 #include "Step_020_xx.h"
       
    46 #include "Step_021_xx.h"
       
    47 #include "Step_022_xx.h"
       
    48 #include "Step_023_xx.h"
       
    49 #include "Step_024_xx.h"
       
    50 #include "Step_025_xx.h"
       
    51 #include "Step_026_xx.h"
       
    52 #include "Step_027_xx.h"
       
    53 #include "Step_028_xx.h"
       
    54 #include "Step_029_xx.h"
       
    55 #include "Step_030_xx.h"
       
    56 #include "Step_031_xx.h"
       
    57 #include "Step_032_xx.h"
       
    58 #include "Step_033_xx.h"
       
    59 #include "Step_034_xx.h"
       
    60 #include "Step_035_xx.h"
       
    61 #include "Step_036_xx.h"
       
    62 #include "Step_037_xx.h"
       
    63 #include "Step_038_xx.h"
       
    64 #include "Step_039_xx.h"
       
    65 #include "Step_040_xx.h"
       
    66 #include "Step_041_xx.h"
       
    67 #include "Step_042_xx.h"
       
    68 #include "Step_043_xx.h"
       
    69 #include "Step_044_xx.h"
       
    70 #include "Step_045_xx.h"
       
    71 #include "Step_046_xx.h"
       
    72 #include "Step_047_xx.h"
       
    73 #include "step_051_xx.h"
       
    74 #include "step_052_xx.h"
       
    75 #include "step_053_xx.h"
       
    76 #include "step_054_xx.h"
       
    77 #include "step_055_xx.h"
       
    78 #include "step_056_xx.h"
       
    79 #include "step_057_xx.h"
       
    80 #include "step_058_xx.h"
       
    81 #include "step_059_xx.h"
       
    82 #include "Step_061_xx.h"
       
    83 #include "Step_062_xx.h"
       
    84 #include "step_063_xx.h"
       
    85 #include "Step_064_xx.h"
       
    86 #include "CommDbPreCopy.h"
       
    87 
       
    88 
       
    89 EXPORT_C CTE_commdbServer* NewcommdbServer( void ) 
       
    90 //
       
    91 // NewTestSuitecommdbL is exported at ordinal 1
       
    92 // this provides the interface to allow schedule test
       
    93 // to create instances of this test suite
       
    94 //
       
    95 	{
       
    96 
       
    97 	return new(ELeave) CTE_commdbServer();
       
    98     }
       
    99 
       
   100 	
       
   101 	
       
   102 // __EDIT_ME__ - Substitute the name of your test server 
       
   103 _LIT(KServerName,"te_commdb");
       
   104 // __EDIT_ME__ - Use your own server class name
       
   105 CTE_commdbServer* CTE_commdbServer::NewL()
       
   106 /**
       
   107  * @return - Instance of the test server
       
   108  * Called inside the MainL() function to create and start the
       
   109  * CTestServer derived server.
       
   110  */
       
   111 	{
       
   112 	// __EDIT_ME__ new your server class here
       
   113 	CTE_commdbServer * server = new (ELeave) CTE_commdbServer();
       
   114 	CleanupStack::PushL(server);
       
   115 	
       
   116 	// Either use a StartL or ConstructL, the latter will permit
       
   117 	// Server Logging.
       
   118 
       
   119 	//server->StartL(KServerName); 
       
   120 	server-> ConstructL(KServerName);
       
   121 	CleanupStack::Pop(server);
       
   122 	return server;
       
   123 	}
       
   124 
       
   125 // EKA2 much simpler
       
   126 // Just an E32Main and a MainL()
       
   127 LOCAL_C void MainL()
       
   128 /**
       
   129  * Much simpler, uses the new Rendezvous() call to sync with the client
       
   130  */
       
   131 	{
       
   132 	// Leave the hooks in for platform security
       
   133 #if (defined __DATA_CAGING__)
       
   134 	RProcess().DataCaging(RProcess::EDataCagingOn);
       
   135 	RProcess().SecureApi(RProcess::ESecureApiOn);
       
   136 #endif
       
   137 	CActiveScheduler* sched=NULL;
       
   138 	sched=new(ELeave) CActiveScheduler;
       
   139 	CActiveScheduler::Install(sched);
       
   140 	// __EDIT_ME__ Your server name
       
   141 	CTE_commdbServer* server = NULL;
       
   142 	// Create the CTestServer derived server
       
   143 	// __EDIT_ME__ Your server name
       
   144 	TRAPD(err,server = CTE_commdbServer::NewL());
       
   145 	if(!err)
       
   146 		{
       
   147 		// Sync with the client and enter the active scheduler
       
   148 		RProcess::Rendezvous(KErrNone);
       
   149 		sched->Start();
       
   150 		}
       
   151 	delete server;
       
   152 	delete sched;
       
   153 	}
       
   154 
       
   155 // Only a DLL on emulator for typhoon and earlier
       
   156 
       
   157 GLDEF_C TInt E32Main()
       
   158 /**
       
   159  * @return - Standard Epoc error code on exit
       
   160  */
       
   161 	{
       
   162 	CTrapCleanup* cleanup = CTrapCleanup::New();
       
   163 	if(cleanup == NULL)
       
   164 		{
       
   165 		return KErrNoMemory;
       
   166 		}
       
   167 	TRAP_IGNORE(MainL());
       
   168 	delete cleanup;
       
   169 	return KErrNone;
       
   170     }
       
   171 
       
   172 // Create a thread in the calling process
       
   173 // Emulator typhoon and earlier
       
   174 
       
   175 // __EDIT_ME__ - Use your own server class name
       
   176 CTestStep* CTE_commdbServer::CreateTestStep(const TDesC& aStepName)
       
   177 /**
       
   178  * @return - A CTestStep derived instance
       
   179  * Implementation of CTestServer pure virtual
       
   180  */
       
   181 	{
       
   182 		
       
   183 	// Ensure that the properties get created; normally the RootServer does this
       
   184 	CommsDat::CMDBSession* ptrCommsdatSession = NULL;
       
   185 	TRAPD(result, ptrCommsdatSession = CommsDat::CMDBSession::NewL(CommsDat::CMDBSession::LatestVersion()));
       
   186 	if (result == KErrNone)
       
   187 		{
       
   188 		result = ptrCommsdatSession->PublishProperties();
       
   189 		delete ptrCommsdatSession;
       
   190 		}
       
   191 		
       
   192 	CTestStep* testStep = NULL;
       
   193 	// __EDIT_ME__ - Create your own test steps here
       
   194 	// This server creates just one step but create as many as you want
       
   195 	// They are created "just in time" when the worker thread is created
       
   196 	
       
   197 	
       
   198 	if(aStepName.Compare(_L("step_001_01")) == 0 )
       
   199 		testStep = new(ELeave) CCommDbTest001_01;
       
   200 	else if(aStepName.Compare(_L("step_001_03")) == 0 )
       
   201 		testStep = new(ELeave) CCommDbTest001_03;
       
   202 	else if(aStepName.Compare(_L("step_001_04")) == 0 )
       
   203 		testStep = new(ELeave) CCommDbTest001_04;
       
   204 	else if(aStepName.Compare(_L("step_001_05")) == 0 )
       
   205 		testStep = new(ELeave) CCommDbTest001_05;
       
   206 	else if(aStepName.Compare(_L("step_001_07")) == 0 )
       
   207 		testStep = new(ELeave) CCommDbTest001_07;
       
   208 	else if(aStepName.Compare(_L("step_001_08")) == 0 )
       
   209 		testStep = new(ELeave) CCommDbTest001_08;	
       
   210 	else if(aStepName.Compare(_L("step_001_09")) == 0 )
       
   211 		testStep = new(ELeave) CCommDbTest001_09;
       
   212 	else if(aStepName.Compare(_L("step_001_10")) == 0 )
       
   213 		testStep = new(ELeave) CCommDbTest001_10;
       
   214 	else if(aStepName.Compare(_L("step_002_01")) == 0 )
       
   215 		testStep = new(ELeave) CCommDbTest002_01;
       
   216 	else if(aStepName.Compare(_L("step_003_01")) == 0 )
       
   217 		testStep = new(ELeave) CCommDbTest003_01;
       
   218 	else if(aStepName.Compare(_L("step_003_02")) == 0 )
       
   219 		testStep = new(ELeave) CCommDbTest003_02;
       
   220 	else if(aStepName.Compare(_L("step_003_03")) == 0 )
       
   221 		testStep = new(ELeave) CCommDbTest003_03;
       
   222 	else if(aStepName.Compare(_L("step_003_04")) == 0 )
       
   223 		testStep = new(ELeave) CCommDbTest003_04;
       
   224 	else if(aStepName.Compare(_L("step_003_05")) == 0 )
       
   225 		testStep = new(ELeave) CCommDbTest003_05;
       
   226 	else if(aStepName.Compare(_L("step_003_06")) == 0 )
       
   227 		testStep = new(ELeave) CCommDbTest003_06;
       
   228 	else if(aStepName.Compare(_L("step_003_07")) == 0 )
       
   229 		testStep = new(ELeave) CCommDbTest003_07;
       
   230 	else if(aStepName.Compare(_L("step_003_08")) == 0 )
       
   231 		testStep = new(ELeave) CCommDbTest003_08;
       
   232 	else if(aStepName.Compare(_L("step_004_01")) == 0 )
       
   233 		testStep = new(ELeave) CCommDbTest004_01;
       
   234 	else if(aStepName.Compare(_L("step_004_01")) == 0 )
       
   235 		testStep = new(ELeave) CCommDbTest004_01;
       
   236 	else if(aStepName.Compare(_L("step_004_02")) == 0 )
       
   237 		testStep = new(ELeave) CCommDbTest004_02;
       
   238 	else if(aStepName.Compare(_L("step_004_03")) == 0 )
       
   239 		testStep = new(ELeave) CCommDbTest004_03;	
       
   240 	else if(aStepName.Compare(_L("step_004_04")) == 0 )
       
   241 		testStep = new(ELeave) CCommDbTest004_04;
       
   242 	else if(aStepName.Compare(_L("step_004_05")) == 0 )
       
   243 		testStep = new(ELeave) CCommDbTest004_05;
       
   244 	else if(aStepName.Compare(_L("step_004_06")) == 0 )
       
   245 		testStep = new(ELeave) CCommDbTest004_06;
       
   246 	else if(aStepName.Compare(_L("step_005_01")) == 0 )
       
   247 		testStep = new(ELeave) CCommDbTest005_01;
       
   248 	else if(aStepName.Compare(_L("step_005_02")) == 0 )
       
   249 		testStep = new(ELeave) CCommDbTest005_02;
       
   250 	else if(aStepName.Compare(_L("step_005_03")) == 0 )
       
   251 		testStep = new(ELeave) CCommDbTest005_03;	
       
   252 	else if(aStepName.Compare(_L("step_005_04")) == 0 )
       
   253 		testStep = new(ELeave) CCommDbTest005_04;
       
   254 	else if(aStepName.Compare(_L("step_006_01")) == 0 )
       
   255 		testStep = new(ELeave) CCommDbTest006_01;
       
   256 	else if(aStepName.Compare(_L("step_006_02")) == 0 )
       
   257 		testStep = new(ELeave) CCommDbTest006_02;
       
   258 	else if(aStepName.Compare(_L("step_006_03")) == 0 )
       
   259 		testStep = new(ELeave) CCommDbTest006_03;	
       
   260 	else if(aStepName.Compare(_L("step_006_04")) == 0 )
       
   261 		testStep = new(ELeave) CCommDbTest006_04;
       
   262 	else if(aStepName.Compare(_L("step_006_05")) == 0 )
       
   263 		testStep = new(ELeave) CCommDbTest006_05;
       
   264 	else if(aStepName.Compare(_L("step_007_01")) == 0 )
       
   265 		testStep = new(ELeave) CCommDbTest007_01;
       
   266 	else if(aStepName.Compare(_L("step_007_02")) == 0 )
       
   267 		testStep = new(ELeave) CCommDbTest007_02;
       
   268 	else if(aStepName.Compare(_L("step_007_03")) == 0 )
       
   269 		testStep = new(ELeave) CCommDbTest007_03;	
       
   270 	else if(aStepName.Compare(_L("step_007_04")) == 0 )
       
   271 		testStep = new(ELeave) CCommDbTest007_04;
       
   272 	else if(aStepName.Compare(_L("step_007_05")) == 0 )
       
   273 		testStep = new(ELeave) CCommDbTest007_05;
       
   274 	else if(aStepName.Compare(_L("step_007_06")) == 0 )
       
   275 		testStep = new(ELeave) CCommDbTest007_06;
       
   276 	else if(aStepName.Compare(_L("step_007_07")) == 0 )
       
   277 		testStep = new(ELeave) CCommDbTest007_07;
       
   278 	else if(aStepName.Compare(_L("step_007_08")) == 0 )
       
   279 		testStep = new(ELeave) CCommDbTest007_08;	
       
   280 	else if(aStepName.Compare(_L("step_007_09")) == 0 )
       
   281 		testStep = new(ELeave) CCommDbTest007_09;
       
   282 	else if(aStepName.Compare(_L("step_007_10")) == 0 )
       
   283 		testStep = new(ELeave) CCommDbTest007_10;
       
   284 	else if(aStepName.Compare(_L("step_007_11")) == 0 )
       
   285 		testStep = new(ELeave) CCommDbTest007_11;
       
   286 	else if(aStepName.Compare(_L("step_007_12")) == 0 )
       
   287 		testStep = new(ELeave) CCommDbTest007_12;	
       
   288 	else if(aStepName.Compare(_L("step_007_14")) == 0 )
       
   289 		testStep = new(ELeave) CCommDbTest007_14;
       
   290 	else if(aStepName.Compare(_L("step_007_15")) == 0 )
       
   291 		testStep = new(ELeave) CCommDbTest007_15;
       
   292 	else if(aStepName.Compare(_L("step_007_16")) == 0 )
       
   293 		testStep = new(ELeave) CCommDbTest007_16;
       
   294 	else if(aStepName.Compare(_L("step_007_17")) == 0 )
       
   295 		testStep = new(ELeave) CCommDbTest007_17;
       
   296 	else if(aStepName.Compare(_L("step_007_18")) == 0 )
       
   297 		testStep = new(ELeave) CCommDbTest007_18;	
       
   298 	else if(aStepName.Compare(_L("step_007_19")) == 0 )
       
   299 		testStep = new(ELeave) CCommDbTest007_19;
       
   300 	else if(aStepName.Compare(_L("step_007_20")) == 0 )
       
   301 		testStep = new(ELeave) CCommDbTest007_20;
       
   302 	else if(aStepName.Compare(_L("step_008_01")) == 0 )
       
   303 		testStep = new(ELeave) CCommDbTest008_01;
       
   304 	else if(aStepName.Compare(_L("step_008_02")) == 0 )
       
   305 		testStep = new(ELeave) CCommDbTest008_02;
       
   306 	else if(aStepName.Compare(_L("step_008_03")) == 0 )
       
   307 		testStep = new(ELeave) CCommDbTest008_03;	
       
   308 	else if(aStepName.Compare(_L("step_008_04")) == 0 )
       
   309 		testStep = new(ELeave) CCommDbTest008_04;
       
   310 	else if(aStepName.Compare(_L("step_009_01")) == 0 )
       
   311 		testStep = new(ELeave) CCommDbTest009_01;
       
   312 	else if(aStepName.Compare(_L("step_009_02")) == 0 )
       
   313 		testStep = new(ELeave) CCommDbTest009_02;
       
   314 	else if(aStepName.Compare(_L("step_009_03")) == 0 )
       
   315 		testStep = new(ELeave) CCommDbTest009_03;	
       
   316 	else if(aStepName.Compare(_L("step_009_04")) == 0 )
       
   317 		testStep = new(ELeave) CCommDbTest009_04;
       
   318 	else if(aStepName.Compare(_L("step_009_05")) == 0 )
       
   319 		testStep = new(ELeave) CCommDbTest009_05;
       
   320 	else if(aStepName.Compare(_L("step_009_06")) == 0 )
       
   321 		testStep = new(ELeave) CCommDbTest009_06;
       
   322 	else if(aStepName.Compare(_L("step_009_07")) == 0 )
       
   323 		testStep = new(ELeave) CCommDbTest009_07;
       
   324 	else if(aStepName.Compare(_L("step_009_08")) == 0 )
       
   325 		testStep = new(ELeave) CCommDbTest009_08;	
       
   326 	else if(aStepName.Compare(_L("step_009_09")) == 0 )
       
   327 		testStep = new(ELeave) CCommDbTest009_09;
       
   328 	else if(aStepName.Compare(_L("step_009_10")) == 0 )
       
   329 		testStep = new(ELeave) CCommDbTest009_10;
       
   330 	else if(aStepName.Compare(_L("step_009_11")) == 0 )
       
   331 		testStep = new(ELeave) CCommDbTest009_11;
       
   332 	else if(aStepName.Compare(_L("step_009_12")) == 0 )
       
   333 		testStep = new(ELeave) CCommDbTest009_12;	
       
   334 	else if(aStepName.Compare(_L("step_009_13")) == 0 )
       
   335 		testStep = new(ELeave) CCommDbTest009_13;
       
   336 	else if(aStepName.Compare(_L("step_009_14")) == 0 )
       
   337 		testStep = new(ELeave) CCommDbTest009_14;
       
   338 	else if(aStepName.Compare(_L("step_009_15")) == 0 )
       
   339 		testStep = new(ELeave) CCommDbTest009_15;
       
   340 	else if(aStepName.Compare(_L("step_009_16")) == 0 )
       
   341 		testStep = new(ELeave) CCommDbTest009_16;
       
   342 	else if(aStepName.Compare(_L("step_009_17")) == 0 )
       
   343 		testStep = new(ELeave) CCommDbTest009_17;
       
   344 	else if(aStepName.Compare(_L("step_009_18")) == 0 )
       
   345 		testStep = new(ELeave) CCommDbTest009_18;	
       
   346 	else if(aStepName.Compare(_L("step_009_19")) == 0 )
       
   347 		testStep = new(ELeave) CCommDbTest009_19;
       
   348 	else if(aStepName.Compare(_L("step_009_20")) == 0 )
       
   349 		testStep = new(ELeave) CCommDbTest009_20;
       
   350 	else if(aStepName.Compare(_L("step_009_21")) == 0 )
       
   351 		testStep = new(ELeave) CCommDbTest009_21;
       
   352 	else if(aStepName.Compare(_L("step_010_01")) == 0 )
       
   353 		testStep = new(ELeave) CCommDbTest010_01;
       
   354 	else if(aStepName.Compare(_L("step_010_02")) == 0 )
       
   355 		testStep = new(ELeave) CCommDbTest010_02;
       
   356 	else if(aStepName.Compare(_L("step_010_03")) == 0 )
       
   357 		testStep = new(ELeave) CCommDbTest010_03;	
       
   358 	else if(aStepName.Compare(_L("step_010_04")) == 0 )
       
   359 		testStep = new(ELeave) CCommDbTest010_04;
       
   360 	else if(aStepName.Compare(_L("step_010_05")) == 0 )
       
   361 		testStep = new(ELeave) CCommDbTest010_05;
       
   362 	else if(aStepName.Compare(_L("step_011_01")) == 0 )
       
   363 		testStep = new(ELeave) CCommDbTest011_01;
       
   364 	else if(aStepName.Compare(_L("step_011_02")) == 0 )
       
   365 		testStep = new(ELeave) CCommDbTest011_02;
       
   366 	else if(aStepName.Compare(_L("step_011_03")) == 0 )
       
   367 		testStep = new(ELeave) CCommDbTest011_03;	
       
   368 	else if(aStepName.Compare(_L("step_011_04")) == 0 )
       
   369 		testStep = new(ELeave) CCommDbTest011_04;
       
   370 	else if(aStepName.Compare(_L("step_012_01")) == 0 )
       
   371 		testStep = new(ELeave) CCommDbTest012_01;
       
   372 	else if(aStepName.Compare(_L("step_012_02")) == 0 )
       
   373 		testStep = new(ELeave) CCommDbTest012_02;
       
   374 	else if(aStepName.Compare(_L("step_012_03")) == 0 )
       
   375 		testStep = new(ELeave) CCommDbTest012_03;	
       
   376 	else if(aStepName.Compare(_L("step_012_04")) == 0 )
       
   377 		testStep = new(ELeave) CCommDbTest012_04;
       
   378 	else if(aStepName.Compare(_L("step_012_05")) == 0 )
       
   379 		testStep = new(ELeave) CCommDbTest012_05;
       
   380 	else if(aStepName.Compare(_L("step_012_06")) == 0 )
       
   381 		testStep = new(ELeave) CCommDbTest012_06;
       
   382 	else if(aStepName.Compare(_L("step_012_07")) == 0 )
       
   383 		testStep = new(ELeave) CCommDbTest012_07;
       
   384 	else if(aStepName.Compare(_L("step_013_01")) == 0 )
       
   385 		testStep = new(ELeave) CCommDbTest013_01;
       
   386 	else if(aStepName.Compare(_L("step_013_02")) == 0 )
       
   387 		testStep = new(ELeave) CCommDbTest013_02;
       
   388 	else if(aStepName.Compare(_L("step_013_03")) == 0 )
       
   389 		testStep = new(ELeave) CCommDbTest013_03;	
       
   390 	else if(aStepName.Compare(_L("step_013_04")) == 0 )
       
   391 		testStep = new(ELeave) CCommDbTest013_04;
       
   392 	else if(aStepName.Compare(_L("step_014_01")) == 0 )
       
   393 		testStep = new(ELeave) CCommDbTest014_01;
       
   394 	else if(aStepName.Compare(_L("step_014_02")) == 0 )
       
   395 		testStep = new(ELeave) CCommDbTest014_02;
       
   396 	else if(aStepName.Compare(_L("step_014_03")) == 0 )
       
   397 		testStep = new(ELeave) CCommDbTest014_03;	
       
   398 	else if(aStepName.Compare(_L("step_014_04")) == 0 )
       
   399 		testStep = new(ELeave) CCommDbTest014_04;
       
   400 	else if(aStepName.Compare(_L("step_015_01")) == 0 )
       
   401 		testStep = new(ELeave) CCommDbTest015_01;
       
   402 	else if(aStepName.Compare(_L("step_015_02")) == 0 )
       
   403 		testStep = new(ELeave) CCommDbTest015_02;
       
   404 	else if(aStepName.Compare(_L("step_015_03")) == 0 )
       
   405 		testStep = new(ELeave) CCommDbTest015_03;	
       
   406 	else if(aStepName.Compare(_L("step_015_04")) == 0 )
       
   407 		testStep = new(ELeave) CCommDbTest015_04;
       
   408 	else if(aStepName.Compare(_L("step_015_05")) == 0 )
       
   409 		testStep = new(ELeave) CCommDbTest015_05;
       
   410 	else if(aStepName.Compare(_L("step_015_06")) == 0 )
       
   411 		testStep = new(ELeave) CCommDbTest015_06;
       
   412 	else if(aStepName.Compare(_L("step_015_07")) == 0 )
       
   413 		testStep = new(ELeave) CCommDbTest015_07;
       
   414 	else if(aStepName.Compare(_L("step_015_08")) == 0 )
       
   415 		testStep = new(ELeave) CCommDbTest015_08;
       
   416 	else if(aStepName.Compare(_L("step_015_09")) == 0 )
       
   417 		testStep = new(ELeave) CCommDbTest015_09;
       
   418 	else if(aStepName.Compare(_L("step_015_10")) == 0 )
       
   419 		testStep = new(ELeave) CCommDbTest015_10;
       
   420 	else if(aStepName.Compare(_L("step_015_11")) == 0 )
       
   421 		testStep = new(ELeave) CCommDbTest015_11;
       
   422 	else if(aStepName.Compare(_L("step_015_12")) == 0 )
       
   423 		testStep = new(ELeave) CCommDbTest015_12;
       
   424 	else if(aStepName.Compare(_L("step_015_13")) == 0 )
       
   425 		testStep = new(ELeave) CCommDbTest015_13;	
       
   426 	else if(aStepName.Compare(_L("step_015_14")) == 0 )
       
   427 		testStep = new(ELeave) CCommDbTest015_14;
       
   428 	else if(aStepName.Compare(_L("step_015_15")) == 0 )
       
   429 		testStep = new(ELeave) CCommDbTest015_15;
       
   430 	else if(aStepName.Compare(_L("step_015_16")) == 0 )
       
   431 		testStep = new(ELeave) CCommDbTest015_16;
       
   432 	else if(aStepName.Compare(_L("step_016_01")) == 0 )
       
   433 		testStep = new(ELeave) CCommDbTest016_01;
       
   434 	else if(aStepName.Compare(_L("step_016_02")) == 0 )
       
   435 		testStep = new(ELeave) CCommDbTest016_02;
       
   436 	else if(aStepName.Compare(_L("step_016_04")) == 0 )
       
   437 		testStep = new(ELeave) CCommDbTest016_04;
       
   438 	else if(aStepName.Compare(_L("step_016_05")) == 0 )
       
   439 		testStep = new(ELeave) CCommDbTest016_05;
       
   440 	else if(aStepName.Compare(_L("step_016_07")) == 0 )
       
   441 		testStep = new(ELeave) CCommDbTest016_07;
       
   442 	else if(aStepName.Compare(_L("step_016_08")) == 0 )
       
   443 		testStep = new(ELeave) CCommDbTest016_08;
       
   444 	else if(aStepName.Compare(_L("step_016_09")) == 0 )
       
   445 		testStep = new(ELeave) CCommDbTest016_09;
       
   446 	else if(aStepName.Compare(_L("step_017_01")) == 0 )
       
   447 		testStep = new(ELeave) CCommDbTest017_01;
       
   448 	else if(aStepName.Compare(_L("step_017_02")) == 0 )
       
   449 		testStep = new(ELeave) CCommDbTest017_02;
       
   450 	else if(aStepName.Compare(_L("step_017_03")) == 0 )
       
   451 		testStep = new(ELeave) CCommDbTest017_03;	
       
   452 	else if(aStepName.Compare(_L("step_017_04")) == 0 )
       
   453 		testStep = new(ELeave) CCommDbTest017_04;
       
   454 	else if(aStepName.Compare(_L("step_017_05")) == 0 )
       
   455 		testStep = new(ELeave) CCommDbTest017_05;
       
   456 	else if(aStepName.Compare(_L("step_017_06")) == 0 )
       
   457 		testStep = new(ELeave) CCommDbTest017_06;
       
   458 	else if(aStepName.Compare(_L("step_017_07")) == 0 )
       
   459 		testStep = new(ELeave) CCommDbTest017_07;
       
   460 	else if(aStepName.Compare(_L("step_018_01")) == 0 )
       
   461 		testStep = new(ELeave) CCommDbTest018_01;
       
   462 	else if(aStepName.Compare(_L("step_018_02")) == 0 )
       
   463 		testStep = new(ELeave) CCommDbTest018_02;
       
   464 	else if(aStepName.Compare(_L("step_018_03")) == 0 )
       
   465 		testStep = new(ELeave) CCommDbTest018_03;	
       
   466 	else if(aStepName.Compare(_L("step_018_04")) == 0 )
       
   467 		testStep = new(ELeave) CCommDbTest018_04;
       
   468 	else if(aStepName.Compare(_L("step_018_05")) == 0 )
       
   469 		testStep = new(ELeave) CCommDbTest018_05;
       
   470 	else if(aStepName.Compare(_L("step_018_06")) == 0 )
       
   471 		testStep = new(ELeave) CCommDbTest018_06;
       
   472 	else if(aStepName.Compare(_L("step_018_07")) == 0 )
       
   473 		testStep = new(ELeave) CCommDbTest018_07;
       
   474 	else if(aStepName.Compare(_L("step_018_08")) == 0 )
       
   475 		testStep = new(ELeave) CCommDbTest018_08;
       
   476 	else if(aStepName.Compare(_L("step_019_01")) == 0 )
       
   477 		testStep = new(ELeave) CCommDbTest019_01;
       
   478 	else if(aStepName.Compare(_L("step_019_02")) == 0 )
       
   479 		testStep = new(ELeave) CCommDbTest019_02;
       
   480 	else if(aStepName.Compare(_L("step_019_03")) == 0 )
       
   481 		testStep = new(ELeave) CCommDbTest019_03;	
       
   482 	else if(aStepName.Compare(_L("step_019_04")) == 0 )
       
   483 		testStep = new(ELeave) CCommDbTest019_04;
       
   484 	else if(aStepName.Compare(_L("step_019_05")) == 0 )
       
   485 		testStep = new(ELeave) CCommDbTest019_05;
       
   486 	else if(aStepName.Compare(_L("step_019_06")) == 0 )
       
   487 		testStep = new(ELeave) CCommDbTest019_06;
       
   488 	else if(aStepName.Compare(_L("step_019_07")) == 0 )
       
   489 		testStep = new(ELeave) CCommDbTest019_07;
       
   490 	else if(aStepName.Compare(_L("step_019_08")) == 0 )
       
   491 		testStep = new(ELeave) CCommDbTest019_08;
       
   492 	else if(aStepName.Compare(_L("step_019_09")) == 0 )
       
   493 		testStep = new(ELeave) CCommDbTest019_09;
       
   494 	else if(aStepName.Compare(_L("step_019_10")) == 0 )
       
   495 		testStep = new(ELeave) CCommDbTest019_10;
       
   496 	else if(aStepName.Compare(_L("step_019_11")) == 0 )
       
   497 		testStep = new(ELeave) CCommDbTest019_11;
       
   498 	else if(aStepName.Compare(_L("step_019_12")) == 0 )
       
   499 		testStep = new(ELeave) CCommDbTest019_12;
       
   500 	else if(aStepName.Compare(_L("step_019_13")) == 0 )
       
   501 		testStep = new(ELeave) CCommDbTest019_13;	
       
   502 	else if(aStepName.Compare(_L("step_019_14")) == 0 )
       
   503 		testStep = new(ELeave) CCommDbTest019_14;
       
   504 	else if(aStepName.Compare(_L("step_020_01")) == 0 )
       
   505 		testStep = new(ELeave) CCommDbTest020_01;
       
   506 	else if(aStepName.Compare(_L("step_020_02")) == 0 )
       
   507 		testStep = new(ELeave) CCommDbTest020_02;
       
   508 	else if(aStepName.Compare(_L("step_020_03")) == 0 )
       
   509 		testStep = new(ELeave) CCommDbTest020_03;	
       
   510 	else if(aStepName.Compare(_L("step_020_04")) == 0 )
       
   511 		testStep = new(ELeave) CCommDbTest020_04;
       
   512 	else if(aStepName.Compare(_L("step_020_05")) == 0 )
       
   513 		testStep = new(ELeave) CCommDbTest020_05;
       
   514 	else if(aStepName.Compare(_L("step_020_06")) == 0 )
       
   515 		testStep = new(ELeave) CCommDbTest020_06;
       
   516 	else if(aStepName.Compare(_L("step_020_07")) == 0 )
       
   517 		testStep = new(ELeave) CCommDbTest020_07;
       
   518 	else if(aStepName.Compare(_L("step_020_08")) == 0 )
       
   519 		testStep = new(ELeave) CCommDbTest020_08;
       
   520 	else if(aStepName.Compare(_L("step_021_01")) == 0 )
       
   521 		testStep = new(ELeave) CCommDbTest021_01;
       
   522 	else if(aStepName.Compare(_L("step_021_02")) == 0 )
       
   523 		testStep = new(ELeave) CCommDbTest021_02;
       
   524 	else if(aStepName.Compare(_L("step_021_03")) == 0 )
       
   525 		testStep = new(ELeave) CCommDbTest021_03;	
       
   526 	else if(aStepName.Compare(_L("step_021_04")) == 0 )
       
   527 		testStep = new(ELeave) CCommDbTest021_04;
       
   528 	else if(aStepName.Compare(_L("step_021_05")) == 0 )
       
   529 		testStep = new(ELeave) CCommDbTest021_05;
       
   530 	else if(aStepName.Compare(_L("step_022_01")) == 0 )
       
   531 		testStep = new(ELeave) CCommDbTest022_01;
       
   532 	else if(aStepName.Compare(_L("step_022_02")) == 0 )
       
   533 		testStep = new(ELeave) CCommDbTest022_02;
       
   534 	else if(aStepName.Compare(_L("step_022_03")) == 0 )
       
   535 		testStep = new(ELeave) CCommDbTest022_03;	
       
   536 	else if(aStepName.Compare(_L("step_022_04")) == 0 )
       
   537 		testStep = new(ELeave) CCommDbTest022_04;
       
   538 	else if(aStepName.Compare(_L("step_022_05")) == 0 )
       
   539 		testStep = new(ELeave) CCommDbTest022_05;
       
   540 	else if(aStepName.Compare(_L("step_022_06")) == 0 )
       
   541 		testStep = new(ELeave) CCommDbTest022_06;
       
   542 	else if(aStepName.Compare(_L("step_022_07")) == 0 )
       
   543 		testStep = new(ELeave) CCommDbTest022_07;
       
   544 	else if(aStepName.Compare(_L("step_022_08")) == 0 )
       
   545 		testStep = new(ELeave) CCommDbTest022_08;
       
   546 	else if(aStepName.Compare(_L("step_022_09")) == 0 )
       
   547 		testStep = new(ELeave) CCommDbTest022_09;
       
   548 	else if(aStepName.Compare(_L("step_022_10")) == 0 )
       
   549 		testStep = new(ELeave) CCommDbTest022_10;
       
   550 	else if(aStepName.Compare(_L("step_022_11")) == 0 )
       
   551 		testStep = new(ELeave) CCommDbTest022_11;
       
   552 	else if(aStepName.Compare(_L("step_022_12")) == 0 )
       
   553 		testStep = new(ELeave) CCommDbTest022_12;
       
   554 	else if(aStepName.Compare(_L("step_022_13")) == 0 )
       
   555 		testStep = new(ELeave) CCommDbTest022_13;	
       
   556 	else if(aStepName.Compare(_L("step_022_14")) == 0 )
       
   557 		testStep = new(ELeave) CCommDbTest022_14;
       
   558 	else if(aStepName.Compare(_L("step_022_16")) == 0 )
       
   559 		testStep = new(ELeave) CCommDbTest022_16;
       
   560 	else if(aStepName.Compare(_L("step_022_17")) == 0 )
       
   561 		testStep = new(ELeave) CCommDbTest022_17;
       
   562 	else if(aStepName.Compare(_L("step_022_18")) == 0 )
       
   563 		testStep = new(ELeave) CCommDbTest022_18;
       
   564 	else if(aStepName.Compare(_L("step_022_19")) == 0 )
       
   565 		testStep = new(ELeave) CCommDbTest022_19;
       
   566 	else if(aStepName.Compare(_L("step_022_20")) == 0 )
       
   567 		testStep = new(ELeave) CCommDbTest022_20;
       
   568 	else if(aStepName.Compare(_L("step_022_21")) == 0 )
       
   569 		testStep = new(ELeave) CCommDbTest022_21;
       
   570 	else if(aStepName.Compare(_L("step_022_22")) == 0 )
       
   571 		testStep = new(ELeave) CCommDbTest022_22;
       
   572 	else if(aStepName.Compare(_L("step_022_23")) == 0 )
       
   573 		testStep = new(ELeave) CCommDbTest022_23;	
       
   574 	else if(aStepName.Compare(_L("step_022_24")) == 0 )
       
   575 		testStep = new(ELeave) CCommDbTest022_24;
       
   576 	else if(aStepName.Compare(_L("step_022_25")) == 0 )
       
   577 		testStep = new(ELeave) CCommDbTest022_25;
       
   578 	else if(aStepName.Compare(_L("step_022_26")) == 0 )
       
   579 		testStep = new(ELeave) CCommDbTest022_26;
       
   580 	else if(aStepName.Compare(_L("step_022_27")) == 0 )
       
   581 		testStep = new(ELeave) CCommDbTest022_27;
       
   582 	else if(aStepName.Compare(_L("step_022_28")) == 0 )
       
   583 		testStep = new(ELeave) CCommDbTest022_28;
       
   584 	else if(aStepName.Compare(_L("step_022_29")) == 0 )
       
   585 		testStep = new(ELeave) CCommDbTest022_29;
       
   586 	else if(aStepName.Compare(_L("step_022_30")) == 0 )
       
   587 		testStep = new(ELeave) CCommDbTest022_30;
       
   588 	else if(aStepName.Compare(_L("step_023_01")) == 0 )
       
   589 		testStep = new(ELeave) CCommDbTest023_01;
       
   590 	else if(aStepName.Compare(_L("step_023_02")) == 0 )
       
   591 		testStep = new(ELeave) CCommDbTest023_02;
       
   592 	else if(aStepName.Compare(_L("step_023_03")) == 0 )
       
   593 		testStep = new(ELeave) CCommDbTest023_03;
       
   594 	else if(aStepName.Compare(_L("step_023_04")) == 0 )
       
   595 		testStep = new(ELeave) CCommDbTest023_04;
       
   596 	else if(aStepName.Compare(_L("step_023_05")) == 0 )
       
   597 		testStep = new(ELeave) CCommDbTest023_05;
       
   598 	else if(aStepName.Compare(_L("step_023_06")) == 0 )
       
   599 		testStep = new(ELeave) CCommDbTest023_06;
       
   600 	else if(aStepName.Compare(_L("step_024_01")) == 0 )
       
   601 		testStep = new(ELeave) CCommDbTest024_01;
       
   602 	else if(aStepName.Compare(_L("step_024_02")) == 0 )
       
   603 		testStep = new(ELeave) CCommDbTest024_02;
       
   604 	else if(aStepName.Compare(_L("step_024_03")) == 0 )
       
   605 		testStep = new(ELeave) CCommDbTest024_03;
       
   606 	else if(aStepName.Compare(_L("step_024_04")) == 0 )
       
   607 		testStep = new(ELeave) CCommDbTest024_04;
       
   608 	else if(aStepName.Compare(_L("step_024_05")) == 0 )
       
   609 		testStep = new(ELeave) CCommDbTest024_05;
       
   610 	else if(aStepName.Compare(_L("step_024_06")) == 0 )
       
   611 		testStep = new(ELeave) CCommDbTest024_06;
       
   612 	else if(aStepName.Compare(_L("step_024_07")) == 0 )
       
   613 		testStep = new(ELeave) CCommDbTest024_07;
       
   614 	else if(aStepName.Compare(_L("step_024_08")) == 0 )
       
   615 		testStep = new(ELeave) CCommDbTest024_08;
       
   616 	else if(aStepName.Compare(_L("step_024_09")) == 0 )
       
   617 		testStep = new(ELeave) CCommDbTest024_09;
       
   618 	else if(aStepName.Compare(_L("step_025_01")) == 0 )
       
   619 		testStep = new(ELeave) CCommDbTest025_01;
       
   620 	else if(aStepName.Compare(_L("step_025_02")) == 0 )
       
   621 		testStep = new(ELeave) CCommDbTest025_02;
       
   622 	else if(aStepName.Compare(_L("step_026_01")) == 0 )
       
   623 		testStep = new(ELeave) CCommDbTest026_01;
       
   624 	else if(aStepName.Compare(_L("step_026_02")) == 0 )
       
   625 		testStep = new(ELeave) CCommDbTest026_02;
       
   626 	else if(aStepName.Compare(_L("step_026_03")) == 0 )
       
   627 		testStep = new(ELeave) CCommDbTest026_03;
       
   628 	else if(aStepName.Compare(_L("step_026_04")) == 0 )
       
   629 		testStep = new(ELeave) CCommDbTest026_04;
       
   630 	else if(aStepName.Compare(_L("step_026_05")) == 0 )
       
   631 		testStep = new(ELeave) CCommDbTest026_05;
       
   632 	else if(aStepName.Compare(_L("step_026_06")) == 0 )
       
   633 		testStep = new(ELeave) CCommDbTest026_06;
       
   634 	else if(aStepName.Compare(_L("step_026_07")) == 0 )
       
   635 		testStep = new(ELeave) CCommDbTest026_07;
       
   636 	else if(aStepName.Compare(_L("step_026_08")) == 0 )
       
   637 		testStep = new(ELeave) CCommDbTest026_08;
       
   638 	else if(aStepName.Compare(_L("step_026_09")) == 0 )
       
   639 		testStep = new(ELeave) CCommDbTest026_09;
       
   640 	else if(aStepName.Compare(_L("step_026_10")) == 0 )
       
   641 		testStep = new(ELeave) CCommDbTest026_10;
       
   642 	else if(aStepName.Compare(_L("step_026_11")) == 0 )
       
   643 		testStep = new(ELeave) CCommDbTest026_11;
       
   644 	else if(aStepName.Compare(_L("step_026_12")) == 0 )
       
   645 		testStep = new(ELeave) CCommDbTest026_12;
       
   646 	else if(aStepName.Compare(_L("step_026_13")) == 0 )
       
   647 		testStep = new(ELeave) CCommDbTest026_13;
       
   648 	else if(aStepName.Compare(_L("step_026_14")) == 0 )
       
   649 		testStep = new(ELeave) CCommDbTest026_14;
       
   650 	else if(aStepName.Compare(_L("step_026_15")) == 0 )
       
   651 		testStep = new(ELeave) CCommDbTest026_15;
       
   652 	else if(aStepName.Compare(_L("step_026_16")) == 0 )
       
   653 		testStep = new(ELeave) CCommDbTest026_16;
       
   654 	else if(aStepName.Compare(_L("step_027_01")) == 0 )
       
   655 		testStep = new(ELeave) CCommDbTest027_01;
       
   656 	else if(aStepName.Compare(_L("step_027_02")) == 0 )
       
   657 		testStep = new(ELeave) CCommDbTest027_02;
       
   658 	else if(aStepName.Compare(_L("step_028_01")) == 0 )
       
   659 		testStep = new(ELeave) CCommDbTest028_01;
       
   660 	else if(aStepName.Compare(_L("step_028_02")) == 0 )
       
   661 		testStep = new(ELeave) CCommDbTest028_02;
       
   662 	else if(aStepName.Compare(_L("step_028_03")) == 0 )
       
   663 		testStep = new(ELeave) CCommDbTest028_03;
       
   664 	else if(aStepName.Compare(_L("step_028_04")) == 0 )
       
   665 		testStep = new(ELeave) CCommDbTest028_04;
       
   666 	else if(aStepName.Compare(_L("step_028_05")) == 0 )
       
   667 		testStep = new(ELeave) CCommDbTest028_05;
       
   668 	else if(aStepName.Compare(_L("step_028_06")) == 0 )
       
   669 		testStep = new(ELeave) CCommDbTest028_06;
       
   670 	else if(aStepName.Compare(_L("step_028_07")) == 0 )
       
   671 		testStep = new(ELeave) CCommDbTest028_07;
       
   672 	else if(aStepName.Compare(_L("step_029_01")) == 0 )
       
   673 		testStep = new(ELeave) CCommDbTest029_01;
       
   674 	else if(aStepName.Compare(_L("step_029_02")) == 0 )
       
   675 		testStep = new(ELeave) CCommDbTest029_02;
       
   676 	else if(aStepName.Compare(_L("step_029_03")) == 0 )
       
   677 		testStep = new(ELeave) CCommDbTest029_03;
       
   678 	else if(aStepName.Compare(_L("step_029_04")) == 0 )
       
   679 		testStep = new(ELeave) CCommDbTest029_04;
       
   680 	else if(aStepName.Compare(_L("step_030_01")) == 0 )
       
   681 		testStep = new(ELeave) CCommDbTest030_01;
       
   682 	else if(aStepName.Compare(_L("step_030_02")) == 0 )
       
   683 		testStep = new(ELeave) CCommDbTest030_02;
       
   684 	else if(aStepName.Compare(_L("step_030_03")) == 0 )
       
   685 		testStep = new(ELeave) CCommDbTest030_03 ;
       
   686 	else if(aStepName.Compare(_L("step_031_01")) == 0 )
       
   687 		testStep = new(ELeave) CCommDbTest031_01;
       
   688 	else if(aStepName.Compare(_L("step_031_02")) == 0 )
       
   689 		testStep = new(ELeave) CCommDbTest031_02;
       
   690 	else if(aStepName.Compare(_L("step_031_03")) == 0 )
       
   691 		testStep = new(ELeave) CCommDbTest031_03;
       
   692 	else if(aStepName.Compare(_L("step_031_04")) == 0 )
       
   693 		testStep = new(ELeave) CCommDbTest031_04;
       
   694 	else if(aStepName.Compare(_L("step_031_05")) == 0 )
       
   695 		testStep = new(ELeave) CCommDbTest031_05;
       
   696 	else if(aStepName.Compare(_L("step_032_01")) == 0 )
       
   697 		testStep = new(ELeave) CCommDbTest032_01;
       
   698 	else if(aStepName.Compare(_L("step_032_02")) == 0 )
       
   699 		testStep = new(ELeave) CCommDbTest032_02;
       
   700 	else if(aStepName.Compare(_L("step_032_03")) == 0 )
       
   701 		testStep = new(ELeave) CCommDbTest032_03;
       
   702 	else if(aStepName.Compare(_L("step_032_04")) == 0 )
       
   703 		testStep = new(ELeave) CCommDbTest032_04;
       
   704 	else if(aStepName.Compare(_L("step_032_05")) == 0 )
       
   705 		testStep = new(ELeave) CCommDbTest032_05;
       
   706 	else if(aStepName.Compare(_L("step_033_01")) == 0 )
       
   707 		testStep = new(ELeave) CCommDbTest033_01;
       
   708 	else if(aStepName.Compare(_L("step_033_02")) == 0 )
       
   709 		testStep = new(ELeave) CCommDbTest033_02;
       
   710 	else if(aStepName.Compare(_L("step_033_03")) == 0 )
       
   711 		testStep = new(ELeave) CCommDbTest033_03;
       
   712 	else if(aStepName.Compare(_L("step_033_04")) == 0 )
       
   713 		testStep = new(ELeave) CCommDbTest033_04;
       
   714 	else if(aStepName.Compare(_L("step_033_05")) == 0 )
       
   715 		testStep = new(ELeave) CCommDbTest033_05;
       
   716 	else if(aStepName.Compare(_L("step_033_06")) == 0 )
       
   717 		testStep = new(ELeave) CCommDbTest033_06;
       
   718 	else if(aStepName.Compare(_L("step_033_07")) == 0 )
       
   719 		testStep = new(ELeave) CCommDbTest033_07;
       
   720 	else if(aStepName.Compare(_L("step_033_08")) == 0 )
       
   721 		testStep = new(ELeave) CCommDbTest033_08;
       
   722 	else if(aStepName.Compare(_L("step_033_09")) == 0 )
       
   723 		testStep = new(ELeave) CCommDbTest033_09;
       
   724 	else if(aStepName.Compare(_L("step_034_01")) == 0 )
       
   725 		testStep = new(ELeave) CCommDbTest034_01;
       
   726 	else if(aStepName.Compare(_L("step_034_02")) == 0 )
       
   727 		testStep = new(ELeave) CCommDbTest034_02;
       
   728 	else if(aStepName.Compare(_L("step_034_03")) == 0 )
       
   729 		testStep = new(ELeave) CCommDbTest034_03;
       
   730 	else if(aStepName.Compare(_L("step_034_04")) == 0 )
       
   731 		testStep = new(ELeave) CCommDbTest034_04;
       
   732 	else if(aStepName.Compare(_L("step_034_05")) == 0 )
       
   733 		testStep = new(ELeave) CCommDbTest034_05;
       
   734 	else if(aStepName.Compare(_L("step_034_06")) == 0 )
       
   735 		testStep = new(ELeave) CCommDbTest034_06;
       
   736 	else if(aStepName.Compare(_L("step_035_01")) == 0 )
       
   737 		testStep = new(ELeave) CCommDbTest035_01;
       
   738 	else if(aStepName.Compare(_L("step_035_02")) == 0 )
       
   739 		testStep = new(ELeave) CCommDbTest035_02;
       
   740 	else if(aStepName.Compare(_L("step_035_03")) == 0 )
       
   741 		testStep = new(ELeave) CCommDbTest035_03;
       
   742 	else if(aStepName.Compare(_L("step_035_04")) == 0 )
       
   743 		testStep = new(ELeave) CCommDbTest035_04;
       
   744 	else if(aStepName.Compare(_L("step_036_01")) == 0 )
       
   745 		testStep = new(ELeave) CCommDbTest036_01;
       
   746 	else if(aStepName.Compare(_L("step_036_02")) == 0 )
       
   747 		testStep = new(ELeave) CCommDbTest036_02;
       
   748 	else if(aStepName.Compare(_L("step_036_03")) == 0 )
       
   749 		testStep = new(ELeave) CCommDbTest036_03;
       
   750 	else if(aStepName.Compare(_L("step_036_04")) == 0 )
       
   751 		testStep = new(ELeave) CCommDbTest036_04;
       
   752 	else if(aStepName.Compare(_L("step_036_05")) == 0 )
       
   753 		testStep = new(ELeave) CCommDbTest036_05;
       
   754 	else if(aStepName.Compare(_L("step_036_06")) == 0 )
       
   755 		testStep = new(ELeave) CCommDbTest036_06;
       
   756 	else if(aStepName.Compare(_L("step_036_07")) == 0 )
       
   757 		testStep = new(ELeave) CCommDbTest036_07;
       
   758 	else if(aStepName.Compare(_L("step_036_08")) == 0 )
       
   759 		testStep = new(ELeave) CCommDbTest036_08;
       
   760 	else if(aStepName.Compare(_L("step_036_09")) == 0 )
       
   761 		testStep = new(ELeave) CCommDbTest036_09;
       
   762 	else if(aStepName.Compare(_L("step_036_10")) == 0 )
       
   763 		testStep = new(ELeave) CCommDbTest036_10;
       
   764 	else if(aStepName.Compare(_L("step_036_11")) == 0 )
       
   765 		testStep = new(ELeave) CCommDbTest036_11;
       
   766 	else if(aStepName.Compare(_L("step_036_12")) == 0 )
       
   767 		testStep = new(ELeave) CCommDbTest036_12;
       
   768 	else if(aStepName.Compare(_L("step_036_13")) == 0 )
       
   769 		testStep = new(ELeave) CCommDbTest036_13;
       
   770 	else if(aStepName.Compare(_L("step_036_14")) == 0 )
       
   771 		testStep = new(ELeave) CCommDbTest036_14;
       
   772 	else if(aStepName.Compare(_L("step_036_15")) == 0 )
       
   773 		testStep = new(ELeave) CCommDbTest036_15;
       
   774 	else if(aStepName.Compare(_L("step_036_16")) == 0 )
       
   775 		testStep = new(ELeave) CCommDbTest036_16;
       
   776 	else if(aStepName.Compare(_L("step_036_17")) == 0 )
       
   777 		testStep = new(ELeave) CCommDbTest036_17;
       
   778 	else if(aStepName.Compare(_L("step_036_18")) == 0 )
       
   779 		testStep = new(ELeave) CCommDbTest036_18;
       
   780 	else if(aStepName.Compare(_L("step_037_01")) == 0 )
       
   781 		testStep = new(ELeave) CCommDbTest037_01;
       
   782 	else if(aStepName.Compare(_L("step_037_02")) == 0 )
       
   783 		testStep = new(ELeave) CCommDbTest037_02;
       
   784 	else if(aStepName.Compare(_L("step_037_03")) == 0 )
       
   785 		testStep = new(ELeave) CCommDbTest037_03;
       
   786 	else if(aStepName.Compare(_L("step_038_01")) == 0 )
       
   787 		testStep = new(ELeave) CCommDbTest038_01;
       
   788 	else if(aStepName.Compare(_L("step_038_02")) == 0 )
       
   789 		testStep = new(ELeave) CCommDbTest038_02;
       
   790 	else if(aStepName.Compare(_L("step_038_03")) == 0 )
       
   791 		testStep = new(ELeave) CCommDbTest038_03;
       
   792 	else if(aStepName.Compare(_L("step_039_01")) == 0 )
       
   793 		testStep = new(ELeave) CCommDbTest039_01;
       
   794 	else if(aStepName.Compare(_L("step_039_02")) == 0 )
       
   795 		testStep = new(ELeave) CCommDbTest039_02;
       
   796 	else if(aStepName.Compare(_L("step_040_01")) == 0 )
       
   797 		testStep = new(ELeave) CCommDbTest040_01;
       
   798 	else if(aStepName.Compare(_L("step_040_02")) == 0 )
       
   799 		testStep = new(ELeave) CCommDbTest040_02;
       
   800 	else if(aStepName.Compare(_L("step_040_03")) == 0 )
       
   801 		testStep = new(ELeave) CCommDbTest040_03;
       
   802 	else if(aStepName.Compare(_L("step_041_01")) == 0 )
       
   803 		testStep = new(ELeave) CCommDbTest041_01;
       
   804 	else if(aStepName.Compare(_L("step_041_02")) == 0 )
       
   805 		testStep = new(ELeave) CCommDbTest041_02;
       
   806 	else if(aStepName.Compare(_L("step_041_03")) == 0 )
       
   807 		testStep = new(ELeave) CCommDbTest041_03;
       
   808 	else if(aStepName.Compare(_L("step_041_04")) == 0 )
       
   809 		testStep = new(ELeave) CCommDbTest041_04;
       
   810 	else if(aStepName.Compare(_L("step_041_05")) == 0 )
       
   811 		testStep = new(ELeave) CCommDbTest041_05;
       
   812 	else if(aStepName.Compare(_L("step_041_06")) == 0 )
       
   813 		testStep = new(ELeave) CCommDbTest041_06;
       
   814 	else if(aStepName.Compare(_L("step_041_07")) == 0 )
       
   815 		testStep = new(ELeave) CCommDbTest041_07;
       
   816 	else if(aStepName.Compare(_L("step_041_08")) == 0 )
       
   817 		testStep = new(ELeave) CCommDbTest041_08;
       
   818 	else if(aStepName.Compare(_L("step_041_09")) == 0 )
       
   819 		testStep = new(ELeave) CCommDbTest041_09;
       
   820 	else if(aStepName.Compare(_L("step_041_10")) == 0 )
       
   821 		testStep = new(ELeave) CCommDbTest041_10;
       
   822 	else if(aStepName.Compare(_L("step_041_11")) == 0 )
       
   823 		testStep = new(ELeave) CCommDbTest041_11;
       
   824 	else if(aStepName.Compare(_L("step_041_12")) == 0 )
       
   825 		testStep = new(ELeave) CCommDbTest041_12;
       
   826 	else if(aStepName.Compare(_L("step_041_13")) == 0 )
       
   827 		testStep = new(ELeave) CCommDbTest041_13;
       
   828 	else if(aStepName.Compare(_L("step_041_14")) == 0 )
       
   829 		testStep = new(ELeave) CCommDbTest041_14;
       
   830 	else if(aStepName.Compare(_L("step_041_15")) == 0 )
       
   831 		testStep = new(ELeave) CCommDbTest041_15;
       
   832 	else if(aStepName.Compare(_L("step_041_16")) == 0 )
       
   833 		testStep = new(ELeave) CCommDbTest041_16;
       
   834 	else if(aStepName.Compare(_L("step_041_17")) == 0 )
       
   835 		testStep = new(ELeave) CCommDbTest041_17;
       
   836 	else if(aStepName.Compare(_L("step_041_18")) == 0 )
       
   837 		testStep = new(ELeave) CCommDbTest041_18;
       
   838 	else if(aStepName.Compare(_L("step_041_19")) == 0 )
       
   839 		testStep = new(ELeave) CCommDbTest041_19;
       
   840 	else if(aStepName.Compare(_L("step_041_20")) == 0 )
       
   841 		testStep = new(ELeave) CCommDbTest041_20;
       
   842 	else if(aStepName.Compare(_L("step_041_21")) == 0 )
       
   843 		testStep = new(ELeave) CCommDbTest041_21;
       
   844 	else if(aStepName.Compare(_L("step_041_22")) == 0 )
       
   845 		testStep = new(ELeave) CCommDbTest041_22;
       
   846 	else if(aStepName.Compare(_L("step_041_23")) == 0 )
       
   847 		testStep = new(ELeave) CCommDbTest041_23;
       
   848 	else if(aStepName.Compare(_L("step_041_24")) == 0 )
       
   849 		testStep = new(ELeave) CCommDbTest041_24;
       
   850 	else if(aStepName.Compare(_L("step_041_25")) == 0 )
       
   851 		testStep = new(ELeave) CCommDbTest041_25;
       
   852 	else if(aStepName.Compare(_L("step_041_26")) == 0 )
       
   853 		testStep = new(ELeave) CCommDbTest041_26;
       
   854 	else if(aStepName.Compare(_L("step_041_27")) == 0 )
       
   855 		testStep = new(ELeave) CCommDbTest041_27;
       
   856 	else if(aStepName.Compare(_L("step_041_28")) == 0 )
       
   857 		testStep = new(ELeave) CCommDbTest041_28;
       
   858 	else if(aStepName.Compare(_L("step_041_29")) == 0 )
       
   859 		testStep = new(ELeave) CCommDbTest041_29;
       
   860 	else if(aStepName.Compare(_L("step_041_30")) == 0 )
       
   861 		testStep = new(ELeave) CCommDbTest041_30;
       
   862 	else if(aStepName.Compare(_L("step_041_31")) == 0 )
       
   863 		testStep = new(ELeave) CCommDbTest041_31;
       
   864 	else if(aStepName.Compare(_L("step_041_32")) == 0 )
       
   865 		testStep = new(ELeave) CCommDbTest041_32;
       
   866 	else if(aStepName.Compare(_L("step_041_33")) == 0 )
       
   867 		testStep = new(ELeave) CCommDbTest041_33;
       
   868 	else if(aStepName.Compare(_L("step_041_34")) == 0 )
       
   869 		testStep = new(ELeave) CCommDbTest041_34;
       
   870 	else if(aStepName.Compare(_L("step_042_01")) == 0 )
       
   871 		testStep = new(ELeave) CCommDbTest042_01;
       
   872 	else if(aStepName.Compare(_L("step_042_02")) == 0 )
       
   873 		testStep = new(ELeave) CCommDbTest042_02;
       
   874 	else if(aStepName.Compare(_L("step_042_03")) == 0 )
       
   875 		testStep = new(ELeave) CCommDbTest042_03;
       
   876 	else if(aStepName.Compare(_L("step_043_01")) == 0 )
       
   877 		testStep = new(ELeave) CCommDbTest043_01;
       
   878 	else if(aStepName.Compare(_L("step_043_02")) == 0 )
       
   879 		testStep = new(ELeave) CCommDbTest043_02;
       
   880 	else if(aStepName.Compare(_L("step_043_03")) == 0 )
       
   881 		testStep = new(ELeave) CCommDbTest043_03;
       
   882 	else if(aStepName.Compare(_L("step_043_04")) == 0 )
       
   883 		testStep = new(ELeave) CCommDbTest043_04;
       
   884 	else if(aStepName.Compare(_L("step_043_05")) == 0 )
       
   885 		testStep = new(ELeave) CCommDbTest043_05;
       
   886 	else if(aStepName.Compare(_L("step_044_01")) == 0 )
       
   887 		testStep = new(ELeave) CCommDbTest044_01;
       
   888 	else if(aStepName.Compare(_L("step_044_02")) == 0 )
       
   889 		testStep = new(ELeave) CCommDbTest044_02;
       
   890 	else if(aStepName.Compare(_L("step_044_03")) == 0 )
       
   891 		testStep = new(ELeave) CCommDbTest044_03;
       
   892 	else if(aStepName.Compare(_L("step_045_01")) == 0 )
       
   893 		testStep = new(ELeave) CCommDbTest045_01;
       
   894 	else if(aStepName.Compare(_L("step_045_02")) == 0 )
       
   895 		testStep = new(ELeave) CCommDbTest045_02;
       
   896 	else if(aStepName.Compare(_L("step_045_03")) == 0 )
       
   897 		testStep = new(ELeave) CCommDbTest045_03;
       
   898 	else if(aStepName.Compare(_L("step_046_01")) == 0 )
       
   899 		testStep = new(ELeave) CCommDbTest046_01;
       
   900 	else if(aStepName.Compare(_L("step_046_02")) == 0 )
       
   901 		testStep = new(ELeave) CCommDbTest046_02;
       
   902 	else if(aStepName.Compare(_L("step_046_03")) == 0 )
       
   903 		testStep = new(ELeave) CCommDbTest046_03;
       
   904 	else if(aStepName.Compare(_L("step_046_04")) == 0 )
       
   905 		testStep = new(ELeave) CCommDbTest046_04;
       
   906 	else if(aStepName.Compare(_L("step_046_05")) == 0 )
       
   907 		testStep = new(ELeave) CCommDbTest046_05;
       
   908 	else if(aStepName.Compare(_L("step_047_01")) == 0 )
       
   909 		testStep = new(ELeave) CCommDbTest047_01;
       
   910 	else if(aStepName.Compare(_L("step_047_02")) == 0 )
       
   911 		testStep = new(ELeave) CCommDbTest047_02;
       
   912 	else if(aStepName.Compare(_L("step_047_03")) == 0 )
       
   913 		testStep = new(ELeave) CCommDbTest047_03;
       
   914 	else if(aStepName.Compare(_L("step_047_04")) == 0 )
       
   915 		testStep = new(ELeave) CCommDbTest047_04;
       
   916 	else if(aStepName.Compare(_L("step_047_05")) == 0 )
       
   917 		testStep = new(ELeave) CCommDbTest047_05;
       
   918 	else if(aStepName.Compare(_L("step_047_06")) == 0 )
       
   919 		testStep = new(ELeave) CCommDbTest047_06;
       
   920 	else if(aStepName.Compare(_L("step_047_07")) == 0 )
       
   921 		testStep = new(ELeave) CCommDbTest047_07;
       
   922 	else if(aStepName.Compare(_L("step_047_08")) == 0 )
       
   923 		testStep = new(ELeave) CCommDbTest047_08;
       
   924 	else if(aStepName.Compare(_L("step_047_13")) == 0 )
       
   925 		testStep = new(ELeave) CCommDbTest047_13;
       
   926 	else if(aStepName.Compare(_L("step_051_01")) == 0 )
       
   927 		testStep = new(ELeave) CCommDbTest051_01;
       
   928 	else if(aStepName.Compare(_L("step_051_02")) == 0 )
       
   929 		testStep = new(ELeave) CCommDbTest051_02;
       
   930 	else if(aStepName.Compare(_L("step_052_01")) == 0 )
       
   931 		testStep = new(ELeave) CCommDbTest052_01;
       
   932 	else if(aStepName.Compare(_L("step_052_02")) == 0 )
       
   933 		testStep = new(ELeave) CCommDbTest052_02;
       
   934 	else if(aStepName.Compare(_L("step_053_01")) == 0 )
       
   935 		testStep = new(ELeave) CCommDbTest053_01;
       
   936 	else if(aStepName.Compare(_L("step_053_02")) == 0 )
       
   937 		testStep = new(ELeave) CCommDbTest053_02;
       
   938 	else if(aStepName.Compare(_L("step_054_01")) == 0 )
       
   939 		testStep = new(ELeave) CCommDbTest054_01;
       
   940 	else if(aStepName.Compare(_L("step_054_02")) == 0 )
       
   941 		testStep = new(ELeave) CCommDbTest054_02;
       
   942 	else if(aStepName.Compare(_L("step_055_01")) == 0 )
       
   943 		testStep = new(ELeave) CCommDbTest055_01;
       
   944 	else if(aStepName.Compare(_L("step_055_02")) == 0 )
       
   945 		testStep = new(ELeave) CCommDbTest055_02;
       
   946 	else if(aStepName.Compare(_L("step_056_01")) == 0 )
       
   947 		testStep = new(ELeave) CCommDbTest056_01;
       
   948 	else if(aStepName.Compare(_L("step_056_02")) == 0 )
       
   949 		testStep = new(ELeave) CCommDbTest056_02;
       
   950 	else if(aStepName.Compare(_L("step_057_01")) == 0 )
       
   951 		testStep = new(ELeave) CCommDbTest057_01;
       
   952 	else if(aStepName.Compare(_L("step_057_02")) == 0 )
       
   953 		testStep = new(ELeave) CCommDbTest057_02;
       
   954 	else if(aStepName.Compare(_L("step_058_01")) == 0 )
       
   955 		testStep = new(ELeave) CCommDbTest058_01;
       
   956 	else if(aStepName.Compare(_L("step_058_02")) == 0 )
       
   957 		testStep = new(ELeave) CCommDbTest058_02;
       
   958 	else if(aStepName.Compare(_L("step_059_01")) == 0 )
       
   959 		testStep = new(ELeave) CCommDbTest059_01;
       
   960 	else if(aStepName.Compare(_L("step_060_01")) == 0 )
       
   961 		testStep = new(ELeave) CCommDbTest060_01;
       
   962 	else if(aStepName.Compare(_L("step_060_02")) == 0 )
       
   963 		testStep = new(ELeave) CCommDbTest060_02;
       
   964 	else if(aStepName.Compare(_L("step_061_01")) == 0 )
       
   965 		testStep = new(ELeave) CCommDbTest061_01;
       
   966 	else if(aStepName.Compare(_L("step_061_02")) == 0 )
       
   967 		testStep = new(ELeave) CCommDbTest061_02;
       
   968 	else if(aStepName.Compare(_L("step_061_03")) == 0 )
       
   969 		testStep = new(ELeave) CCommDbTest061_03;
       
   970 	else if(aStepName.Compare(_L("step_061_04")) == 0 )
       
   971 		testStep = new(ELeave) CCommDbTest061_04;
       
   972 	else if(aStepName.Compare(_L("step_062_01")) == 0 )
       
   973 		testStep = new(ELeave) CCommDbTest062_01;
       
   974 	else if(aStepName.Compare(_L("step_062_02")) == 0 )
       
   975 		testStep = new(ELeave) CCommDbTest062_02;
       
   976 	else if(aStepName.Compare(_L("step_062_03")) == 0 )
       
   977 		testStep = new(ELeave) CCommDbTest062_03;
       
   978 	else if(aStepName.Compare(_L("step_062_04")) == 0 )
       
   979 		testStep = new(ELeave) CCommDbTest062_04;
       
   980 	else if(aStepName.Compare(_L("step_062_05")) == 0 )
       
   981 		testStep = new(ELeave) CCommDbTest062_05;
       
   982 	else if(aStepName.Compare(_L("step_063_01")) == 0 )
       
   983 		testStep = new(ELeave) CCommDbTest063_01;
       
   984 	else if(aStepName.Compare(_L("step_063_02")) == 0 )
       
   985 		testStep = new(ELeave) CCommDbTest063_02;
       
   986 	else if(aStepName.Compare(_L("step_063_03")) == 0 )
       
   987 		testStep = new(ELeave) CCommDbTest063_03;
       
   988 	else if(aStepName.Compare(_L("step_063_04")) == 0 )
       
   989 		testStep = new(ELeave) CCommDbTest063_04;
       
   990 	else if(aStepName.Compare(_L("step_063_05")) == 0 )
       
   991 		testStep = new(ELeave) CCommDbTest063_05;
       
   992 	else if(aStepName.Compare(_L("step_063_06")) == 0 )
       
   993 		testStep = new(ELeave) CCommDbTest063_06;
       
   994 	else if(aStepName.Compare(_L("step_063_07")) == 0 )
       
   995 		testStep = new(ELeave) CCommDbTest063_07;
       
   996 	else if(aStepName.Compare(_L("step_063_08")) == 0 )
       
   997 		testStep = new(ELeave) CCommDbTest063_08;
       
   998 	else if(aStepName.Compare(_L("step_064_01")) == 0 )
       
   999 		testStep = new(ELeave) CCommDbTest064_01;
       
  1000 	else if(aStepName.Compare(_L("PreCopyTest")) == 0 )
       
  1001 		testStep = new(ELeave) CCommDbPreCopy;
       
  1002 	
       
  1003 	return testStep;
       
  1004 	}
       
  1005 
       
  1006 
       
  1007 
       
  1008 // make a version string available for test system 
       
  1009 TPtrC CTE_commdbServer::GetVersion( void )
       
  1010 	{
       
  1011 
       
  1012 #ifdef _DEBUG
       
  1013 _LIT(KTxtVersion,"1.0 (udeb)");
       
  1014 #else
       
  1015 _LIT(KTxtVersion,"1.0");
       
  1016 #endif
       
  1017 
       
  1018 	return KTxtVersion();
       
  1019 	}
       
  1020 
       
  1021