sl@0: // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: #ifndef TSGIMAGECOLLECTIONGENERIC_H sl@0: #define TSGIMAGECOLLECTIONGENERIC_H sl@0: sl@0: #include "tgraphicsresourceteststepbase.h" sl@0: sl@0: class CTSgImageCollectionGeneric : public CTSgTestStepBase sl@0: { sl@0: public: sl@0: CTSgImageCollectionGeneric(); sl@0: ~CTSgImageCollectionGeneric(); sl@0: private: sl@0: // From CTestStep sl@0: virtual TVerdict doTestStepL(); sl@0: private: sl@0: //positive tests sl@0: void TestCreateImageCollectionL(); sl@0: void TestGetImageCollectionSurfaceIdL(); sl@0: void TestGetCollectionImageNumberL(); sl@0: void TestGetImageInfoInCollectionL(); sl@0: void TestOpenImageInCollectionL(); sl@0: void TestMapImageInCollectionL(); sl@0: void TestCreateMultipleImageCollectionL(); sl@0: sl@0: //negative tests sl@0: void TestCreateImageCollectionInvalidL(); sl@0: void TestCreateMultipleImageCollectionsInvalidL(); sl@0: void TestGetImageCollectionInfoInvalidL(); sl@0: void TestOpenImageInCollectionInvalidL(); sl@0: void TestMapUnmapImagesInCollectionInvalidL(); sl@0: void TestPanicImageCollectionCreateNoDriver1L(); sl@0: void TestPanicImageCollectionCreateNoDriver2L(); sl@0: sl@0: //out of memory tests sl@0: void DoMemoryTestsL(); sl@0: sl@0: //panic tests sl@0: void TestPanicImageCollectionCloseInvalidHandleL(); sl@0: void TestPanicImageCollectionCloseNoDriverL(); sl@0: void TestPanicImageCollectionSurfaceIdInvalidHandleL(); sl@0: void TestPanicImageCollectionSurfaceIdNoDriverL(); sl@0: void TestPanicImageCollectionGetInfoInvalidHandleL(); sl@0: void TestPanicImageCollectionGetInfoNoDriverL(); sl@0: void TestPanicImageCollectionCountInvalidHandleL(); sl@0: void TestPanicImageCollectionCountNoDriverL(); sl@0: void TestPanicImageCollectionOpenImageInvalidHandleL(); sl@0: void TestPanicImageCollectionOpenImageNoDriverL(); sl@0: }; sl@0: sl@0: _LIT(KTSgImageCollectionGeneric,"TSgImageCollectionGeneric"); sl@0: sl@0: #endif /*TSGIMAGECOLLECTIONGENERIC_H*/