os/graphics/egl/egltest/endpointtestsuite/automated/tinc/egltest_endpointapiexposure.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 
    23 #ifndef __EGLTEST_ENDPOINTAPIEXPOSURE_H__
    24 #define __EGLTEST_ENDPOINTAPIEXPOSURE_H__
    25 
    26 
    27 #include "localtestbase.h"
    28 #include "remotetestbase.h"
    29 
    30 
    31 _LIT(KEGL_EndpointApiExposure, "EGL_EndpointApiExposure");
    32 NONSHARABLE_CLASS(CEglTest_LocalTestStep_EndpointApiExposure) : public CLocalTestStepBase
    33     {
    34 public:
    35     CEglTest_LocalTestStep_EndpointApiExposure();
    36     ~CEglTest_LocalTestStep_EndpointApiExposure();
    37     TVerdict doTestStepL();
    38     void DoPreambleL();
    39 private:
    40     void AttemptToGetProcAddressForAllEndpointFunctionsL();
    41     void ProcAddressL(const char *aProcName);
    42     };
    43 
    44 
    45 NONSHARABLE_CLASS(CEglTest_RemoteTestStep_EndpointApiExposure) : public CRemoteTestStepBase
    46     {
    47 public:
    48     CEglTest_RemoteTestStep_EndpointApiExposure();
    49     ~CEglTest_RemoteTestStep_EndpointApiExposure();
    50     TRemoteTestVerdict DoRunRemoteTestCaseL(TInt aTestCase, const TRemoteTestParams& aParams);
    51 
    52     //Test Cases:
    53     TRemoteTestVerdict RemoteApiExposureTestCase(const TRemoteTestParams& aParams);
    54 
    55 private:
    56     void AttemptToGetProcAddressForAllEndpointFunctionsL();
    57     void ProcAddressL(const char *aProcName);
    58     };
    59 
    60 
    61 #endif
    62