diff -r bf7481649c98 -r 7f25ef56562d windowing/windowserver/tauto/TPROCPRI.H --- a/windowing/windowserver/tauto/TPROCPRI.H Fri Jun 11 14:58:47 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,72 +0,0 @@ -// Copyright (c) 1996-2009 Nokia Corporation and/or its subsidiary(-ies). -// All rights reserved. -// This component and the accompanying materials are made available -// under the terms of "Eclipse Public License v1.0" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// - -/** - @file - @test - @internalComponent - Internal Symbian test code -*/ - -#ifndef __TPROCPRI_H__ -#define __TPROCPRI_H__ - -#include "AUTO.H" -#include "TGraphicsHarness.h" -#include "../tlib/testbase.h" -#include -#include - -#define OTHER_PROC_GROUP_NAME _L("OtherProcGroupWindow") -#define PROC_PRI_SEMAPHORE_NAME1 _L("abcerProcSem1") -#define PROC_PRI_SEMAPHORE_NAME2 _L("OtherProcSem2") - -class CTProcPri : public CTWsGraphicsBase - { -private: - enum - { - ECreatedSem1=0x0001, - ECreatedSem2=0x0002, - }; -public: - CTProcPri(CTestStep* aStep); - ~CTProcPri(); - void ConstructL(); - void TestPriChangeL(); -protected: -//from CTGraphicsStep - virtual void RunTestCaseL(TInt aCurTestCase); -private: - TSize iWinSize; - RSemaphore iSem1; - RSemaphore iSem2; - TUint iFlags; - CProcess* iProcess; - }; - - -class CTProcPriStep : public CTGraphicsStep - { -public: - CTProcPriStep(); -protected: - //from CTGraphicsStep - virtual CTGraphicsBase* CreateTestL(); - }; - -_LIT(KTProcPriStep,"TProcPri"); - - -#endif