diff -r 28839de615b4 -r 26645d81f48d traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_performance/src/te_perf.cpp --- a/traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_performance/src/te_perf.cpp Thu Aug 19 11:36:21 2010 +0300 +++ b/traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_performance/src/te_perf.cpp Tue Aug 31 16:57:14 2010 +0300 @@ -71,7 +71,6 @@ */ { TRunConfigurer::Init(iApiRunConfig); - iPluginRunConfig = new(ELeave) CPluginRunConfig; } @@ -92,6 +91,7 @@ void CTCMPerformanceWrapper::ConstructL() { + iPluginRunConfig = new(ELeave) CPluginRunConfig; } TAny* CTCMPerformanceWrapper::GetObject() @@ -125,18 +125,18 @@ TInt pluginOnlyTests=0; //run api tests if(doapicalltests) - SetBlockResult(DoApiTests(aSection)); + SetBlockResult(DoApiTestsL(aSection)); if(dooutputplugintests) { pluginOnlyTests=1; - SetBlockResult(DoPluginTests(pluginOnlyTests, aSection)); + SetBlockResult(DoPluginTestsL(pluginOnlyTests, aSection)); } if(dothroughputtests) { pluginOnlyTests=2; - SetBlockResult(DoPluginTests(pluginOnlyTests, aSection)); + SetBlockResult(DoPluginTestsL(pluginOnlyTests, aSection)); } /* @@ -155,7 +155,7 @@ return ETrue; } -TVerdict CTCMPerformanceWrapper::DoApiTests(const TTEFSectionName& aSection) +TVerdict CTCMPerformanceWrapper::DoApiTestsL(const TTEFSectionName& aSection) { //initialize and create test run parameters //*******this is quite ugly and could be tidied up into a new routine so isnt in main test step @@ -327,7 +327,7 @@ } } CClearConfig configIni; - configIni.Clear(logger); + configIni.ClearL(logger); //put in test over API CALLS testtype=0; @@ -373,22 +373,22 @@ //do the test INFO_PRINTF2(_L("Testing API %d"), iApiRunConfig.iApiId); - error = apitest.CachedTraceTime(iApiRunConfig, apitestresult); + error = apitest.CachedTraceTimeL(iApiRunConfig, apitestresult); if(error) { - INFO_PRINTF2(_L("ERROR: CachedTraceTime failed, error %d"), error); + INFO_PRINTF2(_L("ERROR: CachedTraceTimeL failed, error %d"), error); SetBlockResult(EFail); } - error = apitest.NonCachedTraceTime(iApiRunConfig, apitestresult); + error = apitest.NonCachedTraceTimeL(iApiRunConfig, apitestresult); if(error) { - INFO_PRINTF2(_L("ERROR: NonCachedTraceTime failed, error %d"), error); + INFO_PRINTF2(_L("ERROR: NonCachedTraceTimeL failed, error %d"), error); SetBlockResult(EFail); } - error = apitest.StackUsage(iApiRunConfig, apitestresult); + error = apitest.StackUsageL(iApiRunConfig, apitestresult); if(error) { - INFO_PRINTF2(_L("ERROR: StackUsage failed, error %d"), error); + INFO_PRINTF2(_L("ERROR: StackUsageL failed, error %d"), error); SetBlockResult(EFail); } @@ -437,7 +437,7 @@ } } } - configIni.Clear(logger); + configIni.ClearL(logger); } //put in all the error returns //put in test step result returns @@ -445,7 +445,7 @@ return BlockResult(); } -TVerdict CTCMPerformanceWrapper::DoPluginTests(const TInt& aPluginOnly, const TTEFSectionName& aSection) +TVerdict CTCMPerformanceWrapper::DoPluginTestsL(const TInt& aPluginOnly, const TTEFSectionName& aSection) { //define default plugin configurations _LIT(KDefaultPlugin,"uloggerfileplugin");