os/ossrv/genericopenlibs/posixrealtimeextensions/test/testcapclock/src/tcapclock.cpp
Update contrib.
1 // Copyright (c) 2008-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.
14 // Name : tcapclock.cpp
20 #include "tcapclock.h"
22 Ctestcapclock::~Ctestcapclock()
26 Ctestcapclock::Ctestcapclock(const TDesC& aStepName)
28 // MANDATORY Call to base class method to set up the human readable name for logging.
29 SetTestStepName(aStepName);
32 TVerdict Ctestcapclock::doTestStepPreambleL()
35 SetTestStepResult(EPass);
36 return TestStepResult();
41 TVerdict Ctestcapclock::doTestStepPostambleL()
44 return TestStepResult();
48 TVerdict Ctestcapclock::doTestStepL()
53 if(TestStepName() == KTestcapclocksettime1)
55 INFO_PRINTF1(_L("Testcapclocksettime1():"));
56 err = Testcapclocksettime1();
57 SetTestStepResult(err ? static_cast<TVerdict>(err) : EPass);
59 return TestStepResult();