egl/egltest/endpointtestsuite/automated/tinc/egltest_endpointapiexposure.h
author William Roberts <williamr@symbian.org>
Fri, 23 Jul 2010 11:46:39 +0100
changeset 126 0ee22b620a47
parent 98 bf7481649c98
permissions -rw-r--r--
Use buildrom ABI_DIR\BUILD_DIR conventions in the minigui .oby files

// 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