First public contribution.
1 // Copyright (c) 1996-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
27 #include "../tlib/testbase.h"
29 #include "TGraphicsHarness.h"
31 #define TEST_NEW_BITMAP_NAME _L("Z:\\WSTEST\\mytest.mbm")
33 class CTTSprite : public CTWsGraphicsBase
36 CTTSprite(CTestStep* aStep);
40 virtual void RunTestCaseL(TInt aCurTestCase);
44 void GroupWindowSpritesL();
46 void GeneralPointerCursor();
47 void PointerCursorVisibleL();
48 void SpriteUpdateMemberTestsL();
49 void SpriteUpdateMemberNegTestsL();
50 void FindWindowGroupThreadTestsL();
51 void SpriteOnWindowOrphanedTestsL();
53 void RotateNullSpriteL();
54 void DoubleActivateL();
56 void SetUpMember(TSpriteMember &aMember);
57 void SetUpPointerCursorL(RWsPointerCursor &aCursor, RWsSession &aSession);
58 void SetUpSpriteL(RWsSprite &aSprite, RWsSession &aSession, RWindowTreeNode &aWindow,TInt aFlags=0);
59 void SetUpSpriteL(RWsSprite &aSprite, RWindowTreeNode &aWindow,TPoint aPoint, TSpriteMember aMember, TInt aFlags=0);
62 RWsPointerCursor iCursor1;
63 RWsPointerCursor iCursor2;
67 class CTTSpriteStep : public CTGraphicsStep
73 virtual CTGraphicsBase* CreateTestL();
76 _LIT(KTTSpriteStep,"TSprite");