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 "../Deqpgles3BaseFunc.h"
19 #include "../ActsDeqpgles30023TestSuite.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(ActsDeqpgles30023TestSuite, TestCase_022325,
27         "dEQP-GLES3.functional.texture",
28         ".format.compressed.etc1_2d_pot");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022326,
31         "dEQP-GLES3.functional.texture.",
32         "format.compressed.etc1_2d_npot");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022327,
35         "dEQP-GLES3.functional.texture.",
36         "format.compressed.etc1_cube_pot");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022328,
39         "dEQP-GLES3.functional.texture.f",
40         "ormat.compressed.etc1_cube_npot");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022329,
43         "dEQP-GLES3.functional.texture.f",
44         "ormat.compressed.eac_r11_2d_pot");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022330,
47         "dEQP-GLES3.functional.texture.fo",
48         "rmat.compressed.eac_r11_cube_pot");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022331,
51         "dEQP-GLES3.functional.texture.f",
52         "ormat.compressed.eac_r11_2d_npot");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022332,
55         "dEQP-GLES3.functional.texture.fo",
56         "rmat.compressed.eac_r11_cube_npot");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022333,
59         "dEQP-GLES3.functional.texture.form",
60         "at.compressed.eac_signed_r11_2d_pot");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022334,
63         "dEQP-GLES3.functional.texture.forma",
64         "t.compressed.eac_signed_r11_cube_pot");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022335,
67         "dEQP-GLES3.functional.texture.forma",
68         "t.compressed.eac_signed_r11_2d_npot");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022336,
71         "dEQP-GLES3.functional.texture.format",
72         ".compressed.eac_signed_r11_cube_npot");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022337,
75         "dEQP-GLES3.functional.texture.f",
76         "ormat.compressed.eac_rg11_2d_pot");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022338,
79         "dEQP-GLES3.functional.texture.fo",
80         "rmat.compressed.eac_rg11_cube_pot");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022339,
83         "dEQP-GLES3.functional.texture.fo",
84         "rmat.compressed.eac_rg11_2d_npot");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022340,
87         "dEQP-GLES3.functional.texture.for",
88         "mat.compressed.eac_rg11_cube_npot");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022341,
91         "dEQP-GLES3.functional.texture.forma",
92         "t.compressed.eac_signed_rg11_2d_pot");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022342,
95         "dEQP-GLES3.functional.texture.format",
96         ".compressed.eac_signed_rg11_cube_pot");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022343,
99         "dEQP-GLES3.functional.texture.forma",
100         "t.compressed.eac_signed_rg11_2d_npot");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022344,
103         "dEQP-GLES3.functional.texture.format",
104         ".compressed.eac_signed_rg11_cube_npot");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022345,
107         "dEQP-GLES3.functional.texture.fo",
108         "rmat.compressed.etc2_rgb8_2d_pot");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022346,
111         "dEQP-GLES3.functional.texture.for",
112         "mat.compressed.etc2_rgb8_cube_pot");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022347,
115         "dEQP-GLES3.functional.texture.fo",
116         "rmat.compressed.etc2_rgb8_2d_npot");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022348,
119         "dEQP-GLES3.functional.texture.for",
120         "mat.compressed.etc2_rgb8_cube_npot");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022349,
123         "dEQP-GLES3.functional.texture.fo",
124         "rmat.compressed.etc2_srgb8_2d_pot");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022350,
127         "dEQP-GLES3.functional.texture.for",
128         "mat.compressed.etc2_srgb8_cube_pot");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022351,
131         "dEQP-GLES3.functional.texture.for",
132         "mat.compressed.etc2_srgb8_2d_npot");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022352,
135         "dEQP-GLES3.functional.texture.form",
136         "at.compressed.etc2_srgb8_cube_npot");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022353,
139         "dEQP-GLES3.functional.texture.format.compr",
140         "essed.etc2_rgb8_punchthrough_alpha1_2d_pot");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022354,
143         "dEQP-GLES3.functional.texture.format.compre",
144         "ssed.etc2_rgb8_punchthrough_alpha1_cube_pot");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022355,
147         "dEQP-GLES3.functional.texture.format.compr",
148         "essed.etc2_rgb8_punchthrough_alpha1_2d_npot");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022356,
151         "dEQP-GLES3.functional.texture.format.compre",
152         "ssed.etc2_rgb8_punchthrough_alpha1_cube_npot");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022357,
155         "dEQP-GLES3.functional.texture.format.compr",
156         "essed.etc2_srgb8_punchthrough_alpha1_2d_pot");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022358,
159         "dEQP-GLES3.functional.texture.format.compre",
160         "ssed.etc2_srgb8_punchthrough_alpha1_cube_pot");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022359,
163         "dEQP-GLES3.functional.texture.format.compre",
164         "ssed.etc2_srgb8_punchthrough_alpha1_2d_npot");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022360,
167         "dEQP-GLES3.functional.texture.format.compres",
168         "sed.etc2_srgb8_punchthrough_alpha1_cube_npot");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022361,
171         "dEQP-GLES3.functional.texture.form",
172         "at.compressed.etc2_eac_rgba8_2d_pot");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022362,
175         "dEQP-GLES3.functional.texture.forma",
176         "t.compressed.etc2_eac_rgba8_cube_pot");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022363,
179         "dEQP-GLES3.functional.texture.forma",
180         "t.compressed.etc2_eac_rgba8_2d_npot");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022364,
183         "dEQP-GLES3.functional.texture.format",
184         ".compressed.etc2_eac_rgba8_cube_npot");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022365,
187         "dEQP-GLES3.functional.texture.format.c",
188         "ompressed.etc2_eac_srgb8_alpha8_2d_pot");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022366,
191         "dEQP-GLES3.functional.texture.format.co",
192         "mpressed.etc2_eac_srgb8_alpha8_cube_pot");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022367,
195         "dEQP-GLES3.functional.texture.format.c",
196         "ompressed.etc2_eac_srgb8_alpha8_2d_npot");
197 
198 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022368,
199         "dEQP-GLES3.functional.texture.format.co",
200         "mpressed.etc2_eac_srgb8_alpha8_cube_npot");
201