sl@0: /* 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.h sl@0: * sl@0: * sl@0: */ sl@0: sl@0: sl@0: sl@0: sl@0: #ifndef __TESTCAPCLOCK_H__ sl@0: #define __TESTCAPCLOCK_H__ sl@0: sl@0: #include sl@0: #include sl@0: #include sl@0: #include sl@0: #include sl@0: #include sl@0: #include sl@0: #include sl@0: #include sl@0: sl@0: #include sl@0: #include sl@0: sl@0: #include sl@0: sl@0: sl@0: sl@0: // MACROS sl@0: //#define ?macro ?macro_def sl@0: #define BUF_SIZE 100 sl@0: sl@0: // CONSTANTS sl@0: //const ?type ?constant_var = ?constant; sl@0: const TInt bufSize = 200; sl@0: sl@0: sl@0: //utility functions sl@0: void MakeSpace(char *); sl@0: sl@0: sl@0: sl@0: //literals for file operations sl@0: _LIT(KTestcapclocksettime1, "Testcapclocksettime1"); sl@0: sl@0: class Ctestcapclock : public CTestStep sl@0: { sl@0: public: sl@0: ~Ctestcapclock(); sl@0: Ctestcapclock(const TDesC& aStepName); sl@0: TVerdict doTestStepL(); sl@0: TVerdict doTestStepPreambleL(); sl@0: TVerdict doTestStepPostambleL(); sl@0: private: sl@0: sl@0: sl@0: sl@0: //Captests for clock_settime() operations sl@0: TInt Testcapclocksettime1(); sl@0: sl@0: }; sl@0: #endif sl@0: