os/graphics/graphicsresourceservices/graphicsresourceimplementation/test/inc/tsgdrawablegeneric.h
First public contribution.
1 // Copyright (c) 2007-2009 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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
20 #ifndef TSGDRAWABLEGENERIC_H
21 #define TSGDRAWABLEGENERIC_H
23 #include "tgraphicsresourceteststepbase.h"
26 Class containing all the positive, negative and panic tests for RSgDrawable.
28 KErrNoMemory testing can optionally be enabled.
30 class CTSgDrawableGeneric : public CTSgTestStepBase
33 CTSgDrawableGeneric(TBool aConformanceTests);
34 ~CTSgDrawableGeneric();
37 void TestOpenImageAsDrawableL();
38 void TestGetDrawableDrawableIdL();
40 void TestOpenDrawableInvalidL();
41 void TestCloseDrawableWithoutOpenL();
45 virtual TVerdict doTestStepL();
48 void TestPanicDrawableOpenNoDriverL();
51 _LIT(KTSgDrawableGeneric,"TSgDrawableGeneric");
53 #endif /*TSGDRAWABLEGENERIC_H*/