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_010132,
27         "dEQP-GLES2.functional.shaders.",
28         "random.all_features.fragment.0");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010133,
31         "dEQP-GLES2.functional.shaders.",
32         "random.all_features.fragment.1");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010134,
35         "dEQP-GLES2.functional.shaders.",
36         "random.all_features.fragment.2");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010135,
39         "dEQP-GLES2.functional.shaders.",
40         "random.all_features.fragment.3");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010136,
43         "dEQP-GLES2.functional.shaders.",
44         "random.all_features.fragment.4");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010137,
47         "dEQP-GLES2.functional.shaders.",
48         "random.all_features.fragment.5");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010138,
51         "dEQP-GLES2.functional.shaders.",
52         "random.all_features.fragment.6");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010139,
55         "dEQP-GLES2.functional.shaders.",
56         "random.all_features.fragment.7");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010140,
59         "dEQP-GLES2.functional.shaders.",
60         "random.all_features.fragment.8");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010141,
63         "dEQP-GLES2.functional.shaders.",
64         "random.all_features.fragment.9");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010142,
67         "dEQP-GLES2.functional.shaders.",
68         "random.all_features.fragment.10");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010143,
71         "dEQP-GLES2.functional.shaders.",
72         "random.all_features.fragment.11");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010144,
75         "dEQP-GLES2.functional.shaders.",
76         "random.all_features.fragment.12");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010145,
79         "dEQP-GLES2.functional.shaders.",
80         "random.all_features.fragment.13");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010146,
83         "dEQP-GLES2.functional.shaders.",
84         "random.all_features.fragment.14");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010147,
87         "dEQP-GLES2.functional.shaders.",
88         "random.all_features.fragment.15");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010148,
91         "dEQP-GLES2.functional.shaders.",
92         "random.all_features.fragment.17");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010149,
95         "dEQP-GLES2.functional.shaders.",
96         "random.all_features.fragment.18");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010150,
99         "dEQP-GLES2.functional.shaders.",
100         "random.all_features.fragment.19");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010151,
103         "dEQP-GLES2.functional.shaders.",
104         "random.all_features.fragment.20");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010152,
107         "dEQP-GLES2.functional.shaders.",
108         "random.all_features.fragment.21");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010153,
111         "dEQP-GLES2.functional.shaders.",
112         "random.all_features.fragment.22");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010154,
115         "dEQP-GLES2.functional.shaders.",
116         "random.all_features.fragment.23");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010155,
119         "dEQP-GLES2.functional.shaders.",
120         "random.all_features.fragment.24");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010156,
123         "dEQP-GLES2.functional.shaders.",
124         "random.all_features.fragment.25");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010157,
127         "dEQP-GLES2.functional.shaders.",
128         "random.all_features.fragment.26");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010158,
131         "dEQP-GLES2.functional.shaders.",
132         "random.all_features.fragment.27");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010159,
135         "dEQP-GLES2.functional.shaders.",
136         "random.all_features.fragment.28");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010160,
139         "dEQP-GLES2.functional.shaders.",
140         "random.all_features.fragment.29");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010161,
143         "dEQP-GLES2.functional.shaders.",
144         "random.all_features.fragment.30");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010162,
147         "dEQP-GLES2.functional.shaders.",
148         "random.all_features.fragment.31");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010163,
151         "dEQP-GLES2.functional.shaders.",
152         "random.all_features.fragment.32");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010164,
155         "dEQP-GLES2.functional.shaders.",
156         "random.all_features.fragment.33");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010165,
159         "dEQP-GLES2.functional.shaders.",
160         "random.all_features.fragment.34");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010166,
163         "dEQP-GLES2.functional.shaders.",
164         "random.all_features.fragment.35");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010167,
167         "dEQP-GLES2.functional.shaders.",
168         "random.all_features.fragment.36");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010168,
171         "dEQP-GLES2.functional.shaders.",
172         "random.all_features.fragment.37");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010169,
175         "dEQP-GLES2.functional.shaders.",
176         "random.all_features.fragment.38");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010170,
179         "dEQP-GLES2.functional.shaders.",
180         "random.all_features.fragment.39");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010171,
183         "dEQP-GLES2.functional.shaders.",
184         "random.all_features.fragment.40");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010172,
187         "dEQP-GLES2.functional.shaders.",
188         "random.all_features.fragment.41");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010173,
191         "dEQP-GLES2.functional.shaders.",
192         "random.all_features.fragment.42");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010174,
195         "dEQP-GLES2.functional.shaders.",
196         "random.all_features.fragment.43");
197 
198 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010175,
199         "dEQP-GLES2.functional.shaders.",
200         "random.all_features.fragment.44");
201 
202 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010176,
203         "dEQP-GLES2.functional.shaders.",
204         "random.all_features.fragment.45");
205 
206 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010177,
207         "dEQP-GLES2.functional.shaders.",
208         "random.all_features.fragment.46");
209 
210 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010178,
211         "dEQP-GLES2.functional.shaders.",
212         "random.all_features.fragment.47");
213 
214 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010179,
215         "dEQP-GLES2.functional.shaders.",
216         "random.all_features.fragment.48");
217 
218 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010180,
219         "dEQP-GLES2.functional.shaders.",
220         "random.all_features.fragment.49");
221 
222 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010181,
223         "dEQP-GLES2.functional.shaders.",
224         "random.all_features.fragment.50");
225 
226 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010182,
227         "dEQP-GLES2.functional.shaders.",
228         "random.all_features.fragment.51");
229 
230 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010183,
231         "dEQP-GLES2.functional.shaders.",
232         "random.all_features.fragment.52");
233 
234 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010184,
235         "dEQP-GLES2.functional.shaders.",
236         "random.all_features.fragment.53");
237 
238 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010185,
239         "dEQP-GLES2.functional.shaders.",
240         "random.all_features.fragment.54");
241 
242 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010186,
243         "dEQP-GLES2.functional.shaders.",
244         "random.all_features.fragment.55");
245 
246 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010187,
247         "dEQP-GLES2.functional.shaders.",
248         "random.all_features.fragment.57");
249 
250 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010188,
251         "dEQP-GLES2.functional.shaders.",
252         "random.all_features.fragment.58");
253 
254 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010189,
255         "dEQP-GLES2.functional.shaders.",
256         "random.all_features.fragment.59");
257 
258 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010190,
259         "dEQP-GLES2.functional.shaders.",
260         "random.all_features.fragment.60");
261 
262 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010191,
263         "dEQP-GLES2.functional.shaders.",
264         "random.all_features.fragment.61");
265 
266 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010192,
267         "dEQP-GLES2.functional.shaders.",
268         "random.all_features.fragment.62");
269 
270 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010193,
271         "dEQP-GLES2.functional.shaders.",
272         "random.all_features.fragment.63");
273 
274 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010194,
275         "dEQP-GLES2.functional.shaders.",
276         "random.all_features.fragment.64");
277 
278 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010195,
279         "dEQP-GLES2.functional.shaders.",
280         "random.all_features.fragment.65");
281 
282 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010196,
283         "dEQP-GLES2.functional.shaders.",
284         "random.all_features.fragment.66");
285 
286 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010197,
287         "dEQP-GLES2.functional.shaders.",
288         "random.all_features.fragment.67");
289 
290 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010198,
291         "dEQP-GLES2.functional.shaders.",
292         "random.all_features.fragment.68");
293 
294 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010199,
295         "dEQP-GLES2.functional.shaders.",
296         "random.all_features.fragment.69");
297 
298 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010200,
299         "dEQP-GLES2.functional.shaders.",
300         "random.all_features.fragment.70");
301 
302 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010201,
303         "dEQP-GLES2.functional.shaders.",
304         "random.all_features.fragment.71");
305 
306 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010202,
307         "dEQP-GLES2.functional.shaders.",
308         "random.all_features.fragment.72");
309 
310 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010203,
311         "dEQP-GLES2.functional.shaders.",
312         "random.all_features.fragment.73");
313 
314 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010204,
315         "dEQP-GLES2.functional.shaders.",
316         "random.all_features.fragment.74");
317 
318 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010205,
319         "dEQP-GLES2.functional.shaders.",
320         "random.all_features.fragment.75");
321 
322 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010206,
323         "dEQP-GLES2.functional.shaders.",
324         "random.all_features.fragment.76");
325 
326 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010207,
327         "dEQP-GLES2.functional.shaders.",
328         "random.all_features.fragment.77");
329 
330 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010208,
331         "dEQP-GLES2.functional.shaders.",
332         "random.all_features.fragment.78");
333 
334 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010209,
335         "dEQP-GLES2.functional.shaders.",
336         "random.all_features.fragment.79");
337 
338 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010210,
339         "dEQP-GLES2.functional.shaders.",
340         "random.all_features.fragment.80");
341 
342 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010211,
343         "dEQP-GLES2.functional.shaders.",
344         "random.all_features.fragment.81");
345 
346 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010212,
347         "dEQP-GLES2.functional.shaders.",
348         "random.all_features.fragment.82");
349 
350 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010213,
351         "dEQP-GLES2.functional.shaders.",
352         "random.all_features.fragment.83");
353 
354 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010214,
355         "dEQP-GLES2.functional.shaders.",
356         "random.all_features.fragment.84");
357 
358 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010215,
359         "dEQP-GLES2.functional.shaders.",
360         "random.all_features.fragment.85");
361 
362 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010216,
363         "dEQP-GLES2.functional.shaders.",
364         "random.all_features.fragment.86");
365 
366 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010217,
367         "dEQP-GLES2.functional.shaders.",
368         "random.all_features.fragment.87");
369 
370 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010218,
371         "dEQP-GLES2.functional.shaders.",
372         "random.all_features.fragment.88");
373 
374 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010219,
375         "dEQP-GLES2.functional.shaders.",
376         "random.all_features.fragment.89");
377 
378 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010220,
379         "dEQP-GLES2.functional.shaders.",
380         "random.all_features.fragment.90");
381 
382 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010221,
383         "dEQP-GLES2.functional.shaders.",
384         "random.all_features.fragment.91");
385 
386 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010222,
387         "dEQP-GLES2.functional.shaders.",
388         "random.all_features.fragment.92");
389 
390 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010223,
391         "dEQP-GLES2.functional.shaders.",
392         "random.all_features.fragment.93");
393 
394 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010224,
395         "dEQP-GLES2.functional.shaders.",
396         "random.all_features.fragment.94");
397 
398 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010225,
399         "dEQP-GLES2.functional.shaders.",
400         "random.all_features.fragment.95");
401 
402 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010226,
403         "dEQP-GLES2.functional.shaders.",
404         "random.all_features.fragment.96");
405 
406 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010227,
407         "dEQP-GLES2.functional.shaders.",
408         "random.all_features.fragment.97");
409 
410 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010228,
411         "dEQP-GLES2.functional.shaders.",
412         "random.all_features.fragment.98");
413 
414 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010229,
415         "dEQP-GLES2.functional.shaders.",
416         "random.all_features.fragment.99");
417