graphicsdeviceinterface/directgdi/test/tdrawtext.h
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @test
       
    19  @internalComponent - Internal Symbian test code 
       
    20 */
       
    21 
       
    22 #ifndef __TDRAWTEXT_H__
       
    23 #define __TDRAWTEXT_H__
       
    24 
       
    25 #include "tdirectgdi_test_step_base.h"
       
    26 #include <bitdev.h>
       
    27 
       
    28 class CTDrawText : public CTDirectGdiStepBase
       
    29 	{
       
    30 public:
       
    31 
       
    32 	CTDrawText();
       
    33 	~CTDrawText();
       
    34 	
       
    35 private:
       
    36 	void TestBasicFunctionality();
       
    37 	void TestTextPositioning();
       
    38 	void TestTextBox();
       
    39 	void TestTextPositioningVertical(TBool aUp);
       
    40 	void TestTextBoxVertical();
       
    41 	void TestPenBrushL();
       
    42 	void TestAlign();
       
    43 	void TestJustification();
       
    44 	void TestShadowUnderStrike();
       
    45 	void TestInvalidParamsL();
       
    46 
       
    47 	// From CStepStep
       
    48 	virtual TVerdict doTestStepPreambleL();
       
    49 	virtual TVerdict doTestStepL();
       
    50 	// from CTDirectGdiStepBase
       
    51 	void RunTestsL();
       
    52 
       
    53 private:
       
    54 	CFont* iFont;
       
    55 	};		
       
    56 	
       
    57 _LIT(KTDirectGdiDrawTextStep,"TDirectGDIDrawText");
       
    58 
       
    59 #endif