Update contrib.
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.
16 #ifndef TSGIMAGEGENERIC_H
17 #define TSGIMAGEGENERIC_H
19 #include "tgraphicsresourceteststepbase.h"
21 class CTSgImageGeneric : public CTSgTestStepBase
27 // From CTestStepCTSgImageGeneric
28 virtual TVerdict doTestStepL();
32 void TestGetPixelFormatsL();
33 void TestCreateImageUninitializedL();
34 void TestCreateImageL();
35 void TestCreateImageFromExistingImageL();
36 void TestGetImageInfoL();
37 void TestGetImageDrawableIdL();
39 void TestOpenImageL();
40 void TestOpenImageInternalL();
41 void TestGetInterfaceL();
44 void TestGetPixelFormatsInvalidL();
45 void TestOpenImageInvalidL();
46 void TestCloseImageManyTimesL();
47 void TestCloseImageWithoutOpenL();
48 void TestCreateImageInvalidL();
49 void TestGetInfoInvalidImageL();
50 void TestMapImageInvalidL();
51 void TestUnmapImageInvalidL();
54 void DoMemoryTestsL();
61 void TestPanicImageGetInterfaceInvalidHandleL();
62 void TestPanicImageGetInterfaceNoDriverL();
63 void TestPanicImageCloseInvalidHandleL();
64 void TestPanicImageCloseNoDriverL();
65 void TestPanicImageIdInvalidHandleL();
66 void TestPanicImageIdNoDriverL();
67 void TestPanicImageCreateInvalidHandleL();
68 void TestPanicImageGetInfoInvalidHandleL();
69 void TestPanicImageGetInfoNoDriverL();
70 void TestPanicImageMapReadOnlyInvalidHandleL();
71 void TestPanicImageMapReadOnlyNoDriverL();
72 void TestPanicImageMapWriteOnlyInvalidHandleL();
73 void TestPanicImageMapWriteOnlyNoDriverL();
74 void TestPanicImageMapReadWriteInvalidHandleL();
75 void TestPanicImageMapReadWriteNoDriverL();
76 void TestPanicImageUnmapInvalidHandleL();
77 void TestPanicImageUnmapNoDriverL();
78 void TestPanicImageOpenNoDriver1L();
79 void TestPanicImageOpenNoDriver2L();
80 void TestPanicImageCreateNoDriver1L();
81 void TestPanicImageCreateNoDriver2L();
82 void TestPanicImageGetPixelFormatsNoDriverL();
83 void TestPanicImageDrawableTypeNoDriverL();
84 void TestPanicImageDrawableTypeInvalidHandleL();
86 RArray<RSgImage> iTestImages;
89 _LIT(KTSgImageGeneric,"TSgImageGeneric");
91 #endif /*TSGIMAGEGENERIC_H*/