egl/egltest/endpointtestsuite/automated/tinc/egltest_endpointapiexposure.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 11 Jun 2010 14:58:47 +0300
changeset 98 bf7481649c98
permissions -rw-r--r--
Revision: 201023 Kit: 2010123

// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//

/**
 @file
 @test
 @internalComponent - Internal Symbian test code
*/


#ifndef __EGLTEST_ENDPOINTAPIEXPOSURE_H__
#define __EGLTEST_ENDPOINTAPIEXPOSURE_H__


#include "localtestbase.h"
#include "remotetestbase.h"


_LIT(KEGL_EndpointApiExposure, "EGL_EndpointApiExposure");
NONSHARABLE_CLASS(CEglTest_LocalTestStep_EndpointApiExposure) : public CLocalTestStepBase
    {
public:
    CEglTest_LocalTestStep_EndpointApiExposure();
    ~CEglTest_LocalTestStep_EndpointApiExposure();
    TVerdict doTestStepL();
    void DoPreambleL();
private:
    void AttemptToGetProcAddressForAllEndpointFunctionsL();
    void ProcAddressL(const char *aProcName);
    };


NONSHARABLE_CLASS(CEglTest_RemoteTestStep_EndpointApiExposure) : public CRemoteTestStepBase
    {
public:
    CEglTest_RemoteTestStep_EndpointApiExposure();
    ~CEglTest_RemoteTestStep_EndpointApiExposure();
    TRemoteTestVerdict DoRunRemoteTestCaseL(TInt aTestCase, const TRemoteTestParams& aParams);

    //Test Cases:
    TRemoteTestVerdict RemoteApiExposureTestCase(const TRemoteTestParams& aParams);

private:
    void AttemptToGetProcAddressForAllEndpointFunctionsL();
    void ProcAddressL(const char *aProcName);
    };


#endif