sl@0: // Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: sl@0: sl@0: /** sl@0: @file sl@0: @test sl@0: @internalComponent - Internal Symbian test code sl@0: */ sl@0: sl@0: sl@0: #include "localtestbase.h" sl@0: #include "egltest_endpointapiexposure.h" sl@0: #include "egltest_endpointcreate.h" sl@0: #include "egltest_endpointacquire.h" sl@0: #include "egltest_endpointattrib.h" sl@0: #include "egltest_endpointstreaming.h" sl@0: #include "egltest_endpointimage.h" sl@0: #include "egltest_endpointlocking.h" sl@0: #include "egltest_endpointtearing.h" sl@0: #include "egltest_endpointstreamingtests.h" sl@0: #include "egltest_endpointnotification.h" sl@0: #include "egltest_endpointdirtyarea.h" sl@0: #include "egltest_endpoint_stresstests.h" sl@0: #include "egltest_endpoint_stressload.h" sl@0: #include "egltest_threadedstress.h" sl@0: #include "egltest_releaseimagegles.h" sl@0: sl@0: //LocalTestStep factory. sl@0: CTestStep* CEglEndpointTestServer::CreateTestStep(const TDesC& aStepName) sl@0: { sl@0: if (aStepName == KEGL_EndpointApiExposure) sl@0: { sl@0: return new CEglTest_LocalTestStep_EndpointApiExposure; sl@0: } sl@0: if (aStepName == KEGL_EndpointCreate) sl@0: { sl@0: return new CEglTest_LocalTestStep_EndpointCreate; sl@0: } sl@0: if (aStepName == KEGL_EndpointAttrib) sl@0: { sl@0: return new CEglTest_LocalTestStep_EndpointAttrib; sl@0: } sl@0: if (aStepName == KEGL_EndpointAcquire) sl@0: { sl@0: return new CEglTest_LocalTestStep_EndpointAcquire; sl@0: } sl@0: if (aStepName == KEGL_EndpointStreaming) sl@0: { sl@0: return new CEglTest_LocalTestStep_EndpointStreaming; sl@0: } sl@0: if (aStepName == KEGL_EndpointImage) sl@0: { sl@0: return new CEglTest_LocalTestStep_EndpointImage; sl@0: } sl@0: if (aStepName == KEGL_EndpointLocking) sl@0: { sl@0: return new CEglTest_LocalTestStep_EndpointLocking; sl@0: } sl@0: if (aStepName == KEGL_EndpointImageLifetime) sl@0: { sl@0: return new CEglTest_LocalTestStep_EndpointImageLifetime; sl@0: } sl@0: if (aStepName == KEGL_EndpointTearing) sl@0: { sl@0: return new CEglTest_LocalTestStep_EndpointTearing; sl@0: } sl@0: if (aStepName == KEGL_EndpointStreamingTests) sl@0: { sl@0: return new CEglTest_LocalTestStep_EndpointStreamingTests; sl@0: } sl@0: if (aStepName == KEGL_EndpointStreamingDispXTimesInStream) sl@0: { sl@0: return new CEglTest_LocalTestStep_EndpointStreamingDispXTimesInStream; sl@0: } sl@0: if (aStepName == KEGL_EndpointNotification) sl@0: { sl@0: return new CEglTest_LocalTestStep_EndpointNotification; sl@0: } sl@0: if (aStepName == KEGL_EndpointDirtyArea) sl@0: { sl@0: return new CEglTest_LocalTestStep_EndpointDirtyArea; sl@0: } sl@0: if (aStepName == KEGL_EndpointStressTests) sl@0: { sl@0: return CEglTest_TestStep_StressTests::New(); sl@0: } sl@0: if (aStepName == KEGL_EndpointStressLoad) sl@0: { sl@0: return CEglTest_TestStep_StressLoad::New(); sl@0: } sl@0: if (aStepName == KEGL_EndpointCrazyThreading) sl@0: { sl@0: return new CEglTest_LocalTestStep_EndpointCrazyThreading(); sl@0: } sl@0: if (aStepName == KEGL_EndpointOutOfHeapMemory) sl@0: { sl@0: return new CEglTest_LocalTestStep_EndpointOutOfHeapMemory(); sl@0: } sl@0: if (aStepName == KEGL_EndpointReleaseImageGles) sl@0: { sl@0: return new CEglTest_LocalTestStep_EndpointReleaseImageGles(); sl@0: } sl@0: sl@0: return NULL; sl@0: } sl@0: sl@0: sl@0: