os/graphics/graphicsdeviceinterface/directgdi/test/tinterleaving.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
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".
     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 __TINTERLEAVING_H__
    23 #define __TINTERLEAVING_H__
    24 
    25 #include "tdirectgdi_test_step_base.h"
    26 
    27 /**
    28 Base class for Interleaving family tests.
    29 */
    30 class CTInterleaving : public CTDirectGdiStepBase
    31 	{
    32 public:
    33 	CTInterleaving();
    34 	~CTInterleaving();
    35 	
    36 private:
    37 	// Main test methods
    38 	void TestSyncL();
    39 	void TestAsyncL(TBool aDebug=EFalse);
    40 
    41 	// Helper functions
    42 	void DrawDirectGdiCheckboardToTarget();
    43 	void DrawDirectGdiBarsToTarget();
    44 	void DrawImageToTargetL(TSgDrawableId aImageId);
    45 
    46 	// From CStepStep
    47 	virtual TVerdict doTestStepPreambleL();
    48 	virtual TVerdict doTestStepL();	
    49 	virtual TVerdict doTestStepPostambleL();
    50 	
    51 	// from CTDirectGdiStepBase
    52 	void RunTestsL();
    53 	};		
    54 	
    55 _LIT(KTDirectGdiInterleavingStep,"TDirectGDIInterleaving");
    56 
    57 #endif