sl@0: /* sl@0: * Copyright (c) 2010 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: * @file sl@0: * @internalComponent sl@0: * sl@0: */ sl@0: sl@0: #ifndef TFORMBENCHMARK_H_ sl@0: #define TFORMBENCHMARK_H_ sl@0: sl@0: #include sl@0: #include sl@0: sl@0: class CTFormBenchmarkStep : public CTestStep sl@0: { sl@0: public: sl@0: CTFormBenchmarkStep(){}; sl@0: void print(const TDesC& aBuf, const TText8* text, int line); sl@0: void testpoint(TBool aCondition, const TText8* text, int line ); sl@0: protected: sl@0: TVerdict doTestStepL(); sl@0: }; sl@0: sl@0: inline void CTFormBenchmarkStep::print(const TDesC& aBuf, const TText8* text, int line) sl@0: { sl@0: Logger().LogExtra((text), line, ESevrInfo, (aBuf)); sl@0: } sl@0: sl@0: inline void CTFormBenchmarkStep::testpoint(TBool aCondition, const TText8* text, int line ) sl@0: { sl@0: testBooleanTrue((aCondition), text, line); sl@0: } sl@0: sl@0: _LIT(KTestStep_T_FormBenchmark, "T_FormBenchmark"); sl@0: sl@0: #endif /* TFORMBENCHMARK_H_ */