diff -r 000000000000 -r bde4ae8d615e os/graphics/egl/egltest/endpointtestsuite/automated/tinc/egltest_endpointapiexposure.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/graphics/egl/egltest/endpointtestsuite/automated/tinc/egltest_endpointapiexposure.h Fri Jun 15 03:10:57 2012 +0200 @@ -0,0 +1,62 @@ +// 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 +