os/graphics/windowing/windowserver/test/t_integ/src/t_wservintegstepfps.cpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     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
    20 */
    21 
    22 #include "t_wservintegstepfps.h"
    23 
    24 /**
    25  CT_WServIntegStepFps constructor.
    26  @return N/A
    27  @pre None
    28  @post CT_WServIntegStepFps 1st stage constructor
    29 */
    30 CT_WServIntegStepFps::CT_WServIntegStepFps()
    31 	{
    32 	SetTestStepName(KT_WServIntegStepFps);
    33 	}
    34 
    35 /**
    36 Starts test step
    37 @internalComponent
    38 @return TVerdict pass / fail
    39 @pre N/A
    40 @post N/A
    41 */
    42 enum TVerdict CT_WServIntegStepFps::doTestStepL()
    43 	{
    44 	__UHEAP_MARK;
    45 	
    46 	PrintTestStepName();
    47 
    48 	TInt err=CreateTestProcessL(KWServFpsApp, EPriorityForeground);
    49 	TEST(err==KErrNone);
    50 
    51 	// Let the test step run for 10 secs before clean up
    52 	User::After(10000000);
    53 	CleanUp();
    54 
    55 	__UHEAP_MARKEND;
    56 
    57 	return TestStepResult();
    58 	}
    59