egl/egltest/endpointtestsuite/automated/tinc/egltest_endpointapiexposure.h
changeset 98 bf7481649c98
equal deleted inserted replaced
85:cdf2f6e5c390 98:bf7481649c98
       
     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