textrendering/textformatting/test/src/tgraphemeiterator.h
author hgs
Thu, 26 Aug 2010 11:46:18 +0800
changeset 53 11e2bb0d14ba
permissions -rw-r--r--
201028_05

/*
* 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 TGRAPHEMEITERATOR_H_
#define TGRAPHEMEITERATOR_H_

#include <e32cmn.h> 
#include <test/testexecutestepbase.h>

class CTGraphemeIteratorStep : public CTestStep
    {    
public:
    CTGraphemeIteratorStep(){};
    void print(const TDesC& aBuf, const TText8* text, int line);
    void testpoint(TBool aCondition, const TText8* text, int line);
protected:  
    TVerdict doTestStepL();
    };

inline void CTGraphemeIteratorStep::print(const TDesC& aBuf, const TText8* text, int line)
    {
    Logger().LogExtra((text), line, ESevrInfo, (aBuf));
    }

inline void CTGraphemeIteratorStep::testpoint(TBool aCondition, const TText8* text, int line )
    {
    testBooleanTrue((aCondition), text, line); 
    }

_LIT(KTestStep_T_GraphemeIterator, "T_GraphemeIterator");

#endif /* TGRAPHEMEITERATOR_H_ */