First public contribution.
1 // Copyright (c) 2006-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.
14 // Enable Multiple Displays
21 @internalComponent - Internal Symbian test code
24 #ifndef __TMULSCREENS_H__
25 #define __TMULSCREENS_H__
30 #include "TGraphicsHarness.h"
32 class CTMulScreens : public CTWsGraphicsBase
35 CTMulScreens(CTestStep* aStep);
39 virtual void RunTestCaseL(TInt aCurTestCase);
42 void TestCreateGroupWindowsL();
43 void TestCreateBlankWindowsL();
44 void TestGetFocusWindow();
45 void TestGetDefaultOwningWindow();
46 void TestSetBackgroundColour();
47 void TestSetShadowVector();
49 static TInt TestInvalidScreenNumberL(TInt aOption,TAny* aScreenNumber);
50 void TestInitaliseScreenDeviceL();
51 void TestScreenNumbersOfWindowsL();
55 CWsScreenDevice* iFstScreenDevice;
56 CWsScreenDevice* iSndScreenDevice;
57 RWindowGroup iFstWinGp;
58 RWindowGroup iSndWinGp;
62 class CTMulScreensStep : public CTGraphicsStep
68 virtual CTGraphicsBase* CreateTestL();
71 _LIT(KTMulScreensStep,"TMulScreens");