diff -r 63532cdadd44 -r 0d6db0a14001 traceservices/tracefw/ost_trace_api/unit_test/te_ost/src/te_check_record_content_step.cpp --- a/traceservices/tracefw/ost_trace_api/unit_test/te_ost/src/te_check_record_content_step.cpp Fri Jun 11 15:29:22 2010 +0300 +++ b/traceservices/tracefw/ost_trace_api/unit_test/te_ost/src/te_check_record_content_step.cpp Tue Jul 06 16:18:30 2010 +0300 @@ -52,11 +52,12 @@ SetTestStepName(KCheckRecordContentStep); SetLogFilename(KLogFilename); - DeleteLogFile(); } TVerdict CCheckRecordContentStep::doTestStepPreambleL() { + DeleteLogFileL(); + if(TestStepResult()==EPass) { //SetTestStepResult(EFail); @@ -79,7 +80,7 @@ TInt error = KErrNone; INFO_PRINTF1(_L("-------- Writing traces --------")); - error = WriteTraces(); + error = WriteTracesL(); if(error) { INFO_PRINTF2(_L("ERROR: Error when writing traces, error %i"), error); @@ -276,7 +277,7 @@ return trace; } -TInt CCheckRecordContentStep::WriteTraces() +TInt CCheckRecordContentStep::WriteTracesL() { TInt error = KErrNone; TInt lastError = KErrNone;