os/graphics/graphicsresourceservices/graphicsresourceimplementation/test/inc/tsggenericmanual.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 2009-2010 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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // Graphics Resource generic non-automated tests
    15 
    16 #ifndef TSGGENERICMANUAL_H
    17 #define TSGGENERICMANUAL_H
    18 
    19 #include <e32msgqueue.h>
    20 #include "tgraphicsresourceteststepbase.h"
    21 
    22 /**
    23 Class containing all the tests for SgResource that must be run manually
    24 and not part of the automated testing system.
    25  */
    26 class CTSgGenericManual : public CTSgTestStepBase
    27 	{
    28 public:
    29 	CTSgGenericManual(TBool aConformanceTests);
    30 	~CTSgGenericManual();
    31 	
    32 	// tests
    33 	void TestStressResourceLeakL();
    34 
    35 private:
    36 	// utility methods
    37 	TInt CreateImages(const TSgImageInfo& aInfo, RArray<RSgImage>& aTestImages, TBool aDuplicate);
    38     void DestroyImages(RArray<RSgImage>& aTestImages);
    39     
    40 	// From CTSgTestStepBase
    41 	virtual TVerdict doTestStepL();
    42 
    43 private:
    44 	RProcess iSecondProcess;
    45 	RMsgQueue<TSgDrawableId> iMsgQ;
    46 	};
    47 
    48 _LIT(KTSgGenericManual,"TSgGenericManual");
    49 
    50 #endif /*TSGGENERICMANUAL_H*/