os/textandloc/textrendering/textformatting/test/src/tlinepag.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 /*
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description: 
    15 * @file
    16 * @internalComponent 
    17 *
    18 */
    19 
    20 
    21 #ifndef TLINEPAG_H_
    22 #define TLINEPAG_H_
    23 
    24 #include <e32cmn.h> 
    25 #include <test/testexecutestepbase.h>
    26 
    27 class CTLinePagStep : public CTestStep
    28     {    
    29 public:
    30     CTLinePagStep(){};
    31     void print(const TDesC& aBuf, const TText8* text, int line);
    32     void testpoint(TBool aCondition, const TText8* text, int line );
    33 protected:  
    34     TVerdict doTestStepL();
    35     };
    36 
    37 inline void CTLinePagStep::print(const TDesC& aBuf, const TText8* text, int line)
    38     {
    39     Logger().LogExtra((text), line, ESevrInfo, (aBuf));
    40     }
    41 
    42 inline void CTLinePagStep::testpoint(TBool aCondition, const TText8* text, int line )
    43     {
    44     testBooleanTrue((aCondition), text, line); 
    45     }
    46 
    47 _LIT(KTestStep_T_LinePag, "T_LinePag");
    48 
    49 #endif /* TLINEPAG_H_ */