os/graphics/graphicsresourceservices/graphicsresource/test/tsgimagecollectiongeneric.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.
16 #ifndef TSGIMAGECOLLECTIONGENERIC_H
17 #define TSGIMAGECOLLECTIONGENERIC_H
19 #include "tgraphicsresourceteststepbase.h"
21 class CTSgImageCollectionGeneric : public CTSgTestStepBase
24 CTSgImageCollectionGeneric();
25 ~CTSgImageCollectionGeneric();
28 virtual TVerdict doTestStepL();
31 void TestCreateImageCollectionL();
32 void TestGetImageCollectionSurfaceIdL();
33 void TestGetCollectionImageNumberL();
34 void TestGetImageInfoInCollectionL();
35 void TestOpenImageInCollectionL();
36 void TestMapImageInCollectionL();
37 void TestCreateMultipleImageCollectionL();
40 void TestCreateImageCollectionInvalidL();
41 void TestCreateMultipleImageCollectionsInvalidL();
42 void TestGetImageCollectionInfoInvalidL();
43 void TestOpenImageInCollectionInvalidL();
44 void TestMapUnmapImagesInCollectionInvalidL();
45 void TestPanicImageCollectionCreateNoDriver1L();
46 void TestPanicImageCollectionCreateNoDriver2L();
49 void DoMemoryTestsL();
52 void TestPanicImageCollectionCloseInvalidHandleL();
53 void TestPanicImageCollectionCloseNoDriverL();
54 void TestPanicImageCollectionSurfaceIdInvalidHandleL();
55 void TestPanicImageCollectionSurfaceIdNoDriverL();
56 void TestPanicImageCollectionGetInfoInvalidHandleL();
57 void TestPanicImageCollectionGetInfoNoDriverL();
58 void TestPanicImageCollectionCountInvalidHandleL();
59 void TestPanicImageCollectionCountNoDriverL();
60 void TestPanicImageCollectionOpenImageInvalidHandleL();
61 void TestPanicImageCollectionOpenImageNoDriverL();
64 _LIT(KTSgImageCollectionGeneric,"TSgImageCollectionGeneric");
66 #endif /*TSGIMAGECOLLECTIONGENERIC_H*/