graphicsresourceservices/graphicsresourceimplementation/test/inc/tsggenericmanual.h
author William Roberts <williamr@symbian.org>
Fri, 23 Jul 2010 11:46:39 +0100
changeset 126 0ee22b620a47
parent 111 29ddb8a72f0e
permissions -rw-r--r--
Use buildrom ABI_DIR\BUILD_DIR conventions in the minigui .oby files

// 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*/