os/persistentdata/traceservices/tracefw/ulogger/unit_test/te-createconfig/te_createconfigemptystep.cpp
First public contribution.
1 // Copyright (c) 2006-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
17 @file te_createconfigemptystep.cpp
20 #include "te_createconfigemptystep.h"
21 #include "te_clearconfig.h"
23 using namespace Ulogger;
25 CCreateConfigEmptyTestStep::~CCreateConfigEmptyTestStep()
32 CCreateConfigEmptyTestStep::CCreateConfigEmptyTestStep()
37 // **MUST** call SetTestStepName in the constructor as the controlling
38 // framework uses the test step name immediately following construction to set
39 // up the step's unique logging ID.
40 SetTestStepName(KCreateConfigEmptyStep);
45 * Override of base class virtual
46 * @return - TVerdict code
49 TVerdict CCreateConfigEmptyTestStep::doTestStepPreambleL()
51 return TestStepResult();
55 * Override of base class virtual
56 * @return - TVerdict code
58 TVerdict CCreateConfigEmptyTestStep::doTestStepPostambleL()
60 return TestStepResult();
65 * @return - TVerdict code
68 TVerdict CCreateConfigEmptyTestStep::doTestStepL()
75 CClearConfig configIni;
77 configIni.ClearL(logger);
79 logger.SetSecondaryFilteringEnabled(EFalse);
81 SetTestStepResult(EPass);
83 return TestStepResult();