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 "../Deqpgles31BaseFunc.h"
19 #include "../ActsDeqpgles310020TestSuite.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(ActsDeqpgles310020TestSuite, TestCase_019638,
27         "dEQP-GLES31.functional.debug.negat",
28         "ive_coverage.get_error.state.enable");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019639,
31         "dEQP-GLES31.functional.debug.negati",
32         "ve_coverage.get_error.state.disable");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019640,
35         "dEQP-GLES31.functional.debug.negative",
36         "_coverage.get_error.state.get_booleanv");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019641,
39         "dEQP-GLES31.functional.debug.negativ",
40         "e_coverage.get_error.state.get_floatv");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019642,
43         "dEQP-GLES31.functional.debug.negative",
44         "_coverage.get_error.state.get_integerv");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019643,
47         "dEQP-GLES31.functional.debug.negative_",
48         "coverage.get_error.state.get_integer64v");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019644,
51         "dEQP-GLES31.functional.debug.negative_",
52         "coverage.get_error.state.get_integeri_v");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019645,
55         "dEQP-GLES31.functional.debug.negative_",
56         "coverage.get_error.state.get_booleani_v");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019646,
59         "dEQP-GLES31.functional.debug.negative_c",
60         "overage.get_error.state.get_integer64i_v");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019647,
63         "dEQP-GLES31.functional.debug.negativ",
64         "e_coverage.get_error.state.get_string");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019648,
67         "dEQP-GLES31.functional.debug.negative",
68         "_coverage.get_error.state.get_stringi");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019649,
71         "dEQP-GLES31.functional.debug.negative_cov",
72         "erage.get_error.state.get_attached_shaders");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019650,
75         "dEQP-GLES31.functional.debug.negative",
76         "_coverage.get_error.state.get_shaderiv");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019651,
79         "dEQP-GLES31.functional.debug.negative_cov",
80         "erage.get_error.state.get_shader_info_log");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019652,
83         "dEQP-GLES31.functional.debug.negative_coverag",
84         "e.get_error.state.get_shader_precision_format");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019653,
87         "dEQP-GLES31.functional.debug.negative_co",
88         "verage.get_error.state.get_shader_source");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019654,
91         "dEQP-GLES31.functional.debug.negative_",
92         "coverage.get_error.state.get_programiv");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019655,
95         "dEQP-GLES31.functional.debug.negative_cov",
96         "erage.get_error.state.get_program_info_log");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019656,
99         "dEQP-GLES31.functional.debug.negative_cov",
100         "erage.get_error.state.get_tex_parameterfv");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019657,
103         "dEQP-GLES31.functional.debug.negative_cov",
104         "erage.get_error.state.get_tex_parameteriv");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019658,
107         "dEQP-GLES31.functional.debug.negative_",
108         "coverage.get_error.state.get_uniformfv");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019659,
111         "dEQP-GLES31.functional.debug.negative_",
112         "coverage.get_error.state.get_uniformiv");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019660,
115         "dEQP-GLES31.functional.debug.negative_",
116         "coverage.get_error.state.get_uniformuiv");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019661,
119         "dEQP-GLES31.functional.debug.negative_co",
120         "verage.get_error.state.get_active_uniform");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019662,
123         "dEQP-GLES31.functional.debug.negative_cove",
124         "rage.get_error.state.get_active_uniformsiv");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019663,
127         "dEQP-GLES31.functional.debug.negative_covera",
128         "ge.get_error.state.get_active_uniform_blockiv");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019664,
131         "dEQP-GLES31.functional.debug.negative_coverage",
132         ".get_error.state.get_active_uniform_block_name");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019665,
135         "dEQP-GLES31.functional.debug.negative_co",
136         "verage.get_error.state.get_active_attrib");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019666,
139         "dEQP-GLES31.functional.debug.negative_cov",
140         "erage.get_error.state.get_uniform_indices");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019667,
143         "dEQP-GLES31.functional.debug.negative_cov",
144         "erage.get_error.state.get_vertex_attribfv");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019668,
147         "dEQP-GLES31.functional.debug.negative_cov",
148         "erage.get_error.state.get_vertex_attribiv");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019669,
151         "dEQP-GLES31.functional.debug.negative_cove",
152         "rage.get_error.state.get_vertex_attribi_iv");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019670,
155         "dEQP-GLES31.functional.debug.negative_cove",
156         "rage.get_error.state.get_vertex_attribi_uiv");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019671,
159         "dEQP-GLES31.functional.debug.negative_covera",
160         "ge.get_error.state.get_vertex_attrib_pointerv");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019672,
163         "dEQP-GLES31.functional.debug.negative_cove",
164         "rage.get_error.state.get_frag_data_location");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019673,
167         "dEQP-GLES31.functional.debug.negative_cove",
168         "rage.get_error.state.get_buffer_parameteriv");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019674,
171         "dEQP-GLES31.functional.debug.negative_cover",
172         "age.get_error.state.get_buffer_parameteri64v");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019675,
175         "dEQP-GLES31.functional.debug.negative_cov",
176         "erage.get_error.state.get_buffer_pointerv");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019676,
179         "dEQP-GLES31.functional.debug.negative_coverag",
180         "e.get_error.state.get_renderbuffer_parameteriv");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019677,
183         "dEQP-GLES31.functional.debug.negative_cov",
184         "erage.get_error.state.get_internalformativ");
185 
186 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019678,
187         "dEQP-GLES31.functional.debug.negative",
188         "_coverage.get_error.state.get_queryiv");
189 
190 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019679,
191         "dEQP-GLES31.functional.debug.negative_cov",
192         "erage.get_error.state.get_query_objectuiv");
193 
194 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019680,
195         "dEQP-GLES31.functional.debug.negativ",
196         "e_coverage.get_error.state.get_synciv");
197 
198 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019681,
199         "dEQP-GLES31.functional.debug.negativ",
200         "e_coverage.get_error.state.is_enabled");
201 
202 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019682,
203         "dEQP-GLES31.functional.debug.nega",
204         "tive_coverage.get_error.state.hint");
205 
206 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019683,
207         "dEQP-GLES31.functional.debug.negati",
208         "ve_coverage.get_error.state.enablei");
209 
210 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019684,
211         "dEQP-GLES31.functional.debug.negati",
212         "ve_coverage.get_error.state.disablei");
213 
214 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019685,
215         "dEQP-GLES31.functional.debug.negative_cov",
216         "erage.get_error.state.get_tex_parameteriiv");
217 
218 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019686,
219         "dEQP-GLES31.functional.debug.negative_cove",
220         "rage.get_error.state.get_tex_parameteriuiv");
221 
222 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019687,
223         "dEQP-GLES31.functional.debug.negative_",
224         "coverage.get_error.state.get_nuniformfv");
225 
226 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019688,
227         "dEQP-GLES31.functional.debug.negative_",
228         "coverage.get_error.state.get_nuniformiv");
229 
230 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019689,
231         "dEQP-GLES31.functional.debug.negative_c",
232         "overage.get_error.state.get_nuniformuiv");
233 
234 static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019690,
235         "dEQP-GLES31.functional.debug.negative",
236         "_coverage.get_error.state.is_enabledi");
237