diff -r 000000000000 -r bde4ae8d615e os/textandloc/textrendering/textformatting/test/src/tbidicursorpos.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/textandloc/textrendering/textformatting/test/src/tbidicursorpos.h Fri Jun 15 03:10:57 2012 +0200 @@ -0,0 +1,50 @@ +/* +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* @file +* @internalComponent +* +*/ + + +#ifndef TBIDICURSORPOS_H_ +#define TBIDICURSORPOS_H_ + +#include +#include + +class CTBidiCursorPosStep : public CTestStep + { +public: + CTBidiCursorPosStep(){}; + void print(const TDesC& aBuf, const TText8* text, int line); + void testpoint(TBool aCondition, const TText8* text, int line ); +protected: + TVerdict doTestStepL(); + }; + +inline void CTBidiCursorPosStep::print(const TDesC& aBuf, const TText8* text, int line) + { + Logger().LogExtra((text), line, ESevrInfo, (aBuf)); + } + +inline void CTBidiCursorPosStep::testpoint(TBool aCondition, const TText8* text, int line ) + { + testBooleanTrue((aCondition), text, line); + } + +_LIT(KTestStep_T_BidiCursorPos, "T_BidiCursorPos"); + + +#endif /* TBIDICURSORPOS_H_ */