lafagnosticuifoundation/graphicseffects/test/inc/t_gfxtranseffect.h
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     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 // t_gfxtranseffect.cpp
       
    15 // Test code for defect INC109405: Problem with sequential Gfxtranseffect registrations. 
       
    16 // 
       
    17 //
       
    18 
       
    19 /**
       
    20  @file 
       
    21  @test
       
    22  @internalComponent - Internal Symbian test code
       
    23 */
       
    24 
       
    25 #ifndef __T_GFXTRANSEFFECT_H
       
    26 #define __T_GFXTRANSEFFECT_H
       
    27 
       
    28 #include "appfwk_test_AppUi.h"
       
    29 
       
    30 _LIT(KTestGfxTransEffect, "T_GfxTransEffect");
       
    31 
       
    32 
       
    33 /**
       
    34 Test step class
       
    35 */
       
    36 class CTestGfxTransEffect : public CTmsTestStep
       
    37 	{
       
    38 public:
       
    39 	CTestGfxTransEffect();
       
    40 	~CTestGfxTransEffect();
       
    41 	virtual TVerdict doTestStepL();
       
    42 	void ConstructAppL(CEikonEnv* aCoe);
       
    43 private:
       
    44 	};
       
    45 
       
    46 /**
       
    47 A simple control on which all tests are carried out.
       
    48 */
       
    49 class CSimpleGfxTransControl : public CCoeControl
       
    50     {
       
    51 public:
       
    52     void ConstructL();
       
    53 	~CSimpleGfxTransControl();
       
    54 private: // framework
       
    55 	TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
       
    56 	};
       
    57 
       
    58 /**
       
    59 UI class to CTestGfxTransEffect test step class.
       
    60 */
       
    61 class CSimpleGfxTransAppUi : public CTestCoeAppUi
       
    62     {
       
    63 public:
       
    64 	CSimpleGfxTransAppUi(CTmsTestStep* aStep) : CTestCoeAppUi(aStep) {}
       
    65     void ConstructL();
       
    66 	~CSimpleGfxTransAppUi();
       
    67 private:
       
    68  	virtual void RunTestStepL(TInt aNextStep); 
       
    69    };
       
    70 
       
    71 #endif //__T_GFXTRANSEFFECT_H
       
    72 
       
    73