sl@0: // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // Name : tcapclock.cpp sl@0: // sl@0: // sl@0: sl@0: sl@0: sl@0: #include "tcapclock.h" sl@0: sl@0: Ctestcapclock::~Ctestcapclock() sl@0: { sl@0: } sl@0: sl@0: Ctestcapclock::Ctestcapclock(const TDesC& aStepName) sl@0: { sl@0: // MANDATORY Call to base class method to set up the human readable name for logging. sl@0: SetTestStepName(aStepName); sl@0: } sl@0: sl@0: TVerdict Ctestcapclock::doTestStepPreambleL() sl@0: { sl@0: __UHEAP_MARK; sl@0: SetTestStepResult(EPass); sl@0: return TestStepResult(); sl@0: } sl@0: sl@0: sl@0: sl@0: TVerdict Ctestcapclock::doTestStepPostambleL() sl@0: { sl@0: __UHEAP_MARKEND; sl@0: return TestStepResult(); sl@0: } sl@0: sl@0: sl@0: TVerdict Ctestcapclock::doTestStepL() sl@0: { sl@0: int err; sl@0: sl@0: //captest steps sl@0: if(TestStepName() == KTestcapclocksettime1) sl@0: { sl@0: INFO_PRINTF1(_L("Testcapclocksettime1():")); sl@0: err = Testcapclocksettime1(); sl@0: SetTestStepResult(err ? static_cast(err) : EPass); sl@0: } sl@0: return TestStepResult(); sl@0: sl@0: } sl@0: