First public contribution.
1 // Copyright (c) 2008-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.
16 #ifndef SUBTITLEGRAPHICTESTSTEP_H
17 #define SUBTITLEGRAPHICTESTSTEP_H
19 #include <testframework.h>
22 #include "mmfsubtitlegraphic.h"
25 Basic test for subtitle graphic client API
27 class RSubtitleGraphicTestStep : public RTestStep
30 RSubtitleGraphicTestStep(const TDesC& aStepName);
36 TVerdict DoTestStepPreambleL();
37 TVerdict DoTestStepPostambleL();
38 TVerdict StartCrpDrawL();
44 TBool CreateBitmap1L();
45 TBool CreateBitmap2L();
46 TBool CreateBitmap3L();
47 void DestroyBitmap1();
48 void DestroyBitmap2();
49 void DestroyBitmap3();
52 CActiveScheduler* iActiveScheduler;
53 TBool iActiveSchedulerStarted;
56 // Window server related objects
58 CWsScreenDevice* iScreen;
60 RWindowGroup iRootWindow;
62 CMMFSubtitleGraphic* iCRPGraphic;
71 #endif // SUBTITLEGRAPHICTESTSTEP_H