diff -r f902e87c146f -r 748ec5531811 textrendering/textformatting/test/src/tlinepag.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/textrendering/textformatting/test/src/tlinepag.h Tue Aug 31 17:01:26 2010 +0300 @@ -0,0 +1,49 @@ +/* +* 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 TLINEPAG_H_ +#define TLINEPAG_H_ + +#include +#include + +class CTLinePagStep : public CTestStep + { +public: + CTLinePagStep(){}; + void print(const TDesC& aBuf, const TText8* text, int line); + void testpoint(TBool aCondition, const TText8* text, int line ); +protected: + TVerdict doTestStepL(); + }; + +inline void CTLinePagStep::print(const TDesC& aBuf, const TText8* text, int line) + { + Logger().LogExtra((text), line, ESevrInfo, (aBuf)); + } + +inline void CTLinePagStep::testpoint(TBool aCondition, const TText8* text, int line ) + { + testBooleanTrue((aCondition), text, line); + } + +_LIT(KTestStep_T_LinePag, "T_LinePag"); + +#endif /* TLINEPAG_H_ */