graphicstest/uibench/s60/src/tests_flowwindow/trotateteststep.h
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     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  @internalComponent - Internal Symbian test code 
       
    20 */
       
    21  
       
    22 #ifndef TROTATETESTSTEP_H
       
    23 #define TROTATETESTSTEP_H
       
    24 
       
    25 #include "te_graphicsperformanceSuiteStepBase.h"
       
    26 
       
    27 class CTFlowWindowsController;
       
    28 
       
    29 
       
    30 /**
       
    31  * Rotates the screen to each of the four orientations and measures the amount
       
    32  * of time it took. Note: The wsini_rotate_test.ini must be manually copied to 
       
    33  * z:\system\data\wsini.ini before the test is run.
       
    34  * 
       
    35  */
       
    36 class CTRotateTestStep : public CTe_graphicsperformanceSuiteStepBase
       
    37 	{
       
    38 public:
       
    39 	CTRotateTestStep();
       
    40 	virtual ~CTRotateTestStep();
       
    41 	
       
    42 private:
       
    43 	// From CTestStep
       
    44 	virtual TVerdict doTestStepPreambleL();
       
    45 	virtual TVerdict doTestStepL();
       
    46 	
       
    47 	void RotateWindowsL();
       
    48     
       
    49 private:	
       
    50     CTFlowWindowsController* iFlowWindowsController;
       
    51     RArray<TPtrC> iFileNames;
       
    52     TSize iScreenSize;
       
    53     };
       
    54 
       
    55 _LIT( KTRotateTestStep, "trotate");
       
    56 
       
    57 #endif // TROTATETESTSTEP_H