First public contribution.
1 // Copyright (c) 2005-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
19 @internalComponent - Internal Symbian test code
22 #ifndef __TFADEPERF_H__
23 #define __TFADEPERF_H__
25 #include "te_graphicsperformanceSuiteStepBase.h"
28 class CTFadePerf : public CTe_graphicsperformanceSuiteStepBase
35 void FadeOpaqueSingleWindowRepeatedlyL();
36 void FadeTransparentSingleWindowRecordFadeL();
37 void FadeTransparentSingleWindowRecordUnfadeL();
38 void FadeOpaqueSingleWindowRecordFadeL();
39 void FadeOpaqueSingleWindowRecordUnfadeL();
41 void FadeOpaqueWindowsBehindRepeatedlyL();
42 void FadeTransparentWindowsBehindRecordFadeL();
43 void FadeTransparentWindowsBehindRecordUnfadeL();
44 void FadeOpaqueWindowsBehindRecordFadeL();
45 void FadeOpaqueWindowsBehindRecordUnfadeL();
47 void SetSystemFadedRepeatedlyL();
48 void SetSystemFadedTransparentWindowsRecordFadeL();
49 void SetSystemFadedTransparentWindowsRecordUnfadeL();
50 void SetSystemFadedOpaqueWindowsRecordFadeL();
51 void SetSystemFadedOpaqueWindowsRecordUnfadeL();
53 void SetNonFadingRepeatedlyL();
54 void SetNonFadingTransparentWindowsRecordFadeL();
55 void SetNonFadingTransparentWindowsRecordUnfadeL();
56 void SetNonFadingOpaqueWindowsRecordFadeL();
57 void SetNonFadingOpaqueWindowsRecordUnfadeL();
60 TVerdict doTestStepPreambleL();
61 TVerdict doTestStepPostambleL();
62 TVerdict doTestStepL();
64 void SetUpWindowEnvironmentL();
65 void ConstructSingleWindowL(TBool aUseTransparency);
66 void ConstructArrayOfWindowsL(TBool aUseTransparency, TBool aNonFadeHalfWindows);
67 void ReleaseWindowsAndEnvironment(TBool aIsSingleWindow);
72 CWsScreenDevice* iWsScreenDev;
73 RWindowGroup* iWinGroup;
74 RWindow* iWins[ENumWins];
78 _LIT(KTFadePerfName,"tfadeperf");