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 "../ActsDeqpgles310017TestSuite.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(ActsDeqpgles310017TestSuite, TestCase_016531, 27 "dEQP-GLES31.functional.vertex_attribute_bin", 28 "ding.negative.default_vao_bind_vertex_buffer"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016532, 31 "dEQP-GLES31.functional.vertex_attribute_bind", 32 "ing.negative.default_vao_vertex_attrib_format"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016533, 35 "dEQP-GLES31.functional.vertex_attribute_bindi", 36 "ng.negative.default_vao_vertex_attrib_i_format"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016534, 39 "dEQP-GLES31.functional.vertex_attribute_bindi", 40 "ng.negative.default_vao_vertex_attrib_binding"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016535, 43 "dEQP-GLES31.functional.vertex_attribute_bindi", 44 "ng.negative.default_vao_vertex_binding_divisor"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016536, 47 "dEQP-GLES31.functional.vertex_attribute", 48 "_binding.negative.bind_create_new_buffer"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016537, 51 "dEQP-GLES31.functional.vertex_attribute_bindi", 52 "ng.negative.vertex_attrib_format_large_offset"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016538, 55 "dEQP-GLES31.functional.vertex_attribute_bind", 56 "ing.negative.bind_vertex_buffer_large_stride"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016539, 59 "dEQP-GLES31.functional.vertex_attribute_bindi", 60 "ng.negative.bind_vertex_buffer_negative_stride"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016540, 63 "dEQP-GLES31.functional.vertex_attribute_bindi", 64 "ng.negative.bind_vertex_buffer_negative_offset"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016541, 67 "dEQP-GLES31.functional.vertex_attribute_bindi", 68 "ng.negative.vertex_attrib_binding_invalid_attr"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016542, 71 "dEQP-GLES31.functional.vertex_attribute_binding", 72 ".negative.vertex_attrib_binding_invalid_binding"); 73