1f6603c60Sopenharmony_ci/* 2f6603c60Sopenharmony_ci * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. 3f6603c60Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 4f6603c60Sopenharmony_ci * you may not use this file except in compliance with the License. 5f6603c60Sopenharmony_ci * You may obtain a copy of the License at 6f6603c60Sopenharmony_ci * 7f6603c60Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 8f6603c60Sopenharmony_ci * 9f6603c60Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 10f6603c60Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 11f6603c60Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12f6603c60Sopenharmony_ci * See the License for the specific language governing permissions and 13f6603c60Sopenharmony_ci * limitations under the License. 14f6603c60Sopenharmony_ci */ 15f6603c60Sopenharmony_ci 16f6603c60Sopenharmony_ci#include <climits> 17f6603c60Sopenharmony_ci#include <gtest/gtest.h> 18f6603c60Sopenharmony_ci#include "../Deqpgles31BaseFunc.h" 19f6603c60Sopenharmony_ci#include "../ActsDeqpgles310019TestSuite.h" 20f6603c60Sopenharmony_ci#include "shrinkdefine.h" 21f6603c60Sopenharmony_ci 22f6603c60Sopenharmony_ciusing namespace std; 23f6603c60Sopenharmony_ciusing namespace testing::ext; 24f6603c60Sopenharmony_ciusing namespace OHOS; 25f6603c60Sopenharmony_ci 26f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018643, 27f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negat", 28f6603c60Sopenharmony_ci "ive_coverage.callbacks.state.enable"); 29f6603c60Sopenharmony_ci 30f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018644, 31f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negati", 32f6603c60Sopenharmony_ci "ve_coverage.callbacks.state.disable"); 33f6603c60Sopenharmony_ci 34f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018645, 35f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative", 36f6603c60Sopenharmony_ci "_coverage.callbacks.state.get_booleanv"); 37f6603c60Sopenharmony_ci 38f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018646, 39f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negativ", 40f6603c60Sopenharmony_ci "e_coverage.callbacks.state.get_floatv"); 41f6603c60Sopenharmony_ci 42f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018647, 43f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative", 44f6603c60Sopenharmony_ci "_coverage.callbacks.state.get_integerv"); 45f6603c60Sopenharmony_ci 46f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018648, 47f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_", 48f6603c60Sopenharmony_ci "coverage.callbacks.state.get_integer64v"); 49f6603c60Sopenharmony_ci 50f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018649, 51f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_", 52f6603c60Sopenharmony_ci "coverage.callbacks.state.get_integeri_v"); 53f6603c60Sopenharmony_ci 54f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018650, 55f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_", 56f6603c60Sopenharmony_ci "coverage.callbacks.state.get_booleani_v"); 57f6603c60Sopenharmony_ci 58f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018651, 59f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_c", 60f6603c60Sopenharmony_ci "overage.callbacks.state.get_integer64i_v"); 61f6603c60Sopenharmony_ci 62f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018652, 63f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negativ", 64f6603c60Sopenharmony_ci "e_coverage.callbacks.state.get_string"); 65f6603c60Sopenharmony_ci 66f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018653, 67f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative", 68f6603c60Sopenharmony_ci "_coverage.callbacks.state.get_stringi"); 69f6603c60Sopenharmony_ci 70f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018654, 71f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_cov", 72f6603c60Sopenharmony_ci "erage.callbacks.state.get_attached_shaders"); 73f6603c60Sopenharmony_ci 74f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018655, 75f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative", 76f6603c60Sopenharmony_ci "_coverage.callbacks.state.get_shaderiv"); 77f6603c60Sopenharmony_ci 78f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018656, 79f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_cov", 80f6603c60Sopenharmony_ci "erage.callbacks.state.get_shader_info_log"); 81f6603c60Sopenharmony_ci 82f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018657, 83f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_coverag", 84f6603c60Sopenharmony_ci "e.callbacks.state.get_shader_precision_format"); 85f6603c60Sopenharmony_ci 86f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018658, 87f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_co", 88f6603c60Sopenharmony_ci "verage.callbacks.state.get_shader_source"); 89f6603c60Sopenharmony_ci 90f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018659, 91f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_", 92f6603c60Sopenharmony_ci "coverage.callbacks.state.get_programiv"); 93f6603c60Sopenharmony_ci 94f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018660, 95f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_cov", 96f6603c60Sopenharmony_ci "erage.callbacks.state.get_program_info_log"); 97f6603c60Sopenharmony_ci 98f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018661, 99f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_cov", 100f6603c60Sopenharmony_ci "erage.callbacks.state.get_tex_parameterfv"); 101f6603c60Sopenharmony_ci 102f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018662, 103f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_cov", 104f6603c60Sopenharmony_ci "erage.callbacks.state.get_tex_parameteriv"); 105f6603c60Sopenharmony_ci 106f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018663, 107f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_", 108f6603c60Sopenharmony_ci "coverage.callbacks.state.get_uniformfv"); 109f6603c60Sopenharmony_ci 110f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018664, 111f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_", 112f6603c60Sopenharmony_ci "coverage.callbacks.state.get_uniformiv"); 113f6603c60Sopenharmony_ci 114f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018665, 115f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_", 116f6603c60Sopenharmony_ci "coverage.callbacks.state.get_uniformuiv"); 117f6603c60Sopenharmony_ci 118f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018666, 119f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_co", 120f6603c60Sopenharmony_ci "verage.callbacks.state.get_active_uniform"); 121f6603c60Sopenharmony_ci 122f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018667, 123f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_cove", 124f6603c60Sopenharmony_ci "rage.callbacks.state.get_active_uniformsiv"); 125f6603c60Sopenharmony_ci 126f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018668, 127f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_covera", 128f6603c60Sopenharmony_ci "ge.callbacks.state.get_active_uniform_blockiv"); 129f6603c60Sopenharmony_ci 130f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018669, 131f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_coverage", 132f6603c60Sopenharmony_ci ".callbacks.state.get_active_uniform_block_name"); 133f6603c60Sopenharmony_ci 134f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018670, 135f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_co", 136f6603c60Sopenharmony_ci "verage.callbacks.state.get_active_attrib"); 137f6603c60Sopenharmony_ci 138f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018671, 139f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_cov", 140f6603c60Sopenharmony_ci "erage.callbacks.state.get_uniform_indices"); 141f6603c60Sopenharmony_ci 142f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018672, 143f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_cov", 144f6603c60Sopenharmony_ci "erage.callbacks.state.get_vertex_attribfv"); 145f6603c60Sopenharmony_ci 146f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018673, 147f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_cov", 148f6603c60Sopenharmony_ci "erage.callbacks.state.get_vertex_attribiv"); 149f6603c60Sopenharmony_ci 150f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018674, 151f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_cove", 152f6603c60Sopenharmony_ci "rage.callbacks.state.get_vertex_attribi_iv"); 153f6603c60Sopenharmony_ci 154f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018675, 155f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_cove", 156f6603c60Sopenharmony_ci "rage.callbacks.state.get_vertex_attribi_uiv"); 157f6603c60Sopenharmony_ci 158f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018676, 159f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_covera", 160f6603c60Sopenharmony_ci "ge.callbacks.state.get_vertex_attrib_pointerv"); 161f6603c60Sopenharmony_ci 162f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018677, 163f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_cove", 164f6603c60Sopenharmony_ci "rage.callbacks.state.get_frag_data_location"); 165f6603c60Sopenharmony_ci 166f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018678, 167f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_cove", 168f6603c60Sopenharmony_ci "rage.callbacks.state.get_buffer_parameteriv"); 169f6603c60Sopenharmony_ci 170f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018679, 171f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_cover", 172f6603c60Sopenharmony_ci "age.callbacks.state.get_buffer_parameteri64v"); 173f6603c60Sopenharmony_ci 174f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018680, 175f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_cov", 176f6603c60Sopenharmony_ci "erage.callbacks.state.get_buffer_pointerv"); 177f6603c60Sopenharmony_ci 178f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018681, 179f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_coverage.cal", 180f6603c60Sopenharmony_ci "lbacks.state.get_framebuffer_attachment_parameteriv"); 181f6603c60Sopenharmony_ci 182f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018682, 183f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_coverag", 184f6603c60Sopenharmony_ci "e.callbacks.state.get_renderbuffer_parameteriv"); 185f6603c60Sopenharmony_ci 186f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018683, 187f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_cov", 188f6603c60Sopenharmony_ci "erage.callbacks.state.get_internalformativ"); 189f6603c60Sopenharmony_ci 190f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018684, 191f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative", 192f6603c60Sopenharmony_ci "_coverage.callbacks.state.get_queryiv"); 193f6603c60Sopenharmony_ci 194f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018685, 195f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_cov", 196f6603c60Sopenharmony_ci "erage.callbacks.state.get_query_objectuiv"); 197f6603c60Sopenharmony_ci 198f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018686, 199f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negativ", 200f6603c60Sopenharmony_ci "e_coverage.callbacks.state.get_synciv"); 201f6603c60Sopenharmony_ci 202f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018687, 203f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negativ", 204f6603c60Sopenharmony_ci "e_coverage.callbacks.state.is_enabled"); 205f6603c60Sopenharmony_ci 206f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018688, 207f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.nega", 208f6603c60Sopenharmony_ci "tive_coverage.callbacks.state.hint"); 209f6603c60Sopenharmony_ci 210f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018689, 211f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negati", 212f6603c60Sopenharmony_ci "ve_coverage.callbacks.state.enablei"); 213f6603c60Sopenharmony_ci 214f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018690, 215f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negati", 216f6603c60Sopenharmony_ci "ve_coverage.callbacks.state.disablei"); 217f6603c60Sopenharmony_ci 218f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018691, 219f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_cov", 220f6603c60Sopenharmony_ci "erage.callbacks.state.get_tex_parameteriiv"); 221f6603c60Sopenharmony_ci 222f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018692, 223f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_cove", 224f6603c60Sopenharmony_ci "rage.callbacks.state.get_tex_parameteriuiv"); 225f6603c60Sopenharmony_ci 226f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018693, 227f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_", 228f6603c60Sopenharmony_ci "coverage.callbacks.state.get_nuniformfv"); 229f6603c60Sopenharmony_ci 230f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018694, 231f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_", 232f6603c60Sopenharmony_ci "coverage.callbacks.state.get_nuniformiv"); 233f6603c60Sopenharmony_ci 234f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018695, 235f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative_c", 236f6603c60Sopenharmony_ci "overage.callbacks.state.get_nuniformuiv"); 237f6603c60Sopenharmony_ci 238f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018696, 239f6603c60Sopenharmony_ci "dEQP-GLES31.functional.debug.negative", 240f6603c60Sopenharmony_ci "_coverage.callbacks.state.is_enabledi"); 241