Resynced test cases and removed TET framework
[platform/core/uifw/dali-core.git] / automated-tests / src / dali-internal / tct-dali-internal-core.h
1 #ifndef __TCT_DALI_INTERNAL_CORE_H__
2 #define __TCT_DALI_INTERNAL_CORE_H__
3
4 #include "testcase.h"
5
6 extern void utc_dali_material_startup(void);
7 extern void utc_dali_material_cleanup(void);
8
9 extern int UtcDaliFontMeasureTextWidth(void);
10 extern int UtcDaliFontMeasureTextWidthNegative(void);
11 extern int UtcDaliFontMeasureTextHeight(void);
12 extern int UtcDaliFontMeasureTextHeightNegative(void);
13 extern int UtcDaliCameraActorConstructorRefObject(void);
14 extern int UtcDaliImageActorConstructorRefObject(void);
15 extern int UtcDaliLightActorConstructorRefObject(void);
16 extern int UtcDaliMeshActorConstructorRefObject(void);
17 extern int UtcDaliModelConstructorRefObject(void);
18 extern int UtcDaliTextActorConstructorRefObject(void);
19 extern int UtcDaliImageFactoryUseCachedRequest01(void);
20 extern int UtcDaliImageFactoryUseCachedRequest02(void);
21 extern int UtcDaliImageFactoryUseCachedRequest03(void);
22 extern int UtcDaliImageFactoryUseCachedRequest04(void);
23 extern int UtcDaliImageFactoryCompatibleResource01(void);
24 extern int UtcDaliImageFactoryCompatibleResource02(void);
25 extern int UtcDaliImageFactoryCompatibleResource03(void);
26 extern int UtcDaliImageFactoryReload01(void);
27 extern int UtcDaliImageFactoryReload02(void);
28 extern int UtcDaliImageFactoryReload03(void);
29 extern int UtcDaliImageFactoryReload04(void);
30 extern int UtcDaliImageFactoryReload05(void);
31 extern int UtcDaliImageFactoryReload06(void);
32 extern int UtcDaliMaterialMethodNew01(void);
33 extern int UtcDaliMaterialMethodNew02(void);
34 extern int UtcDaliMaterialReadyTextureOffstage(void);
35 extern int UtcDaliMaterialUnreadyTextureOffstage(void);
36 extern int UtcDaliMaterialStaging01(void);
37 extern int UtcDaliMaterialStaging02(void);
38 extern int UtcDaliMaterialSetPropsWhilstStaged(void);
39 extern int UtcDaliMaterialSetTextureWhilstStaged(void);
40 extern int UtcDaliMaterialSetUnreadyTextureWhilstStaged(void);
41 extern int UtcDaliMaterialIsOpaqueWithoutTexture(void);
42 extern int UtcDaliMaterialIsOpaqueWithTexture(void);
43 extern int UtcDaliMaterialIsOpaqueWithProps(void);
44 extern int UtcDaliMaterialRender(void);
45 extern int UtcDaliTextGetImplementation(void);
46 extern int UtcDaliInternalRequestResourceBitmapRequests01(void);
47 extern int UtcDaliInternalRequestResourceBitmapRequests02(void);
48 extern int UtcDaliInternalRequestResourceBitmapRequests03(void);
49 extern int UtcDaliInternalRequestReloadBitmapRequests01(void);
50 extern int UtcDaliInternalRequestReloadBitmapRequests02(void);
51 extern int UtcDaliInternalRequestReloadBitmapRequests03(void);
52 extern int UtcDaliInternalSaveResource01(void);
53 extern int UtcDaliInternalSaveResource02(void);
54 extern int UtcDaliInternalSaveResource03(void);
55 extern int UtcDaliInternalSaveResource04(void);
56 extern int UtcDaliInternalSaveResource05(void);
57 extern int UtcDaliInternalRequestResourceTicket01(void);
58 extern int UtcDaliInternalRequestResourceTicket02(void);
59 extern int UtcDaliInternalLoadShaderRequest01(void);
60 extern int UtcDaliInternalLoadShaderRequest02(void);
61 extern int UtcDaliInternalAllocateBitmapImage01(void);
62 extern int UtcDaliInternalAddBitmapImage01(void);
63 extern int UtcDaliInternalAddBitmapImage02(void);
64 extern int UtcDaliInternalAddBitmapImage03(void);
65 extern int UtcDaliInternalGetBitmapImage01(void);
66 extern int UtcDaliInternalGetBitmapImage02(void);
67 extern int UtcDaliInternalGetBitmapImage03(void);
68 extern int UtcDaliInternalAllocateTexture01(void);
69 extern int UtcDaliInternalAddNativeImage(void);
70 extern int UtcDaliInternalAddFrameBufferImage(void);
71 extern int UtcDaliInternalAllocateMesh01(void);
72
73 testcase tc_array[] = {
74     {"UtcDaliFontMeasureTextWidth", UtcDaliFontMeasureTextWidth, NULL, NULL},
75     {"UtcDaliFontMeasureTextWidthNegative", UtcDaliFontMeasureTextWidthNegative, NULL, NULL},
76     {"UtcDaliFontMeasureTextHeight", UtcDaliFontMeasureTextHeight, NULL, NULL},
77     {"UtcDaliFontMeasureTextHeightNegative", UtcDaliFontMeasureTextHeightNegative, NULL, NULL},
78     {"UtcDaliCameraActorConstructorRefObject", UtcDaliCameraActorConstructorRefObject, NULL, NULL},
79     {"UtcDaliImageActorConstructorRefObject", UtcDaliImageActorConstructorRefObject, NULL, NULL},
80     {"UtcDaliLightActorConstructorRefObject", UtcDaliLightActorConstructorRefObject, NULL, NULL},
81     {"UtcDaliMeshActorConstructorRefObject", UtcDaliMeshActorConstructorRefObject, NULL, NULL},
82     {"UtcDaliModelConstructorRefObject", UtcDaliModelConstructorRefObject, NULL, NULL},
83     {"UtcDaliTextActorConstructorRefObject", UtcDaliTextActorConstructorRefObject, NULL, NULL},
84     {"UtcDaliImageFactoryUseCachedRequest01", UtcDaliImageFactoryUseCachedRequest01, NULL, NULL},
85     {"UtcDaliImageFactoryUseCachedRequest02", UtcDaliImageFactoryUseCachedRequest02, NULL, NULL},
86     {"UtcDaliImageFactoryUseCachedRequest03", UtcDaliImageFactoryUseCachedRequest03, NULL, NULL},
87     {"UtcDaliImageFactoryUseCachedRequest04", UtcDaliImageFactoryUseCachedRequest04, NULL, NULL},
88     {"UtcDaliImageFactoryCompatibleResource01", UtcDaliImageFactoryCompatibleResource01, NULL, NULL},
89     {"UtcDaliImageFactoryCompatibleResource02", UtcDaliImageFactoryCompatibleResource02, NULL, NULL},
90     {"UtcDaliImageFactoryCompatibleResource03", UtcDaliImageFactoryCompatibleResource03, NULL, NULL},
91     {"UtcDaliImageFactoryReload01", UtcDaliImageFactoryReload01, NULL, NULL},
92     {"UtcDaliImageFactoryReload02", UtcDaliImageFactoryReload02, NULL, NULL},
93     {"UtcDaliImageFactoryReload03", UtcDaliImageFactoryReload03, NULL, NULL},
94     {"UtcDaliImageFactoryReload04", UtcDaliImageFactoryReload04, NULL, NULL},
95     {"UtcDaliImageFactoryReload05", UtcDaliImageFactoryReload05, NULL, NULL},
96     {"UtcDaliImageFactoryReload06", UtcDaliImageFactoryReload06, NULL, NULL},
97     {"UtcDaliMaterialMethodNew01", UtcDaliMaterialMethodNew01, utc_dali_material_startup, utc_dali_material_cleanup},
98     {"UtcDaliMaterialMethodNew02", UtcDaliMaterialMethodNew02, utc_dali_material_startup, utc_dali_material_cleanup},
99     {"UtcDaliMaterialReadyTextureOffstage", UtcDaliMaterialReadyTextureOffstage, utc_dali_material_startup, utc_dali_material_cleanup},
100     {"UtcDaliMaterialUnreadyTextureOffstage", UtcDaliMaterialUnreadyTextureOffstage, utc_dali_material_startup, utc_dali_material_cleanup},
101     {"UtcDaliMaterialStaging01", UtcDaliMaterialStaging01, utc_dali_material_startup, utc_dali_material_cleanup},
102     {"UtcDaliMaterialStaging02", UtcDaliMaterialStaging02, utc_dali_material_startup, utc_dali_material_cleanup},
103     {"UtcDaliMaterialSetPropsWhilstStaged", UtcDaliMaterialSetPropsWhilstStaged, utc_dali_material_startup, utc_dali_material_cleanup},
104     {"UtcDaliMaterialSetTextureWhilstStaged", UtcDaliMaterialSetTextureWhilstStaged, utc_dali_material_startup, utc_dali_material_cleanup},
105     {"UtcDaliMaterialSetUnreadyTextureWhilstStaged", UtcDaliMaterialSetUnreadyTextureWhilstStaged, utc_dali_material_startup, utc_dali_material_cleanup},
106     {"UtcDaliMaterialIsOpaqueWithoutTexture", UtcDaliMaterialIsOpaqueWithoutTexture, utc_dali_material_startup, utc_dali_material_cleanup},
107     {"UtcDaliMaterialIsOpaqueWithTexture", UtcDaliMaterialIsOpaqueWithTexture, utc_dali_material_startup, utc_dali_material_cleanup},
108     {"UtcDaliMaterialIsOpaqueWithProps", UtcDaliMaterialIsOpaqueWithProps, utc_dali_material_startup, utc_dali_material_cleanup},
109     {"UtcDaliMaterialRender", UtcDaliMaterialRender, utc_dali_material_startup, utc_dali_material_cleanup},
110     {"UtcDaliTextGetImplementation", UtcDaliTextGetImplementation, utc_dali_material_startup, utc_dali_material_cleanup},
111     {"UtcDaliInternalRequestResourceBitmapRequests01", UtcDaliInternalRequestResourceBitmapRequests01, utc_dali_material_startup, utc_dali_material_cleanup},
112     {"UtcDaliInternalRequestResourceBitmapRequests02", UtcDaliInternalRequestResourceBitmapRequests02, utc_dali_material_startup, utc_dali_material_cleanup},
113     {"UtcDaliInternalRequestResourceBitmapRequests03", UtcDaliInternalRequestResourceBitmapRequests03, utc_dali_material_startup, utc_dali_material_cleanup},
114     {"UtcDaliInternalRequestReloadBitmapRequests01", UtcDaliInternalRequestReloadBitmapRequests01, utc_dali_material_startup, utc_dali_material_cleanup},
115     {"UtcDaliInternalRequestReloadBitmapRequests02", UtcDaliInternalRequestReloadBitmapRequests02, utc_dali_material_startup, utc_dali_material_cleanup},
116     {"UtcDaliInternalRequestReloadBitmapRequests03", UtcDaliInternalRequestReloadBitmapRequests03, utc_dali_material_startup, utc_dali_material_cleanup},
117     {"UtcDaliInternalSaveResource01", UtcDaliInternalSaveResource01, utc_dali_material_startup, utc_dali_material_cleanup},
118     {"UtcDaliInternalSaveResource02", UtcDaliInternalSaveResource02, utc_dali_material_startup, utc_dali_material_cleanup},
119     {"UtcDaliInternalSaveResource03", UtcDaliInternalSaveResource03, utc_dali_material_startup, utc_dali_material_cleanup},
120     {"UtcDaliInternalSaveResource04", UtcDaliInternalSaveResource04, utc_dali_material_startup, utc_dali_material_cleanup},
121     {"UtcDaliInternalSaveResource05", UtcDaliInternalSaveResource05, utc_dali_material_startup, utc_dali_material_cleanup},
122     {"UtcDaliInternalRequestResourceTicket01", UtcDaliInternalRequestResourceTicket01, utc_dali_material_startup, utc_dali_material_cleanup},
123     {"UtcDaliInternalRequestResourceTicket02", UtcDaliInternalRequestResourceTicket02, utc_dali_material_startup, utc_dali_material_cleanup},
124     {"UtcDaliInternalLoadShaderRequest01", UtcDaliInternalLoadShaderRequest01, utc_dali_material_startup, utc_dali_material_cleanup},
125     {"UtcDaliInternalLoadShaderRequest02", UtcDaliInternalLoadShaderRequest02, utc_dali_material_startup, utc_dali_material_cleanup},
126     {"UtcDaliInternalAllocateBitmapImage01", UtcDaliInternalAllocateBitmapImage01, utc_dali_material_startup, utc_dali_material_cleanup},
127     {"UtcDaliInternalAddBitmapImage01", UtcDaliInternalAddBitmapImage01, utc_dali_material_startup, utc_dali_material_cleanup},
128     {"UtcDaliInternalAddBitmapImage02", UtcDaliInternalAddBitmapImage02, utc_dali_material_startup, utc_dali_material_cleanup},
129     {"UtcDaliInternalAddBitmapImage03", UtcDaliInternalAddBitmapImage03, utc_dali_material_startup, utc_dali_material_cleanup},
130     {"UtcDaliInternalGetBitmapImage01", UtcDaliInternalGetBitmapImage01, utc_dali_material_startup, utc_dali_material_cleanup},
131     {"UtcDaliInternalGetBitmapImage02", UtcDaliInternalGetBitmapImage02, utc_dali_material_startup, utc_dali_material_cleanup},
132     {"UtcDaliInternalGetBitmapImage03", UtcDaliInternalGetBitmapImage03, utc_dali_material_startup, utc_dali_material_cleanup},
133     {"UtcDaliInternalAllocateTexture01", UtcDaliInternalAllocateTexture01, utc_dali_material_startup, utc_dali_material_cleanup},
134     {"UtcDaliInternalAddNativeImage", UtcDaliInternalAddNativeImage, utc_dali_material_startup, utc_dali_material_cleanup},
135     {"UtcDaliInternalAddFrameBufferImage", UtcDaliInternalAddFrameBufferImage, utc_dali_material_startup, utc_dali_material_cleanup},
136     {"UtcDaliInternalAllocateMesh01", UtcDaliInternalAllocateMesh01, utc_dali_material_startup, utc_dali_material_cleanup},
137     {NULL, NULL}
138 };
139
140 #endif // __TCT_DALI_INTERNAL_CORE_H__