os/graphics/egl/egltest/endpointtestsuite/automated/tinc/egltest_endpointstreamingtests.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 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description: 
    15 *
    16 */
    17 
    18 
    19 /**
    20  @file
    21  @test
    22  @internalComponent - Internal Symbian test code
    23 */
    24 
    25 
    26 #ifndef __EGLTEST_ENDPOINTSTREAMINGTESTS_H__
    27 #define __EGLTEST_ENDPOINTSTREAMINGTESTS_H__
    28 
    29 
    30 #include "egltest_endpoint_engine.h"
    31 
    32 _LIT(KEGL_EndpointStreamingTests, "EGL_EndpointStreamingTests");
    33 NONSHARABLE_CLASS(CEglTest_LocalTestStep_EndpointStreamingTests) : public CEgltest_Local_Engine
    34     {
    35 public:
    36     CEglTest_LocalTestStep_EndpointStreamingTests();
    37     };
    38 
    39 
    40 _LIT(KEGL_EndpointStreamingDispXTimesInStream, "EGL_EndpointStreamingDispXTimesInStream");
    41 NONSHARABLE_CLASS(CEglTest_LocalTestStep_EndpointStreamingDispXTimesInStream): public CLocalTestStepBase
    42     {
    43 public:
    44     CEglTest_LocalTestStep_EndpointStreamingDispXTimesInStream();
    45     ~CEglTest_LocalTestStep_EndpointStreamingDispXTimesInStream();
    46     virtual TVerdict doTestStepL();
    47     virtual void DoPreambleL();
    48     virtual void DoPostambleL();
    49 private:
    50     void RunScript(const TEngineTestCase *aTestCases, TRemoteTestParams &params);
    51     void DispXTimesInStreamTestL(TSurfaceType aSurfaceType);
    52     TUint TicksForDisplayXTimesL(CSurface* aSurface, TInt aNumTimes);
    53     static void CleanupRemoteTestStep(TAny* aStreamingDispXTimesInStream);
    54 private:
    55     TRemoteTestParams iParams;
    56     };
    57 
    58 
    59 #endif