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 "../ActsDeqpgles310019TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018643,
27        "dEQP-GLES31.functional.debug.negat",
28        "ive_coverage.callbacks.state.enable");
29
30static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018644,
31        "dEQP-GLES31.functional.debug.negati",
32        "ve_coverage.callbacks.state.disable");
33
34static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018645,
35        "dEQP-GLES31.functional.debug.negative",
36        "_coverage.callbacks.state.get_booleanv");
37
38static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018646,
39        "dEQP-GLES31.functional.debug.negativ",
40        "e_coverage.callbacks.state.get_floatv");
41
42static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018647,
43        "dEQP-GLES31.functional.debug.negative",
44        "_coverage.callbacks.state.get_integerv");
45
46static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018648,
47        "dEQP-GLES31.functional.debug.negative_",
48        "coverage.callbacks.state.get_integer64v");
49
50static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018649,
51        "dEQP-GLES31.functional.debug.negative_",
52        "coverage.callbacks.state.get_integeri_v");
53
54static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018650,
55        "dEQP-GLES31.functional.debug.negative_",
56        "coverage.callbacks.state.get_booleani_v");
57
58static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018651,
59        "dEQP-GLES31.functional.debug.negative_c",
60        "overage.callbacks.state.get_integer64i_v");
61
62static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018652,
63        "dEQP-GLES31.functional.debug.negativ",
64        "e_coverage.callbacks.state.get_string");
65
66static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018653,
67        "dEQP-GLES31.functional.debug.negative",
68        "_coverage.callbacks.state.get_stringi");
69
70static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018654,
71        "dEQP-GLES31.functional.debug.negative_cov",
72        "erage.callbacks.state.get_attached_shaders");
73
74static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018655,
75        "dEQP-GLES31.functional.debug.negative",
76        "_coverage.callbacks.state.get_shaderiv");
77
78static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018656,
79        "dEQP-GLES31.functional.debug.negative_cov",
80        "erage.callbacks.state.get_shader_info_log");
81
82static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018657,
83        "dEQP-GLES31.functional.debug.negative_coverag",
84        "e.callbacks.state.get_shader_precision_format");
85
86static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018658,
87        "dEQP-GLES31.functional.debug.negative_co",
88        "verage.callbacks.state.get_shader_source");
89
90static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018659,
91        "dEQP-GLES31.functional.debug.negative_",
92        "coverage.callbacks.state.get_programiv");
93
94static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018660,
95        "dEQP-GLES31.functional.debug.negative_cov",
96        "erage.callbacks.state.get_program_info_log");
97
98static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018661,
99        "dEQP-GLES31.functional.debug.negative_cov",
100        "erage.callbacks.state.get_tex_parameterfv");
101
102static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018662,
103        "dEQP-GLES31.functional.debug.negative_cov",
104        "erage.callbacks.state.get_tex_parameteriv");
105
106static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018663,
107        "dEQP-GLES31.functional.debug.negative_",
108        "coverage.callbacks.state.get_uniformfv");
109
110static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018664,
111        "dEQP-GLES31.functional.debug.negative_",
112        "coverage.callbacks.state.get_uniformiv");
113
114static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018665,
115        "dEQP-GLES31.functional.debug.negative_",
116        "coverage.callbacks.state.get_uniformuiv");
117
118static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018666,
119        "dEQP-GLES31.functional.debug.negative_co",
120        "verage.callbacks.state.get_active_uniform");
121
122static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018667,
123        "dEQP-GLES31.functional.debug.negative_cove",
124        "rage.callbacks.state.get_active_uniformsiv");
125
126static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018668,
127        "dEQP-GLES31.functional.debug.negative_covera",
128        "ge.callbacks.state.get_active_uniform_blockiv");
129
130static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018669,
131        "dEQP-GLES31.functional.debug.negative_coverage",
132        ".callbacks.state.get_active_uniform_block_name");
133
134static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018670,
135        "dEQP-GLES31.functional.debug.negative_co",
136        "verage.callbacks.state.get_active_attrib");
137
138static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018671,
139        "dEQP-GLES31.functional.debug.negative_cov",
140        "erage.callbacks.state.get_uniform_indices");
141
142static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018672,
143        "dEQP-GLES31.functional.debug.negative_cov",
144        "erage.callbacks.state.get_vertex_attribfv");
145
146static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018673,
147        "dEQP-GLES31.functional.debug.negative_cov",
148        "erage.callbacks.state.get_vertex_attribiv");
149
150static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018674,
151        "dEQP-GLES31.functional.debug.negative_cove",
152        "rage.callbacks.state.get_vertex_attribi_iv");
153
154static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018675,
155        "dEQP-GLES31.functional.debug.negative_cove",
156        "rage.callbacks.state.get_vertex_attribi_uiv");
157
158static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018676,
159        "dEQP-GLES31.functional.debug.negative_covera",
160        "ge.callbacks.state.get_vertex_attrib_pointerv");
161
162static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018677,
163        "dEQP-GLES31.functional.debug.negative_cove",
164        "rage.callbacks.state.get_frag_data_location");
165
166static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018678,
167        "dEQP-GLES31.functional.debug.negative_cove",
168        "rage.callbacks.state.get_buffer_parameteriv");
169
170static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018679,
171        "dEQP-GLES31.functional.debug.negative_cover",
172        "age.callbacks.state.get_buffer_parameteri64v");
173
174static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018680,
175        "dEQP-GLES31.functional.debug.negative_cov",
176        "erage.callbacks.state.get_buffer_pointerv");
177
178static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018681,
179        "dEQP-GLES31.functional.debug.negative_coverage.cal",
180        "lbacks.state.get_framebuffer_attachment_parameteriv");
181
182static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018682,
183        "dEQP-GLES31.functional.debug.negative_coverag",
184        "e.callbacks.state.get_renderbuffer_parameteriv");
185
186static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018683,
187        "dEQP-GLES31.functional.debug.negative_cov",
188        "erage.callbacks.state.get_internalformativ");
189
190static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018684,
191        "dEQP-GLES31.functional.debug.negative",
192        "_coverage.callbacks.state.get_queryiv");
193
194static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018685,
195        "dEQP-GLES31.functional.debug.negative_cov",
196        "erage.callbacks.state.get_query_objectuiv");
197
198static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018686,
199        "dEQP-GLES31.functional.debug.negativ",
200        "e_coverage.callbacks.state.get_synciv");
201
202static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018687,
203        "dEQP-GLES31.functional.debug.negativ",
204        "e_coverage.callbacks.state.is_enabled");
205
206static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018688,
207        "dEQP-GLES31.functional.debug.nega",
208        "tive_coverage.callbacks.state.hint");
209
210static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018689,
211        "dEQP-GLES31.functional.debug.negati",
212        "ve_coverage.callbacks.state.enablei");
213
214static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018690,
215        "dEQP-GLES31.functional.debug.negati",
216        "ve_coverage.callbacks.state.disablei");
217
218static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018691,
219        "dEQP-GLES31.functional.debug.negative_cov",
220        "erage.callbacks.state.get_tex_parameteriiv");
221
222static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018692,
223        "dEQP-GLES31.functional.debug.negative_cove",
224        "rage.callbacks.state.get_tex_parameteriuiv");
225
226static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018693,
227        "dEQP-GLES31.functional.debug.negative_",
228        "coverage.callbacks.state.get_nuniformfv");
229
230static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018694,
231        "dEQP-GLES31.functional.debug.negative_",
232        "coverage.callbacks.state.get_nuniformiv");
233
234static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018695,
235        "dEQP-GLES31.functional.debug.negative_c",
236        "overage.callbacks.state.get_nuniformuiv");
237
238static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018696,
239        "dEQP-GLES31.functional.debug.negative",
240        "_coverage.callbacks.state.is_enabledi");
241