traceservices/tracefw/integ_test/ulogger/TEF/te_ulogger/src/te_uloggerclearconfigstep.cpp
changeset 0 08ec8eefde2f
child 23 26645d81f48d
equal deleted inserted replaced
-1:000000000000 0:08ec8eefde2f
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Example CTestStep derived implementation
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file te_uloggerclearconfigstep.cpp
       
    20  @internalTechnology
       
    21 */
       
    22 #include "te_uloggerclearconfigstep.h"
       
    23 #include "te_uloggermclsuitedefs.h"
       
    24 
       
    25 using namespace Ulogger;
       
    26 
       
    27 CULoggerClearConfigStep::~CULoggerClearConfigStep()
       
    28 /**
       
    29  * Destructor
       
    30  */
       
    31 	{
       
    32 	}
       
    33 
       
    34 CULoggerClearConfigStep::CULoggerClearConfigStep()
       
    35 /**
       
    36  * Constructor
       
    37  */
       
    38 	{
       
    39 		SetTestStepName(KULoggerClearConfigStep);
       
    40 	}
       
    41 
       
    42 TVerdict CULoggerClearConfigStep::doTestStepPreambleL()
       
    43 /**
       
    44  * @return - TVerdict code
       
    45  * Override of base class virtual
       
    46  */
       
    47 	{
       
    48 		INFO_PRINTF1(_L("Please delete this line or modify it. I am in Test Step Preamble in Class CULoggerClearConfigStep"));
       
    49 		SetTestStepResult(EPass);
       
    50 		return TestStepResult();
       
    51 	}
       
    52 
       
    53 
       
    54 TVerdict CULoggerClearConfigStep::doTestStepL()
       
    55 /**
       
    56  * @return - TVerdict code
       
    57  * Override of base class pure virtual
       
    58  * Our implementation only gets called if the base class doTestStepPreambleL() did
       
    59  * not leave. That being the case, the current test result value will be EPass.
       
    60  */
       
    61 	{
       
    62 		RULogger logger;
       
    63 	    logger.Connect();
       
    64 	    CClearConfig configIni;
       
    65 	    configIni.Clear(logger);		
       
    66      	SetTestStepResult(EPass);
       
    67 		return TestStepResult();
       
    68 	}
       
    69 
       
    70 
       
    71 
       
    72 TVerdict CULoggerClearConfigStep::doTestStepPostambleL()
       
    73 /**
       
    74  * @return - TVerdict code
       
    75  * Override of base class virtual
       
    76  */
       
    77 	{
       
    78 		INFO_PRINTF1(_L("Please delete this line or modify it. I am in Test Step Postamble in Class CULoggerClearConfigStep"));
       
    79 		return TestStepResult();
       
    80 	}