1 /*
2  * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #include <climits>
17 #include <gtest/gtest.h>
18 #include "../Deqpgles2BaseFunc.h"
19 #include "../ActsDeqpgles20011TestSuite.h"
20 #include "shrinkdefine.h"
21 
22 using namespace std;
23 using namespace testing::ext;
24 using namespace OHOS;
25 
26 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010032,
27         "dEQP-GLES2.functional.shaders",
28         ".random.all_features.vertex.0");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010033,
31         "dEQP-GLES2.functional.shaders",
32         ".random.all_features.vertex.1");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010034,
35         "dEQP-GLES2.functional.shaders",
36         ".random.all_features.vertex.2");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010035,
39         "dEQP-GLES2.functional.shaders",
40         ".random.all_features.vertex.3");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010036,
43         "dEQP-GLES2.functional.shaders",
44         ".random.all_features.vertex.4");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010037,
47         "dEQP-GLES2.functional.shaders",
48         ".random.all_features.vertex.5");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010038,
51         "dEQP-GLES2.functional.shaders",
52         ".random.all_features.vertex.6");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010039,
55         "dEQP-GLES2.functional.shaders",
56         ".random.all_features.vertex.7");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010040,
59         "dEQP-GLES2.functional.shaders",
60         ".random.all_features.vertex.8");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010041,
63         "dEQP-GLES2.functional.shaders",
64         ".random.all_features.vertex.9");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010042,
67         "dEQP-GLES2.functional.shaders",
68         ".random.all_features.vertex.10");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010043,
71         "dEQP-GLES2.functional.shaders",
72         ".random.all_features.vertex.11");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010044,
75         "dEQP-GLES2.functional.shaders",
76         ".random.all_features.vertex.12");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010045,
79         "dEQP-GLES2.functional.shaders",
80         ".random.all_features.vertex.13");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010046,
83         "dEQP-GLES2.functional.shaders",
84         ".random.all_features.vertex.14");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010047,
87         "dEQP-GLES2.functional.shaders",
88         ".random.all_features.vertex.15");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010048,
91         "dEQP-GLES2.functional.shaders",
92         ".random.all_features.vertex.16");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010049,
95         "dEQP-GLES2.functional.shaders",
96         ".random.all_features.vertex.17");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010050,
99         "dEQP-GLES2.functional.shaders",
100         ".random.all_features.vertex.18");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010051,
103         "dEQP-GLES2.functional.shaders",
104         ".random.all_features.vertex.19");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010052,
107         "dEQP-GLES2.functional.shaders",
108         ".random.all_features.vertex.20");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010053,
111         "dEQP-GLES2.functional.shaders",
112         ".random.all_features.vertex.21");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010054,
115         "dEQP-GLES2.functional.shaders",
116         ".random.all_features.vertex.22");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010055,
119         "dEQP-GLES2.functional.shaders",
120         ".random.all_features.vertex.23");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010056,
123         "dEQP-GLES2.functional.shaders",
124         ".random.all_features.vertex.24");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010057,
127         "dEQP-GLES2.functional.shaders",
128         ".random.all_features.vertex.25");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010058,
131         "dEQP-GLES2.functional.shaders",
132         ".random.all_features.vertex.26");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010059,
135         "dEQP-GLES2.functional.shaders",
136         ".random.all_features.vertex.27");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010060,
139         "dEQP-GLES2.functional.shaders",
140         ".random.all_features.vertex.28");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010061,
143         "dEQP-GLES2.functional.shaders",
144         ".random.all_features.vertex.29");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010062,
147         "dEQP-GLES2.functional.shaders",
148         ".random.all_features.vertex.30");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010063,
151         "dEQP-GLES2.functional.shaders",
152         ".random.all_features.vertex.31");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010064,
155         "dEQP-GLES2.functional.shaders",
156         ".random.all_features.vertex.32");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010065,
159         "dEQP-GLES2.functional.shaders",
160         ".random.all_features.vertex.33");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010066,
163         "dEQP-GLES2.functional.shaders",
164         ".random.all_features.vertex.34");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010067,
167         "dEQP-GLES2.functional.shaders",
168         ".random.all_features.vertex.35");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010068,
171         "dEQP-GLES2.functional.shaders",
172         ".random.all_features.vertex.36");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010069,
175         "dEQP-GLES2.functional.shaders",
176         ".random.all_features.vertex.37");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010070,
179         "dEQP-GLES2.functional.shaders",
180         ".random.all_features.vertex.38");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010071,
183         "dEQP-GLES2.functional.shaders",
184         ".random.all_features.vertex.39");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010072,
187         "dEQP-GLES2.functional.shaders",
188         ".random.all_features.vertex.40");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010073,
191         "dEQP-GLES2.functional.shaders",
192         ".random.all_features.vertex.41");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010074,
195         "dEQP-GLES2.functional.shaders",
196         ".random.all_features.vertex.42");
197 
198 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010075,
199         "dEQP-GLES2.functional.shaders",
200         ".random.all_features.vertex.43");
201 
202 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010076,
203         "dEQP-GLES2.functional.shaders",
204         ".random.all_features.vertex.44");
205 
206 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010077,
207         "dEQP-GLES2.functional.shaders",
208         ".random.all_features.vertex.45");
209 
210 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010078,
211         "dEQP-GLES2.functional.shaders",
212         ".random.all_features.vertex.46");
213 
214 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010079,
215         "dEQP-GLES2.functional.shaders",
216         ".random.all_features.vertex.47");
217 
218 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010080,
219         "dEQP-GLES2.functional.shaders",
220         ".random.all_features.vertex.48");
221 
222 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010081,
223         "dEQP-GLES2.functional.shaders",
224         ".random.all_features.vertex.49");
225 
226 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010082,
227         "dEQP-GLES2.functional.shaders",
228         ".random.all_features.vertex.50");
229 
230 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010083,
231         "dEQP-GLES2.functional.shaders",
232         ".random.all_features.vertex.51");
233 
234 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010084,
235         "dEQP-GLES2.functional.shaders",
236         ".random.all_features.vertex.52");
237 
238 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010085,
239         "dEQP-GLES2.functional.shaders",
240         ".random.all_features.vertex.53");
241 
242 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010086,
243         "dEQP-GLES2.functional.shaders",
244         ".random.all_features.vertex.54");
245 
246 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010087,
247         "dEQP-GLES2.functional.shaders",
248         ".random.all_features.vertex.55");
249 
250 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010088,
251         "dEQP-GLES2.functional.shaders",
252         ".random.all_features.vertex.56");
253 
254 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010089,
255         "dEQP-GLES2.functional.shaders",
256         ".random.all_features.vertex.57");
257 
258 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010090,
259         "dEQP-GLES2.functional.shaders",
260         ".random.all_features.vertex.58");
261 
262 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010091,
263         "dEQP-GLES2.functional.shaders",
264         ".random.all_features.vertex.59");
265 
266 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010092,
267         "dEQP-GLES2.functional.shaders",
268         ".random.all_features.vertex.60");
269 
270 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010093,
271         "dEQP-GLES2.functional.shaders",
272         ".random.all_features.vertex.61");
273 
274 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010094,
275         "dEQP-GLES2.functional.shaders",
276         ".random.all_features.vertex.62");
277 
278 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010095,
279         "dEQP-GLES2.functional.shaders",
280         ".random.all_features.vertex.63");
281 
282 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010096,
283         "dEQP-GLES2.functional.shaders",
284         ".random.all_features.vertex.64");
285 
286 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010097,
287         "dEQP-GLES2.functional.shaders",
288         ".random.all_features.vertex.65");
289 
290 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010098,
291         "dEQP-GLES2.functional.shaders",
292         ".random.all_features.vertex.66");
293 
294 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010099,
295         "dEQP-GLES2.functional.shaders",
296         ".random.all_features.vertex.67");
297 
298 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010100,
299         "dEQP-GLES2.functional.shaders",
300         ".random.all_features.vertex.68");
301 
302 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010101,
303         "dEQP-GLES2.functional.shaders",
304         ".random.all_features.vertex.69");
305 
306 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010102,
307         "dEQP-GLES2.functional.shaders",
308         ".random.all_features.vertex.70");
309 
310 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010103,
311         "dEQP-GLES2.functional.shaders",
312         ".random.all_features.vertex.71");
313 
314 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010104,
315         "dEQP-GLES2.functional.shaders",
316         ".random.all_features.vertex.72");
317 
318 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010105,
319         "dEQP-GLES2.functional.shaders",
320         ".random.all_features.vertex.73");
321 
322 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010106,
323         "dEQP-GLES2.functional.shaders",
324         ".random.all_features.vertex.74");
325 
326 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010107,
327         "dEQP-GLES2.functional.shaders",
328         ".random.all_features.vertex.75");
329 
330 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010108,
331         "dEQP-GLES2.functional.shaders",
332         ".random.all_features.vertex.76");
333 
334 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010109,
335         "dEQP-GLES2.functional.shaders",
336         ".random.all_features.vertex.77");
337 
338 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010110,
339         "dEQP-GLES2.functional.shaders",
340         ".random.all_features.vertex.78");
341 
342 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010111,
343         "dEQP-GLES2.functional.shaders",
344         ".random.all_features.vertex.79");
345 
346 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010112,
347         "dEQP-GLES2.functional.shaders",
348         ".random.all_features.vertex.80");
349 
350 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010113,
351         "dEQP-GLES2.functional.shaders",
352         ".random.all_features.vertex.81");
353 
354 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010114,
355         "dEQP-GLES2.functional.shaders",
356         ".random.all_features.vertex.82");
357 
358 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010115,
359         "dEQP-GLES2.functional.shaders",
360         ".random.all_features.vertex.83");
361 
362 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010116,
363         "dEQP-GLES2.functional.shaders",
364         ".random.all_features.vertex.84");
365 
366 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010117,
367         "dEQP-GLES2.functional.shaders",
368         ".random.all_features.vertex.85");
369 
370 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010118,
371         "dEQP-GLES2.functional.shaders",
372         ".random.all_features.vertex.86");
373 
374 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010119,
375         "dEQP-GLES2.functional.shaders",
376         ".random.all_features.vertex.87");
377 
378 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010120,
379         "dEQP-GLES2.functional.shaders",
380         ".random.all_features.vertex.88");
381 
382 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010121,
383         "dEQP-GLES2.functional.shaders",
384         ".random.all_features.vertex.89");
385 
386 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010122,
387         "dEQP-GLES2.functional.shaders",
388         ".random.all_features.vertex.90");
389 
390 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010123,
391         "dEQP-GLES2.functional.shaders",
392         ".random.all_features.vertex.91");
393 
394 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010124,
395         "dEQP-GLES2.functional.shaders",
396         ".random.all_features.vertex.92");
397 
398 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010125,
399         "dEQP-GLES2.functional.shaders",
400         ".random.all_features.vertex.93");
401 
402 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010126,
403         "dEQP-GLES2.functional.shaders",
404         ".random.all_features.vertex.94");
405 
406 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010127,
407         "dEQP-GLES2.functional.shaders",
408         ".random.all_features.vertex.95");
409 
410 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010128,
411         "dEQP-GLES2.functional.shaders",
412         ".random.all_features.vertex.96");
413 
414 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010129,
415         "dEQP-GLES2.functional.shaders",
416         ".random.all_features.vertex.97");
417 
418 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010130,
419         "dEQP-GLES2.functional.shaders",
420         ".random.all_features.vertex.98");
421 
422 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010131,
423         "dEQP-GLES2.functional.shaders",
424         ".random.all_features.vertex.99");
425