graphicsresourceservices/graphicsresourceimplementation/test/inc/tsggenericmanual.h
branchRCL_3
changeset 163 bbf46f59e123
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/graphicsresourceservices/graphicsresourceimplementation/test/inc/tsggenericmanual.h	Tue Aug 31 16:31:06 2010 +0300
@@ -0,0 +1,50 @@
+// 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*/