egl/egltest/endpointtestsuite/automated/tinc/egltest_endpointstreamingtests.h
branchRCL_3
changeset 163 bbf46f59e123
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/egl/egltest/endpointtestsuite/automated/tinc/egltest_endpointstreamingtests.h	Tue Aug 31 16:31:06 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 &params);
+    void DispXTimesInStreamTestL(TSurfaceType aSurfaceType);
+    TUint TicksForDisplayXTimesL(CSurface* aSurface, TInt aNumTimes);
+    static void CleanupRemoteTestStep(TAny* aStreamingDispXTimesInStream);
+private:
+    TRemoteTestParams iParams;
+    };
+
+
+#endif