graphicsresourceservices/graphicsresourceimplementation/test/inc/tsggenericmanual.h
author Fionntina Carville <fionntinac@symbian.org>
Fri, 08 Oct 2010 15:48:50 +0100
changeset 197 ae38b71cf500
parent 111 29ddb8a72f0e
permissions -rw-r--r--
Fix for Bug 3799 - Syborg UI Rom not building

// Copyright (c) 2009-2010 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:
// Graphics Resource generic non-automated tests

#ifndef TSGGENERICMANUAL_H
#define TSGGENERICMANUAL_H

#include <e32msgqueue.h>
#include "tgraphicsresourceteststepbase.h"

/**
Class containing all the tests for SgResource that must be run manually
and not part of the automated testing system.
 */
class CTSgGenericManual : public CTSgTestStepBase
	{
public:
	CTSgGenericManual(TBool aConformanceTests);
	~CTSgGenericManual();
	
	// tests
	void TestStressResourceLeakL();

private:
	// utility methods
	TInt CreateImages(const TSgImageInfo& aInfo, RArray<RSgImage>& aTestImages, TBool aDuplicate);
    void DestroyImages(RArray<RSgImage>& aTestImages);
    
	// From CTSgTestStepBase
	virtual TVerdict doTestStepL();

private:
	RProcess iSecondProcess;
	RMsgQueue<TSgDrawableId> iMsgQ;
	};

_LIT(KTSgGenericManual,"TSgGenericManual");

#endif /*TSGGENERICMANUAL_H*/