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 "../ActsDeqpgles30043TestSuite.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(ActsDeqpgles30043TestSuite, TestCase_042170, 27 "dEQP-GLES3.functional.n", 28 "egative_api.state.enable"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042171, 31 "dEQP-GLES3.functional.ne", 32 "gative_api.state.disable"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042172, 35 "dEQP-GLES3.functional.nega", 36 "tive_api.state.get_booleanv"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042173, 39 "dEQP-GLES3.functional.neg", 40 "ative_api.state.get_floatv"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042174, 43 "dEQP-GLES3.functional.nega", 44 "tive_api.state.get_integerv"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042175, 47 "dEQP-GLES3.functional.negat", 48 "ive_api.state.get_integer64v"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042176, 51 "dEQP-GLES3.functional.negat", 52 "ive_api.state.get_integeri_v"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042177, 55 "dEQP-GLES3.functional.negati", 56 "ve_api.state.get_integer64i_v"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042178, 59 "dEQP-GLES3.functional.neg", 60 "ative_api.state.get_string"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042179, 63 "dEQP-GLES3.functional.nega", 64 "tive_api.state.get_stringi"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042180, 67 "dEQP-GLES3.functional.negative", 68 "_api.state.get_attached_shaders"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042181, 71 "dEQP-GLES3.functional.nega", 72 "tive_api.state.get_shaderiv"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042182, 75 "dEQP-GLES3.functional.negative", 76 "_api.state.get_shader_info_log"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042183, 79 "dEQP-GLES3.functional.negative_api", 80 ".state.get_shader_precision_format"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042184, 83 "dEQP-GLES3.functional.negativ", 84 "e_api.state.get_shader_source"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042185, 87 "dEQP-GLES3.functional.negat", 88 "ive_api.state.get_programiv"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042186, 91 "dEQP-GLES3.functional.negative", 92 "_api.state.get_program_info_log"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042187, 95 "dEQP-GLES3.functional.negative", 96 "_api.state.get_tex_parameterfv"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042188, 99 "dEQP-GLES3.functional.negative", 100 "_api.state.get_tex_parameteriv"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042189, 103 "dEQP-GLES3.functional.negat", 104 "ive_api.state.get_uniformfv"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042190, 107 "dEQP-GLES3.functional.negat", 108 "ive_api.state.get_uniformiv"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042191, 111 "dEQP-GLES3.functional.negat", 112 "ive_api.state.get_uniformuiv"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042192, 115 "dEQP-GLES3.functional.negativ", 116 "e_api.state.get_active_uniform"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042193, 119 "dEQP-GLES3.functional.negative_", 120 "api.state.get_active_uniformsiv"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042194, 123 "dEQP-GLES3.functional.negative_ap", 124 "i.state.get_active_uniform_blockiv"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042195, 127 "dEQP-GLES3.functional.negative_api.", 128 "state.get_active_uniform_block_name"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042196, 131 "dEQP-GLES3.functional.negativ", 132 "e_api.state.get_active_attrib"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042197, 135 "dEQP-GLES3.functional.negative", 136 "_api.state.get_uniform_indices"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042198, 139 "dEQP-GLES3.functional.negative", 140 "_api.state.get_vertex_attribfv"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042199, 143 "dEQP-GLES3.functional.negative", 144 "_api.state.get_vertex_attribiv"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042200, 147 "dEQP-GLES3.functional.negative_", 148 "api.state.get_vertex_attribi_iv"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042201, 151 "dEQP-GLES3.functional.negative_", 152 "api.state.get_vertex_attribi_uiv"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042202, 155 "dEQP-GLES3.functional.negative_ap", 156 "i.state.get_vertex_attrib_pointerv"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042203, 159 "dEQP-GLES3.functional.negative_", 160 "api.state.get_frag_data_location"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042204, 163 "dEQP-GLES3.functional.negative_", 164 "api.state.get_buffer_parameteriv"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042205, 167 "dEQP-GLES3.functional.negative_a", 168 "pi.state.get_buffer_parameteri64v"); 169 170 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042206, 171 "dEQP-GLES3.functional.negative", 172 "_api.state.get_buffer_pointerv"); 173 174 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042207, 175 "dEQP-GLES3.functional.negative_api.stat", 176 "e.get_framebuffer_attachment_parameteriv"); 177 178 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042208, 179 "dEQP-GLES3.functional.negative_api", 180 ".state.get_renderbuffer_parameteriv"); 181 182 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042209, 183 "dEQP-GLES3.functional.negative", 184 "_api.state.get_internalformativ"); 185 186 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042210, 187 "dEQP-GLES3.functional.nega", 188 "tive_api.state.get_queryiv"); 189 190 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042211, 191 "dEQP-GLES3.functional.negative", 192 "_api.state.get_query_objectuiv"); 193 194 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042212, 195 "dEQP-GLES3.functional.neg", 196 "ative_api.state.get_synciv"); 197 198 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042213, 199 "dEQP-GLES3.functional.neg", 200 "ative_api.state.is_enabled"); 201 202 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042214, 203 "dEQP-GLES3.functional.", 204 "negative_api.state.hint"); 205 206 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042215, 207 "dEQP-GLES3.functional.neg", 208 "ative_api.state.is_buffer"); 209 210 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042216, 211 "dEQP-GLES3.functional.negat", 212 "ive_api.state.is_framebuffer"); 213 214 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042217, 215 "dEQP-GLES3.functional.neg", 216 "ative_api.state.is_program"); 217 218 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042218, 219 "dEQP-GLES3.functional.negati", 220 "ve_api.state.is_renderbuffer"); 221 222 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042219, 223 "dEQP-GLES3.functional.neg", 224 "ative_api.state.is_shader"); 225 226 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042220, 227 "dEQP-GLES3.functional.neg", 228 "ative_api.state.is_texture"); 229 230 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042221, 231 "dEQP-GLES3.functional.ne", 232 "gative_api.state.is_query"); 233 234 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042222, 235 "dEQP-GLES3.functional.neg", 236 "ative_api.state.is_sampler"); 237 238 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042223, 239 "dEQP-GLES3.functional.ne", 240 "gative_api.state.is_sync"); 241 242 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042224, 243 "dEQP-GLES3.functional.negative_", 244 "api.state.is_transform_feedback"); 245 246 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042225, 247 "dEQP-GLES3.functional.negati", 248 "ve_api.state.is_vertex_array"); 249