// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// Example file/test code to demonstrate how to develop a TestExecute Server
// Developers should take this project as a template and substitute their own
// code at the __EDIT_ME__ tags
//
// for (WINS && !EKA2) versions will be xxxServer.Dll and require a thread to be started
// in the process of the client. The client initialises the server by calling the
// one and only ordinal.
//
// EPOC includes
#include <e32base.h>
#include <d32comm.h>
#include "teststepcomsdbg.h"
#include "TE_comsdbgServer.h"
#include "step_001_01.h"
#include "step_002_xx.h"
#include "step_003_xx.h"
#include "step_004_xx.h"
#include "step_005_xx.h"
#include "step_006_xx.h"
#include "step_007_xx.h"
#include "step_008_xx.h"
#include "step_009_xx.h"
#include "step_010_xx.h"
#include "step_011_xx.h"
#include "step_012_xx.h"
#include "step_013_xx.h"
#include "step_014_xx.h"
#include "step_015_xx.h"
#include "step_016_xx.h"
#include "step_017_xx.h"
#include "step_018_01.h"
#include "step_019_01.h"
#include "step_020_xx.h"
#include "step_021_01.h"
#include "step_022_01.h"
#include "step_023_01.h"
#include "step_024_xx.h"
#include "step_025_xx.h"
#include "step_026_xx.h"
#include "step_027_xx.h"
#include "step_028_xx.h"
#include "step_029_xx.h"
#include "step_030_xx.h"
#include "t_cdu_performancetest.h"
#include "Setup.h"
// __EDIT_ME__ - Substitute the name of your test server
_LIT(KServerName,"te_comsdbg");
// __EDIT_ME__ - Use your own server class name
CTE_comsdbgServer* CTE_comsdbgServer::NewL()
/**
* @return - Instance of the test server
* Called inside the MainL() function to create and start the
* CTestServer derived server.
*/
{
// __EDIT_ME__ new your server class here
CTE_comsdbgServer * server = new (ELeave) CTE_comsdbgServer();
CleanupStack::PushL(server);
// Either use a StartL or ConstructL, the latter will permit
// Server Logging.
//server->StartL(KServerName);
server-> ConstructL(KServerName);
CleanupStack::Pop(server);
return server;
}
// EKA2 much simpler
// Just an E32Main and a MainL()
LOCAL_C void MainL()
/**
* Much simpler, uses the new Rendezvous() call to sync with the client
*/
{
// Leave the hooks in for platform security
#if (defined __DATA_CAGING__)
RProcess().DataCaging(RProcess::EDataCagingOn);
RProcess().SecureApi(RProcess::ESecureApiOn);
#endif
CActiveScheduler* sched=NULL;
sched=new(ELeave) CActiveScheduler;
CActiveScheduler::Install(sched);
// __EDIT_ME__ Your server name
CTE_comsdbgServer* server = NULL;
// Create the CTestServer derived server
// __EDIT_ME__ Your server name
TRAPD(err,server = CTE_comsdbgServer::NewL());
if(!err)
{
// Sync with the client and enter the active scheduler
RProcess::Rendezvous(KErrNone);
sched->Start();
}
delete server;
delete sched;
}
// Only a DLL on emulator for Symbian OS v7.0s and earlier.
GLDEF_C TInt E32Main()
/**
* @return - Standard Epoc error code on exit
*/
{
CTrapCleanup* cleanup = CTrapCleanup::New();
if(cleanup == NULL)
{
return KErrNoMemory;
}
TRAP_IGNORE(MainL());
delete cleanup;
return KErrNone;
}
// Create a thread in the calling process
// Emulator Symbian OS v7.0s and earlier.
// __EDIT_ME__ - Use your own server class name
CTestStep* CTE_comsdbgServer::CreateTestStep(const TDesC& aStepName)
/**
* @return - A CTestStep derived instance
* Implementation of CTestServer pure virtual
*/
{
InitDir();
CTestStep* testStep = NULL;
// __EDIT_ME__ - Create your own test steps here
// This server creates just one step but create as many as you want
// They are created "just in time" when the worker thread is created
if(aStepName.Compare(_L("step_001_01")) == 0 )
testStep = new(ELeave) CFloggerTest001_01;
else if(aStepName.Compare(_L("step_002_01")) == 0 )
testStep = new(ELeave) CFloggerTest002_01;
else if(aStepName.Compare(_L("step_002_02")) == 0 )
testStep = new(ELeave) CFloggerTest002_02;
else if(aStepName.Compare(_L("step_003_01")) == 0 )
testStep = new(ELeave) CFloggerTest003_01;
else if(aStepName.Compare(_L("step_003_02")) == 0 )
testStep = new(ELeave) CFloggerTest003_02;
else if(aStepName.Compare(_L("step_003_03")) == 0 )
testStep = new(ELeave) CFloggerTest003_03;
else if(aStepName.Compare(_L("step_004_01")) == 0 )
testStep = new(ELeave) CFloggerTest004_01;
else if(aStepName.Compare(_L("step_004_02")) == 0 )
testStep = new(ELeave) CFloggerTest004_02;
else if(aStepName.Compare(_L("step_004_03")) == 0 )
testStep = new(ELeave) CFloggerTest004_03;
else if(aStepName.Compare(_L("step_005_01")) == 0 )
testStep = new(ELeave) CFloggerTest005_01;
else if(aStepName.Compare(_L("step_005_02")) == 0 )
testStep = new(ELeave) CFloggerTest005_02;
else if(aStepName.Compare(_L("step_005_03")) == 0 )
testStep = new(ELeave) CFloggerTest005_03;
else if(aStepName.Compare(_L("step_005_04")) == 0 )
testStep = new(ELeave) CFloggerTest005_04;
else if(aStepName.Compare(_L("step_006_01")) == 0 )
testStep = new(ELeave) CFloggerTest006_01;
else if(aStepName.Compare(_L("step_006_02")) == 0 )
testStep = new(ELeave) CFloggerTest006_02;
else if(aStepName.Compare(_L("step_006_03")) == 0 )
testStep = new(ELeave) CFloggerTest006_03;
else if(aStepName.Compare(_L("step_007_01")) == 0 )
testStep = new(ELeave) CFloggerTest007_01;
else if(aStepName.Compare(_L("step_007_02")) == 0 )
testStep = new(ELeave) CFloggerTest007_02;
else if(aStepName.Compare(_L("step_007_03")) == 0 )
testStep = new(ELeave) CFloggerTest007_03;
else if(aStepName.Compare(_L("step_008_01")) == 0 )
testStep = new(ELeave) CFloggerTest008_01;
else if(aStepName.Compare(_L("step_008_02")) == 0 )
testStep = new(ELeave) CFloggerTest008_02;
else if(aStepName.Compare(_L("step_008_03")) == 0 )
testStep = new(ELeave) CFloggerTest008_03;
else if(aStepName.Compare(_L("step_008_04")) == 0 )
testStep = new(ELeave) CFloggerTest008_04;
else if(aStepName.Compare(_L("step_009_01")) == 0 )
testStep = new(ELeave) CFloggerTest009_01;
else if(aStepName.Compare(_L("step_009_02")) == 0 )
testStep = new(ELeave) CFloggerTest009_02;
else if(aStepName.Compare(_L("step_009_03")) == 0 )
testStep = new(ELeave) CFloggerTest009_03;
else if(aStepName.Compare(_L("step_010_01")) == 0 )
testStep = new(ELeave) CFloggerTest010_01;
else if(aStepName.Compare(_L("step_010_02")) == 0 )
testStep = new(ELeave) CFloggerTest010_02;
else if(aStepName.Compare(_L("step_010_03")) == 0 )
testStep = new(ELeave) CFloggerTest010_03;
else if(aStepName.Compare(_L("step_010_04")) == 0 )
testStep = new(ELeave) CFloggerTest010_04;
else if(aStepName.Compare(_L("step_010_05")) == 0 )
testStep = new(ELeave) CFloggerTest010_05;
else if(aStepName.Compare(_L("step_010_06")) == 0 )
testStep = new(ELeave) CFloggerTest010_06;
else if(aStepName.Compare(_L("step_011_01")) == 0 )
testStep = new(ELeave) CFloggerTest011_01;
else if(aStepName.Compare(_L("step_011_02")) == 0 )
testStep = new(ELeave) CFloggerTest011_02;
else if(aStepName.Compare(_L("step_011_03")) == 0 )
testStep = new(ELeave) CFloggerTest011_03;
else if(aStepName.Compare(_L("step_012_01")) == 0 )
testStep = new(ELeave) CFloggerTest012_01;
else if(aStepName.Compare(_L("step_012_02")) == 0 )
testStep = new(ELeave) CFloggerTest012_02;
else if(aStepName.Compare(_L("step_012_03")) == 0 )
testStep = new(ELeave) CFloggerTest012_03;
else if(aStepName.Compare(_L("step_012_04")) == 0 )
testStep = new(ELeave) CFloggerTest012_04;
else if(aStepName.Compare(_L("step_013_01")) == 0 )
testStep = new(ELeave) CFloggerTest013_01;
else if(aStepName.Compare(_L("step_013_02")) == 0 )
testStep = new(ELeave) CFloggerTest013_02;
else if(aStepName.Compare(_L("step_013_03")) == 0 )
testStep = new(ELeave) CFloggerTest013_03;
else if(aStepName.Compare(_L("step_014_01")) == 0 )
testStep = new(ELeave) CFloggerTest014_01;
else if(aStepName.Compare(_L("step_014_02")) == 0 )
testStep = new(ELeave) CFloggerTest014_02;
else if(aStepName.Compare(_L("step_014_03")) == 0 )
testStep = new(ELeave) CFloggerTest014_03;
else if(aStepName.Compare(_L("step_015_01")) == 0 )
testStep = new(ELeave) CFloggerTest015_01;
else if(aStepName.Compare(_L("step_015_02")) == 0 )
testStep = new(ELeave) CFloggerTest015_02;
else if(aStepName.Compare(_L("step_015_03")) == 0 )
testStep = new(ELeave) CFloggerTest015_03;
else if(aStepName.Compare(_L("step_015_04")) == 0 )
testStep = new(ELeave) CFloggerTest015_04;
else if(aStepName.Compare(_L("step_016_01")) == 0 )
testStep = new(ELeave) CFloggerTest016_01;
else if(aStepName.Compare(_L("step_016_02")) == 0 )
testStep = new(ELeave) CFloggerTest016_02;
else if(aStepName.Compare(_L("step_016_03")) == 0 )
testStep = new(ELeave) CFloggerTest016_03;
else if(aStepName.Compare(_L("step_017_01")) == 0 )
testStep = new(ELeave) CFloggerTest017_01;
else if(aStepName.Compare(_L("step_017_02")) == 0 )
testStep = new(ELeave) CFloggerTest017_02;
else if(aStepName.Compare(_L("step_017_03")) == 0 )
testStep = new(ELeave) CFloggerTest017_03;
else if(aStepName.Compare(_L("step_017_04")) == 0 )
testStep = new(ELeave) CFloggerTest017_04;
else if(aStepName.Compare(_L("step_017_05")) == 0 )
testStep = new(ELeave) CFloggerTest017_05;
else if(aStepName.Compare(_L("step_017_06")) == 0 )
testStep = new(ELeave) CFloggerTest017_06;
else if(aStepName.Compare(_L("step_018_01")) == 0 )
testStep = new(ELeave) CFloggerTest018_01;
else if(aStepName.Compare(_L("step_019_01")) == 0 )
testStep = new(ELeave) CFloggerTest019_01;
else if(aStepName.Compare(_L("step_020_01")) == 0 )
testStep = new(ELeave) CFloggerTest020_01;
else if(aStepName.Compare(_L("step_020_02")) == 0 )
testStep = new(ELeave) CFloggerTest020_02;
else if(aStepName.Compare(_L("step_020_03")) == 0 )
testStep = new(ELeave) CFloggerTest020_03;
else if(aStepName.Compare(_L("step_021_01")) == 0 )
testStep = new(ELeave) CFloggerTest021_01;
else if(aStepName.Compare(_L("step_022_01")) == 0 )
testStep = new(ELeave) CFloggerTest022_01;
else if(aStepName.Compare(_L("step_023_01")) == 0 )
testStep = new(ELeave) CFloggerTest023_01;
else if(aStepName.Compare(_L("step_023_02")) == 0 )
testStep = new(ELeave) CFloggerTest023_02;
else if(aStepName.Compare(_L("step_024_01")) == 0 )
testStep = new(ELeave) CFloggerTest024_01;
else if(aStepName.Compare(_L("step_024_02")) == 0 )
testStep = new(ELeave) CFloggerTest024_02;
else if(aStepName.Compare(_L("step_024_03")) == 0 )
testStep = new(ELeave) CFloggerTest024_03;
else if(aStepName.Compare(_L("step_024_04")) == 0 )
testStep = new(ELeave) CFloggerTest024_04;
else if(aStepName.Compare(_L("step_024_05")) == 0 )
testStep = new(ELeave) CFloggerTest024_05;
else if(aStepName.Compare(_L("step_024_06")) == 0 )
testStep = new(ELeave) CFloggerTest024_06;
else if(aStepName.Compare(_L("step_024_07")) == 0 )
testStep = new(ELeave) CFloggerTest024_07;
else if(aStepName.Compare(_L("step_024_08")) == 0 )
testStep = new(ELeave) CFloggerTest024_08;
else if(aStepName.Compare(_L("step_025_BuildTestUdeb1")) == 0 )
testStep = new(ELeave) CFloggerTest025_BuildTestUdeb1;
//else if(aStepName.Compare(_L("step_025_BuildTestUdeb2")) == 0 )
// testStep = new(ELeave) CFloggerTest025_BuildTestUdeb2;//removed-seestep_025_xxx.cpp
else if(aStepName.Compare(_L("step_025_BuildTestUdeb3")) == 0 )
testStep = new(ELeave) CFloggerTest025_BuildTestUdeb3;
else if(aStepName.Compare(_L("step_025_BuildTestUdeb4")) == 0 )
testStep = new(ELeave) CFloggerTest025_BuildTestUdeb4;
else if(aStepName.Compare(_L("step_025_BuildTestUrel1")) == 0 )
testStep = new(ELeave) CFloggerTest025_BuildTestUrel1;
//else if(aStepName.Compare(_L("step_025_BuildTestUrel2")) == 0 )
// testStep = new(ELeave) CFloggerTest025_BuildTestUrel2;//removed-seestep_025_xxx.cpp
else if(aStepName.Compare(_L("step_025_BuildTestUrel3")) == 0 )
testStep = new(ELeave) CFloggerTest025_BuildTestUrel3;
else if(aStepName.Compare(_L("step_025_BuildTestUrel4")) == 0 )
testStep = new(ELeave) CFloggerTest025_BuildTestUrel4;
else if(aStepName.Compare(_L("step_026_01")) == 0 )
testStep = new(ELeave) CFloggerTest026_01;
else if(aStepName.Compare(_L("step_026_02")) == 0 )
testStep = new(ELeave) CFloggerTest026_02;
else if(aStepName.Compare(_L("step_026_03")) == 0 )
testStep = new(ELeave) CFloggerTest026_03;
else if(aStepName.Compare(_L("Setup_File")) == 0 )
testStep = new(ELeave) CFloggerTest_Setup;
else if(aStepName.Compare(_L("Setup_InitializeIniFile")) == 0 )
testStep = new(ELeave) CFloggerTest_InitializeIniFile;
else if(aStepName.Compare(_L("Restore_File")) == 0 )
testStep = new(ELeave) CFloggerTest_Restore;
else if(aStepName.Compare(_L("step_027_01")) == 0 )
testStep = new(ELeave) CFloggerTest027_01;
else if(aStepName.Compare(_L("step_027_02")) == 0 )
testStep = new(ELeave) CFloggerTest027_02;
else if(aStepName.Compare(_L("step_027_03")) == 0 )
testStep = new(ELeave) CFloggerTest027_03;
else if(aStepName.Compare(_L("step_027_04")) == 0 )
testStep = new(ELeave) CFloggerTest027_04;
else if(aStepName.Compare(_L("step_027_05")) == 0 )
testStep = new(ELeave) CFloggerTest027_05;
else if(aStepName.Compare(_L("step_027_06")) == 0 )
testStep = new(ELeave) CFloggerTest027_06;
else if(aStepName.Compare(_L("step_027_07")) == 0 )
testStep = new(ELeave) CFloggerTest027_07;
else if(aStepName.Compare(_L("step_027_08")) == 0 )
testStep = new(ELeave) CFloggerTest027_08;
else if(aStepName.Compare(_L("step_027_09")) == 0 )
testStep = new(ELeave) CFloggerTest027_09;
else if(aStepName.Compare(_L("step_027_10")) == 0 )
testStep = new(ELeave) CFloggerTest027_10;
else if(aStepName.Compare(_L("step_027_11")) == 0 )
testStep = new(ELeave) CFloggerTest027_11;
else if(aStepName.Compare(_L("step_027_12")) == 0 )
testStep = new(ELeave) CFloggerTest027_12;
else if(aStepName.Compare(_L("step_028_Sync_Setup")) == 0 )
testStep = new(ELeave) CFloggerTest028_Sync_Setup;
else if(aStepName.Compare(_L("step_028_Sync_ConWriteUni")) == 0 )
testStep = new(ELeave) CFloggerTest028_Sync_ConWriteUni;
else if(aStepName.Compare(_L("step_028_Sync_ConWriteUniBound")) == 0 )
testStep = new(ELeave) CFloggerTest028_Sync_ConWriteUniBound;
else if(aStepName.Compare(_L("step_028_Sync_ConWriteFormatEUni")) == 0 )
testStep = new(ELeave) CFloggerTest028_Sync_ConWriteFormatEUni;
else if(aStepName.Compare(_L("step_028_Sync_ConWriteFormatEUniBound")) == 0 )
testStep = new(ELeave) CFloggerTest028_Sync_ConWriteFormatEUniBound;
else if(aStepName.Compare(_L("step_028_Sync_ConWriteFormatV8Bit")) == 0 )
testStep = new(ELeave) CFloggerTest028_Sync_ConWriteFormatV8Bit;
else if(aStepName.Compare(_L("step_028_Sync_ConWriteFormatV8BitBound")) == 0 )
testStep = new(ELeave) CFloggerTest028_Sync_ConWriteFormatV8BitBound;
else if(aStepName.Compare(_L("step_028_Sync_Static_WriteUni")) == 0 )
testStep = new(ELeave) CFloggerTest028_Sync_Static_WriteUni;
else if(aStepName.Compare(_L("step_028_Sync_Static_WriteUniBound")) == 0 )
testStep = new(ELeave) CFloggerTest028_Sync_Static_WriteUniBound;
else if(aStepName.Compare(_L("step_028_Sync_Static_WriteFormatVUni")) == 0 )
testStep = new(ELeave) CFloggerTest028_Sync_Static_WriteFormatVUni;
else if(aStepName.Compare(_L("step_028_Sync_Static_WriteFormatVUniBound")) == 0 )
testStep = new(ELeave) CFloggerTest028_Sync_Static_WriteFormatVUniBound;
else if(aStepName.Compare(_L("step_028_Sync_Static_HexDump")) == 0 )
testStep = new(ELeave) CFloggerTest028_Sync_Static_HexDump;
else if(aStepName.Compare(_L("step_028_Sync_ClearLog")) == 0 )
testStep = new(ELeave) CFloggerTest028_Sync_ClearLog;
else if(aStepName.Compare(_L("step_028_Sync_Binary")) == 0 )
testStep = new(ELeave) CFloggerTest028_Sync_Binary;
else if(aStepName.Compare(_L("step_028_Sync_ConMultiple")) == 0 )
testStep = new(ELeave) CFloggerTest028_Sync_ConMultiple;
else if(aStepName.Compare(_L("step_028_Sync_Static_Multiple")) == 0 )
testStep = new(ELeave) CFloggerTest028_Sync_Static_Multiple;
else if(aStepName.Compare(_L("step_028_Sync_ConMultiple2")) == 0 )
testStep = new(ELeave) CFloggerTest028_Sync_ConMultiple2;
else if(aStepName.Compare(_L("step_028_Sync_Static_Multiple2")) == 0 )
testStep = new(ELeave) CFloggerTest028_Sync_Static_Multiple2;
else if(aStepName.Compare(_L("step_029_IniFile01")) == 0 )
testStep = new(ELeave) CFloggerTest029_IniFile01;
else if(aStepName.Compare(_L("step_029_IniFile02")) == 0 )
testStep = new(ELeave) CFloggerTest029_IniFile02;
else if(aStepName.Compare(_L("step_029_IniFile03")) == 0 )
testStep = new(ELeave) CFloggerTest029_IniFile03;
else if(aStepName.Compare(_L("step_029_IniFile")) == 0 )
testStep = new(ELeave) CFloggerTest029_IniFile04;
else if(aStepName.Compare(_L("step_029_IniFile04H")) == 0 )
testStep = new(ELeave) CFloggerTest029_IniFile04H;
else if(aStepName.Compare(_L("step_030_Tag_Setup")) == 0 )
testStep = new(ELeave) CFloggerTest030_Tag_Setup;
else if(aStepName.Compare(_L("step_030_Tag_TagSetLogTag01")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagSetLogTag01;
else if(aStepName.Compare(_L("step_030_Tag_TagSetLogTag02")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagSetLogTag02;
else if(aStepName.Compare(_L("step_030_Tag_TagSetLogTag03")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagSetLogTag03;
else if(aStepName.Compare(_L("step_030_Tag_TagSetLogTag04")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagSetLogTag04;
else if(aStepName.Compare(_L("step_030_Tag_TagSetLogTag05")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagSetLogTag05;
else if(aStepName.Compare(_L("step_030_Tag_TagSetLogTag06")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagSetLogTag06;
else if(aStepName.Compare(_L("step_030_Tag_TagSetLogTag07")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagSetLogTag07;
else if(aStepName.Compare(_L("step_030_Tag_TagSetLogTag08")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagSetLogTag08;
else if(aStepName.Compare(_L("step_030_Tag_TagCreateLog01")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagCreateLog01;
else if(aStepName.Compare(_L("step_030_Tag_TagCreateLog02")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagCreateLog02;
else if(aStepName.Compare(_L("step_030_Tag_TagCreateLog03")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagCreateLog03;
else if(aStepName.Compare(_L("step_030_Tag_TagCreateLog04")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagCreateLog04;
else if(aStepName.Compare(_L("step_030_Tag_TagCreateLog05")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagCreateLog05;
else if(aStepName.Compare(_L("step_030_Tag_TagCreateLog06")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagCreateLog06;
else if(aStepName.Compare(_L("step_030_Tag_TagCreateLog07")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagCreateLog07;
else if(aStepName.Compare(_L("step_030_Tag_TagCreateLog08")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagCreateLog08;
else if(aStepName.Compare(_L("step_030_Tag_TagWrite01")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagWrite01;
else if(aStepName.Compare(_L("step_030_Tag_TagWrite02")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagWrite02;
else if(aStepName.Compare(_L("step_030_Tag_TagWrite03")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagWrite03;
else if(aStepName.Compare(_L("step_030_Tag_TagWrite04")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagWrite04;
else if(aStepName.Compare(_L("step_030_Tag_TagWrite05")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagWrite05;
else if(aStepName.Compare(_L("step_030_Tag_TagWrite06")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagWrite06;
else if(aStepName.Compare(_L("step_030_Tag_TagWrite07")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagWrite07;
else if(aStepName.Compare(_L("step_030_Tag_TagWrite08")) == 0 )
testStep = new(ELeave) CFloggerTest030_TagWrite08;
else if(aStepName.Compare(_L("cdu_performance_test")) == 0 )
testStep = new(ELeave) CCDUPerformanceTest;
return testStep;
}
// Initialize the logs directory by creating it if necessary, and create the testresults directory.
void CTE_comsdbgServer::InitDir()
{
RFs fs;
fs.Connect();
fs.MkDir(KFloggerOutputDir);
fs.MkDir(KTestResultsDir);
fs.Close();
}
TPtrC CTE_comsdbgServer::GetVersion( void )
{
// make a version string available for test system
#ifdef _DEBUG
_LIT(KTxtVersion,"1.0 (udeb)");
#else
_LIT(KTxtVersion,"1.0");
#endif
return KTxtVersion();
}