os/persistentdata/traceservices/tracefw/ulogger/unit_test/te-server/te_uloggerservertestsuitestepbase.cpp
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     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 //
    15 
    16 /**
    17  @file Te_UloggerServerTestSuiteStepBase.cpp
    18  @internalTechnology
    19 */
    20 
    21 #include "te_uloggerservertestsuitestepbase.h"
    22 #include "te_uloggerservertestsuitedefs.h"
    23 
    24 // Device driver constants
    25 
    26 TVerdict CTe_UloggerServerTestSuiteStepBase::doTestStepPreambleL()
    27 /**
    28  * @return - TVerdict
    29  * Implementation of CTestStep base class virtual
    30  * It is used for doing all initialisation common to derived classes in here.
    31  * Make it being able to leave if there are any errors here as there's no point in
    32  * trying to run a test step if anything fails.
    33  * The leave will be picked up by the framework.
    34  */
    35 	{
    36 
    37 	// process some common pre setting to test steps then set SetTestStepResult to EFail or Epass.
    38 	INFO_PRINTF1(_L("Please delete this line or modify me!! I am in doTestStepPreambleL() of the class CTe_UloggerServerTestSuiteStepBase!"));
    39 	SetTestStepResult(EPass);
    40 	return TestStepResult();
    41 	}
    42 
    43 TVerdict CTe_UloggerServerTestSuiteStepBase::doTestStepPostambleL()
    44 /**
    45  * @return - TVerdict
    46  * Implementation of CTestStep base class virtual
    47  * It is used for doing all after test treatment common to derived classes in here.
    48  * Make it being able to leave
    49  * The leave will be picked up by the framework.
    50  */
    51 	{
    52 
    53 	// process some common post setting to test steps then set SetTestStepResult to EFail or Epass.
    54 	INFO_PRINTF1(_L("Please delete this line or modify me!! I am in doTestStepPostambleL() of the class CTe_UloggerServerTestSuiteStepBase!"));
    55 	//SetTestStepResult(EPass);  // or EFail
    56 	return TestStepResult();
    57 	}
    58 
    59 CTe_UloggerServerTestSuiteStepBase::~CTe_UloggerServerTestSuiteStepBase()
    60 	{
    61 	}
    62 
    63 CTe_UloggerServerTestSuiteStepBase::CTe_UloggerServerTestSuiteStepBase()
    64 	{
    65 	}