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: sl@0: #ifndef TBIDICURSORPOS_H_ sl@0: #define TBIDICURSORPOS_H_ sl@0: sl@0: #include sl@0: #include sl@0: sl@0: class CTBidiCursorPosStep : public CTestStep sl@0: { sl@0: public: sl@0: CTBidiCursorPosStep(){}; 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 CTBidiCursorPosStep::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 CTBidiCursorPosStep::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_BidiCursorPos, "T_BidiCursorPos"); sl@0: sl@0: sl@0: #endif /* TBIDICURSORPOS_H_ */