os/textandloc/textrendering/textformatting/test/src/tformhindi.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 #ifndef TFORMHINDI_H_
    21 #define TFORMHINDI_H_
    22 #include <e32cmn.h> 
    23 #include <test/testexecutestepbase.h>
    24 
    25 class CTFormHindiStep : public CTestStep
    26     {    
    27 public:
    28     CTFormHindiStep(){};
    29     void print(const TDesC& aBuf, const TText8* text, int line);
    30     void testpoint(TBool aCondition, const TText8* text, int line );
    31 protected:  
    32     TVerdict doTestStepL();
    33     };
    34 
    35 inline void CTFormHindiStep::print(const TDesC& aBuf, const TText8* text, int line)
    36     {
    37     Logger().LogExtra((text), line, ESevrInfo, (aBuf));
    38     }
    39 
    40 inline void CTFormHindiStep::testpoint(TBool aCondition, const TText8* text, int line )
    41     {
    42     testBooleanTrue((aCondition), text, line); 
    43     }
    44 
    45 _LIT(KTestStep_T_FormHindi, "T_FormHindi");
    46 
    47 #endif /* TFORMHINDI_H_ */