diff -r cdf2f6e5c390 -r bf7481649c98 egl/egltest/endpointtestsuite/automated/tinc/egltest_endpointstreamingtests.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/egl/egltest/endpointtestsuite/automated/tinc/egltest_endpointstreamingtests.h Fri Jun 11 14:58:47 2010 +0300 @@ -0,0 +1,59 @@ +/* +* Copyright (c) 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_ENDPOINTSTREAMINGTESTS_H__ +#define __EGLTEST_ENDPOINTSTREAMINGTESTS_H__ + + +#include "egltest_endpoint_engine.h" + +_LIT(KEGL_EndpointStreamingTests, "EGL_EndpointStreamingTests"); +NONSHARABLE_CLASS(CEglTest_LocalTestStep_EndpointStreamingTests) : public CEgltest_Local_Engine + { +public: + CEglTest_LocalTestStep_EndpointStreamingTests(); + }; + + +_LIT(KEGL_EndpointStreamingDispXTimesInStream, "EGL_EndpointStreamingDispXTimesInStream"); +NONSHARABLE_CLASS(CEglTest_LocalTestStep_EndpointStreamingDispXTimesInStream): public CLocalTestStepBase + { +public: + CEglTest_LocalTestStep_EndpointStreamingDispXTimesInStream(); + ~CEglTest_LocalTestStep_EndpointStreamingDispXTimesInStream(); + virtual TVerdict doTestStepL(); + virtual void DoPreambleL(); + virtual void DoPostambleL(); +private: + void RunScript(const TEngineTestCase *aTestCases, TRemoteTestParams ¶ms); + void DispXTimesInStreamTestL(TSurfaceType aSurfaceType); + TUint TicksForDisplayXTimesL(CSurface* aSurface, TInt aNumTimes); + static void CleanupRemoteTestStep(TAny* aStreamingDispXTimesInStream); +private: + TRemoteTestParams iParams; + }; + + +#endif