sl@0
|
1 |
// Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
2 |
// All rights reserved.
|
sl@0
|
3 |
// This component and the accompanying materials are made available
|
sl@0
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
sl@0
|
5 |
// which accompanies this distribution, and is available
|
sl@0
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
7 |
//
|
sl@0
|
8 |
// Initial Contributors:
|
sl@0
|
9 |
// Nokia Corporation - initial contribution.
|
sl@0
|
10 |
//
|
sl@0
|
11 |
// Contributors:
|
sl@0
|
12 |
|
sl@0
|
13 |
|
sl@0
|
14 |
/**
|
sl@0
|
15 |
@file
|
sl@0
|
16 |
@test
|
sl@0
|
17 |
@internalComponent - Internal Symbian test code
|
sl@0
|
18 |
*/
|
sl@0
|
19 |
|
sl@0
|
20 |
|
sl@0
|
21 |
#include "remotetestbase.h"
|
sl@0
|
22 |
#include "egltest_endpointapiexposure.h"
|
sl@0
|
23 |
#include "egltest_endpoint_engine.h"
|
sl@0
|
24 |
#include "egltest_endpointtearing.h"
|
sl@0
|
25 |
#include "egltest_threadedstress.h"
|
sl@0
|
26 |
#include "egltest_releaseimagegles.h"
|
sl@0
|
27 |
|
sl@0
|
28 |
|
sl@0
|
29 |
//RemoteTestStep Factory.
|
sl@0
|
30 |
CRemoteTestStepBase* CRemoteTestEnv::CreateRemoteTestStepL(TTestUid aTestUid)
|
sl@0
|
31 |
{
|
sl@0
|
32 |
switch (aTestUid)
|
sl@0
|
33 |
{
|
sl@0
|
34 |
case ETestUidEndpointApiExposure: return new (ELeave) CEglTest_RemoteTestStep_EndpointApiExposure();
|
sl@0
|
35 |
case ETestUidEndpointEngine: return new (ELeave) CEgltest_Remote_Engine();
|
sl@0
|
36 |
case ETestUidEndpointTearing: return new (ELeave) CEglTest_RemoteTestStep_EndpointTearing();
|
sl@0
|
37 |
case ETestUidEndpointThreadStress: return new (ELeave) CEglTest_RemoteTestStep_EndpointThreadStress();
|
sl@0
|
38 |
case ETestUidEndpointReleaseImageGles: return new (ELeave) CEglTest_RemoteTestStep_EndpointReleaseImageGles();
|
sl@0
|
39 |
default: User::Leave(KErrUnknown);
|
sl@0
|
40 |
}
|
sl@0
|
41 |
|
sl@0
|
42 |
//Stop the warning.
|
sl@0
|
43 |
return NULL;
|
sl@0
|
44 |
}
|
sl@0
|
45 |
|