graphicsresourceservices/graphicsresourceimplementation/test/inc/tgraphicsresourceinternal.h
changeset 36 01a6848ebfd7
equal deleted inserted replaced
0:5d03bc08d59c 36:01a6848ebfd7
       
     1 // Copyright (c) 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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17 @file
       
    18 @test
       
    19 @internalTechnology
       
    20  */
       
    21 
       
    22 #ifndef TGRAPHICSRESOURCEINTERNAL_H
       
    23 #define TGRAPHICSRESOURCEINTERNAL_H
       
    24 
       
    25 #include "tgraphicsresourceinternalteststepbase.h"
       
    26 
       
    27 /**
       
    28 Test class to run memory leak, out of memory and resource count tests
       
    29 using the internal SgResource extensions MSgDriver_Test and MSgDriver_Profiling.
       
    30 */
       
    31 class CTGraphicsResourceInternal : public CTGraphicsResourceInternalBase
       
    32 	{
       
    33 public:
       
    34 	CTGraphicsResourceInternal();
       
    35 	~CTGraphicsResourceInternal();
       
    36 
       
    37 private:
       
    38 	// From CTestStep
       
    39 	virtual TVerdict doTestStepL();
       
    40 
       
    41 	// Test Cases
       
    42 	void TestDriverMemoryLeakL();
       
    43 	void TestOOML();
       
    44 	void TestInitializeAndShutdownL();
       
    45 	void TestInitializeAndShutdownManyTimesL();
       
    46 	void TestResourceProfilingL();
       
    47 	void TestUsageBitsL();
       
    48 
       
    49 	};
       
    50 
       
    51 _LIT(KTGraphicsResourceInternalStep,"TGraphicsResourceInternal");
       
    52 
       
    53 #endif // TGRAPHICSRESOURCEINTERNAL_H