graphicsdeviceinterface/directgdi/test/tdirectgdioom.h
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @test
       
    19  @internalComponent - Internal Symbian test code 
       
    20 */
       
    21 
       
    22 #ifndef TDIRECTGDIOOM_H_
       
    23 #define TDIRECTGDIOOM_H_
       
    24 
       
    25 #include "tdirectgdi_test_step_base.h"
       
    26 
       
    27 /**
       
    28 This class contains test cases that have been specifically written to
       
    29 test out of memory (OOM) conditions only.
       
    30 
       
    31 @internalComponent
       
    32 @test
       
    33 */
       
    34 class CTDirectGdiOom : public CTDirectGdiStepBase
       
    35 	{
       
    36 public:
       
    37 	CTDirectGdiOom();
       
    38 	~CTDirectGdiOom();
       
    39 	
       
    40 private:
       
    41 	void TestDrawLargePolyLineL();
       
    42 	void TestSetPenSizeL();
       
    43 	
       
    44 	// Helpers
       
    45 	void FreeSgImagePixelFormatCache();
       
    46 	
       
    47 	
       
    48 	// from CTDirectGdiStepBase
       
    49 	TVerdict doTestStepPreambleL();
       
    50 	TVerdict doTestStepL();
       
    51 	void RunTestsL();
       
    52 	};		
       
    53 	
       
    54 _LIT(KTDirectGdiOom, "TDirectGDIOOM");
       
    55 
       
    56 #endif /*TDIRECTGDIOOM_H_*/