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_010298,
27         "dEQP-GLES2.functional.te",
28         "xture.size.cube.15x15_l8");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010299,
31         "dEQP-GLES2.functional.textu",
32         "re.size.cube.15x15_rgba4444");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010300,
35         "dEQP-GLES2.functional.text",
36         "ure.size.cube.15x15_rgb888");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010301,
39         "dEQP-GLES2.functional.textu",
40         "re.size.cube.15x15_rgba8888");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010302,
43         "dEQP-GLES2.functional.te",
44         "xture.size.cube.16x16_l8");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010303,
47         "dEQP-GLES2.functional.textu",
48         "re.size.cube.16x16_l8_mipmap");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010304,
51         "dEQP-GLES2.functional.textu",
52         "re.size.cube.16x16_rgba4444");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010305,
55         "dEQP-GLES2.functional.texture.",
56         "size.cube.16x16_rgba4444_mipmap");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010306,
59         "dEQP-GLES2.functional.text",
60         "ure.size.cube.16x16_rgb888");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010307,
63         "dEQP-GLES2.functional.texture",
64         ".size.cube.16x16_rgb888_mipmap");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010308,
67         "dEQP-GLES2.functional.textu",
68         "re.size.cube.16x16_rgba8888");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010309,
71         "dEQP-GLES2.functional.texture.",
72         "size.cube.16x16_rgba8888_mipmap");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010310,
75         "dEQP-GLES2.functional.te",
76         "xture.size.cube.64x64_l8");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010311,
79         "dEQP-GLES2.functional.textu",
80         "re.size.cube.64x64_l8_mipmap");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010312,
83         "dEQP-GLES2.functional.textu",
84         "re.size.cube.64x64_rgba4444");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010313,
87         "dEQP-GLES2.functional.texture.",
88         "size.cube.64x64_rgba4444_mipmap");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010314,
91         "dEQP-GLES2.functional.text",
92         "ure.size.cube.64x64_rgb888");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010315,
95         "dEQP-GLES2.functional.texture",
96         ".size.cube.64x64_rgb888_mipmap");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010316,
99         "dEQP-GLES2.functional.textu",
100         "re.size.cube.64x64_rgba8888");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010317,
103         "dEQP-GLES2.functional.texture.",
104         "size.cube.64x64_rgba8888_mipmap");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010318,
107         "dEQP-GLES2.functional.tex",
108         "ture.size.cube.128x128_l8");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010319,
111         "dEQP-GLES2.functional.textur",
112         "e.size.cube.128x128_l8_mipmap");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010320,
115         "dEQP-GLES2.functional.textur",
116         "e.size.cube.128x128_rgba4444");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010321,
119         "dEQP-GLES2.functional.texture.s",
120         "ize.cube.128x128_rgba4444_mipmap");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010322,
123         "dEQP-GLES2.functional.textu",
124         "re.size.cube.128x128_rgb888");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010323,
127         "dEQP-GLES2.functional.texture.",
128         "size.cube.128x128_rgb888_mipmap");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010324,
131         "dEQP-GLES2.functional.textur",
132         "e.size.cube.128x128_rgba8888");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010325,
135         "dEQP-GLES2.functional.texture.s",
136         "ize.cube.128x128_rgba8888_mipmap");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010326,
139         "dEQP-GLES2.functional.tex",
140         "ture.size.cube.256x256_l8");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010327,
143         "dEQP-GLES2.functional.textur",
144         "e.size.cube.256x256_l8_mipmap");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010328,
147         "dEQP-GLES2.functional.texture.s",
148         "ize.cube.256x256_rgba4444_mipmap");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010329,
151         "dEQP-GLES2.functional.textu",
152         "re.size.cube.256x256_rgb888");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010330,
155         "dEQP-GLES2.functional.texture.",
156         "size.cube.256x256_rgb888_mipmap");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010331,
159         "dEQP-GLES2.functional.textur",
160         "e.size.cube.256x256_rgba8888");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010332,
163         "dEQP-GLES2.functional.texture.s",
164         "ize.cube.256x256_rgba8888_mipmap");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010333,
167         "dEQP-GLES2.functional.tex",
168         "ture.size.cube.512x512_l8");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010334,
171         "dEQP-GLES2.functional.textur",
172         "e.size.cube.512x512_l8_mipmap");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010335,
175         "dEQP-GLES2.functional.texture.s",
176         "ize.cube.512x512_rgba4444_mipmap");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010336,
179         "dEQP-GLES2.functional.textu",
180         "re.size.cube.512x512_rgb888");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010337,
183         "dEQP-GLES2.functional.texture.",
184         "size.cube.512x512_rgb888_mipmap");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010338,
187         "dEQP-GLES2.functional.textur",
188         "e.size.cube.512x512_rgba8888");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010339,
191         "dEQP-GLES2.functional.texture.s",
192         "ize.cube.512x512_rgba8888_mipmap");
193