diff -r 000000000000 -r bde4ae8d615e os/persistentdata/traceservices/tracefw/ulogger/unit_test/te-server/te_uloggerservertestsuitestepbase.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/persistentdata/traceservices/tracefw/ulogger/unit_test/te-server/te_uloggerservertestsuitestepbase.cpp Fri Jun 15 03:10:57 2012 +0200 @@ -0,0 +1,65 @@ +// Copyright (c) 2005-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: +// + +/** + @file Te_UloggerServerTestSuiteStepBase.cpp + @internalTechnology +*/ + +#include "te_uloggerservertestsuitestepbase.h" +#include "te_uloggerservertestsuitedefs.h" + +// Device driver constants + +TVerdict CTe_UloggerServerTestSuiteStepBase::doTestStepPreambleL() +/** + * @return - TVerdict + * Implementation of CTestStep base class virtual + * It is used for doing all initialisation common to derived classes in here. + * Make it being able to leave if there are any errors here as there's no point in + * trying to run a test step if anything fails. + * The leave will be picked up by the framework. + */ + { + + // process some common pre setting to test steps then set SetTestStepResult to EFail or Epass. + INFO_PRINTF1(_L("Please delete this line or modify me!! I am in doTestStepPreambleL() of the class CTe_UloggerServerTestSuiteStepBase!")); + SetTestStepResult(EPass); + return TestStepResult(); + } + +TVerdict CTe_UloggerServerTestSuiteStepBase::doTestStepPostambleL() +/** + * @return - TVerdict + * Implementation of CTestStep base class virtual + * It is used for doing all after test treatment common to derived classes in here. + * Make it being able to leave + * The leave will be picked up by the framework. + */ + { + + // process some common post setting to test steps then set SetTestStepResult to EFail or Epass. + INFO_PRINTF1(_L("Please delete this line or modify me!! I am in doTestStepPostambleL() of the class CTe_UloggerServerTestSuiteStepBase!")); + //SetTestStepResult(EPass); // or EFail + return TestStepResult(); + } + +CTe_UloggerServerTestSuiteStepBase::~CTe_UloggerServerTestSuiteStepBase() + { + } + +CTe_UloggerServerTestSuiteStepBase::CTe_UloggerServerTestSuiteStepBase() + { + }