1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/graphics/egl/egltest/inc/egltest_geterroranddisplay.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,147 @@
1.4 +// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +//
1.18 +
1.19 +/**
1.20 + @file
1.21 + @test
1.22 +*/
1.23 +#ifndef EGLTEST_GETERRORANDDISPLAY_H
1.24 +#define EGLTEST_GETERRORANDDISPLAY_H
1.25 +
1.26 +#include "eglteststep.h"
1.27 +
1.28 +_LIT(KGetError, "GetError");
1.29 +NONSHARABLE_CLASS(CEglTest_GetError) : public CEglTestStep
1.30 + {
1.31 +public:
1.32 + TVerdict doTestStepL();
1.33 + };
1.34 +
1.35 +_LIT(KGetErrorMultiThread, "GetErrorMultiThread");
1.36 +NONSHARABLE_CLASS(CEglTest_GetErrorMultiThread) : public CEglTestStep
1.37 + {
1.38 +public:
1.39 + TVerdict doTestStepL();
1.40 +protected:
1.41 + // from CEglTestStep
1.42 + void doThreadFunctionL(TInt aIdx);
1.43 + };
1.44 +
1.45 +_LIT(KDisplay_Positive_Basic, "Display_Positive_Basic");
1.46 +NONSHARABLE_CLASS(CEglTest_Display_Positive_Basic) : public CEglTestStep
1.47 + {
1.48 +public:
1.49 + TVerdict doTestStepL();
1.50 + };
1.51 +
1.52 +_LIT(KDisplay_Negative_InvalidDisplay, "Display_Negative_InvalidDisplay");
1.53 +NONSHARABLE_CLASS(CEglTest_Display_Negative_InvalidDisplay) : public CEglTestStep
1.54 + {
1.55 +public:
1.56 + TVerdict doTestStepL();
1.57 + };
1.58 +
1.59 +_LIT(KDisplay_Negative_NotInitializedDisplay, "Display_Negative_NotInitializedDisplay");
1.60 +NONSHARABLE_CLASS(CEglTest_Display_Negative_NotInitializedDisplay) : public CEglTestStep
1.61 + {
1.62 +public:
1.63 + TVerdict doTestStepL();
1.64 + };
1.65 +
1.66 +_LIT(KDisplay_Positive_ReinitializeDisplay, "Display_Positive_ReinitializeDisplay");
1.67 +NONSHARABLE_CLASS(CEglTest_Display_Positive_ReinitializeDisplay) : public CEglTestStep
1.68 + {
1.69 +public:
1.70 + TVerdict doTestStepL();
1.71 + };
1.72 +
1.73 +_LIT(KDisplay_Positive_MultipleInitialization, "Display_Positive_MultipleInitialization");
1.74 +NONSHARABLE_CLASS(CEglTest_Display_Positive_MultipleInitialization) : public CEglTestStep
1.75 + {
1.76 +public:
1.77 + TVerdict doTestStepL();
1.78 + };
1.79 +
1.80 +_LIT(KDisplay_Positive_MultipleTermination, "Display_Positive_MultipleTermination");
1.81 +NONSHARABLE_CLASS(CEglTest_Display_Positive_MultipleTermination) : public CEglTestStep
1.82 + {
1.83 +public:
1.84 + TVerdict doTestStepL();
1.85 + };
1.86 +
1.87 +_LIT(KDisplay_Positive_Multithread_Basic, "Display_Positive_Multithread_Basic");
1.88 +NONSHARABLE_CLASS(CEglTest_Display_Positive_Multithread_Basic) : public CEglTestStep
1.89 + {
1.90 +public:
1.91 + TVerdict doTestStepL();
1.92 +protected:
1.93 + // from CEglTestStep
1.94 + void doThreadFunctionL(TInt aIdx);
1.95 + };
1.96 +
1.97 +_LIT(KDisplay_Positive_Multithread_InitTerminateInOneTread, "Display_Positive_Multithread_InitTerminateInOneTread");
1.98 +NONSHARABLE_CLASS(CEglTest_Display_Positive_Multithread_InitTerminateInOneTread) : public CEglTestStep
1.99 + {
1.100 +public:
1.101 + TVerdict doTestStepL();
1.102 +protected:
1.103 + // from CEglTestStep
1.104 + void doThreadFunctionL(TInt aIdx);
1.105 + };
1.106 +
1.107 +_LIT(KDisplay_Positive_Multithread_InitTerminateFromDifferentThread, "Display_Positive_Multithread_InitTerminateFromDifferentThread");
1.108 +NONSHARABLE_CLASS(CEglTest_Display_Positive_Multithread_InitTerminateFromDifferentThread) : public CEglTestStep
1.109 + {
1.110 +public:
1.111 + TVerdict doTestStepL();
1.112 +protected:
1.113 + // from CEglTestStep
1.114 + void doThreadFunctionL(TInt aIdx);
1.115 + };
1.116 +
1.117 +_LIT(KDisplay_Positive_Multithread_Stress, "Display_Positive_Multithread_Stress");
1.118 +NONSHARABLE_CLASS(CEglTest_Display_Positive_Multithread_Stress) : public CEglTestStep
1.119 + {
1.120 +public:
1.121 + TVerdict doTestStepL();
1.122 +protected:
1.123 + // from CEglTestStep
1.124 + void doThreadFunctionL(TInt aIdx);
1.125 + };
1.126 +
1.127 +_LIT(KDisplay_Positive_Multiprocess_Basic, "Display_Positive_Multiprocess_Basic");
1.128 +NONSHARABLE_CLASS(CEglTest_Display_Positive_Multiprocess_Basic) : public CEglTestStep
1.129 + {
1.130 +public:
1.131 + TVerdict doTestStepL();
1.132 +protected:
1.133 + // from CEglTestStep
1.134 + void doProcessFunctionL(TInt aIdx);
1.135 + };
1.136 +
1.137 +_LIT(KDisplay_OOM_ClientHeap, "Display_OOM_ClientHeap");
1.138 +NONSHARABLE_CLASS(CEglTest_Display_OOM_ClientHeap) : public CEglTestStep
1.139 + {
1.140 +public:
1.141 + TVerdict doTestStepL();
1.142 + };
1.143 +
1.144 +_LIT(KDisplay_OOM_ClientHeap_Initialize, "Display_OOM_ClientHeap_Initialize");
1.145 +NONSHARABLE_CLASS(CEglTest_Display_OOM_ClientHeap_Initialize) : public CEglTestStep
1.146 + {
1.147 +public:
1.148 + TVerdict doTestStepL();
1.149 + };
1.150 +#endif // EGLTEST_GETERRORANDDISPLAY_H