Update contrib.
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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
22 #ifndef TDIRECTGDICONTEXT_H
23 #define TDIRECTGDICONTEXT_H
26 #include "tdirectgdi_test_step_base.h"
28 _LIT(KSamePixelType, "_SamePixelType");
29 _LIT(KDifferentPixelType, "_DiffPixelType");
30 _LIT(KTarget1, "_Tgt1");
31 _LIT(KTarget2, "_Tgt2");
32 _LIT(KContext1, "_Ctx1");
33 _LIT(KContext2, "_Ctx2");
36 This class contains all the test cases related to DirectGdi Context
38 class CTDirectGdiContext : public CTDirectGdiStepBase
42 ~CTDirectGdiContext();
45 void OneContextOneTarget();
46 void OneContextTwoTargets();
47 void TwoContextsOneTarget();
48 void TwoContextsTwoTargets_WithoutSharingL();
49 void TwoContextsTwoTargets_WithSharingL();
50 void OneContextOneTarget_TwiceActivateL();
51 void ExternalizeInternalizeTestL();
52 void TestCopySettings();
54 virtual TVerdict doTestStepPreambleL();
55 virtual TVerdict doTestStepL();
56 // from CTDirectGdiStepBase
64 _LIT(KTDirectGdiContextStep,"TDirectGDIContext");
66 #endif /*TDIRECTGDICONTEXT_H*/