os/textandloc/textrendering/textformatting/test/src/tunique.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     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 TUNIQUE_H_
    22 #define TUNIQUE_H_
    23 
    24 #include <e32cmn.h> 
    25 #include <test/testexecutestepbase.h>
    26 
    27 class CTUniqueStep : public CTestStep
    28     {    
    29 public:
    30     CTUniqueStep(){};
    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 CTUniqueStep::print(const TDesC& aBuf, const TText8* text, int line)
    38     {
    39     Logger().LogExtra((text), line, ESevrInfo, (aBuf));
    40     }
    41 
    42 inline void CTUniqueStep::testpoint(TBool aCondition, const TText8* text, int line )
    43     {
    44     testBooleanTrue((aCondition), text, line); 
    45     }
    46 
    47 _LIT(KTestStep_T_Unique, "T_Unique");
    48 
    49 #endif /* TUNIQUE_H_ */