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_042143, 27 "dEQP-GLES3.functional.negative_", 28 "api.vertex_array.vertex_attribf"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042144, 31 "dEQP-GLES3.functional.negative_", 32 "api.vertex_array.vertex_attribfv"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042145, 35 "dEQP-GLES3.functional.negative_", 36 "api.vertex_array.vertex_attribi4"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042146, 39 "dEQP-GLES3.functional.negative_a", 40 "pi.vertex_array.vertex_attribi4v"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042147, 43 "dEQP-GLES3.functional.negative_api", 44 ".vertex_array.vertex_attrib_pointer"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042148, 47 "dEQP-GLES3.functional.negative_api.", 48 "vertex_array.vertex_attrib_i_pointer"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042149, 51 "dEQP-GLES3.functional.negative_api.ve", 52 "rtex_array.enable_vertex_attrib_array"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042150, 55 "dEQP-GLES3.functional.negative_api.ve", 56 "rtex_array.disable_vertex_attrib_array"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042151, 59 "dEQP-GLES3.functional.negative_a", 60 "pi.vertex_array.gen_vertex_arrays"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042152, 63 "dEQP-GLES3.functional.negative_a", 64 "pi.vertex_array.bind_vertex_array"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042153, 67 "dEQP-GLES3.functional.negative_api", 68 ".vertex_array.delete_vertex_arrays"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042154, 71 "dEQP-GLES3.functional.negative_api", 72 ".vertex_array.vertex_attrib_divisor"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042155, 75 "dEQP-GLES3.functional.negativ", 76 "e_api.vertex_array.draw_arrays"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042156, 79 "dEQP-GLES3.functional.negative_api.ve", 80 "rtex_array.draw_arrays_invalid_program"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042157, 83 "dEQP-GLES3.functional.negative_api.verte", 84 "x_array.draw_arrays_incomplete_primitive"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042158, 87 "dEQP-GLES3.functional.negative", 88 "_api.vertex_array.draw_elements"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042159, 91 "dEQP-GLES3.functional.negative_api.ver", 92 "tex_array.draw_elements_invalid_program"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042160, 95 "dEQP-GLES3.functional.negative_api.vertex", 96 "_array.draw_elements_incomplete_primitive"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042161, 99 "dEQP-GLES3.functional.negative_api", 100 ".vertex_array.draw_arrays_instanced"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042162, 103 "dEQP-GLES3.functional.negative_api.vertex_", 104 "array.draw_arrays_instanced_invalid_program"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042163, 107 "dEQP-GLES3.functional.negative_api.vertex_arr", 108 "ay.draw_arrays_instanced_incomplete_primitive"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042164, 111 "dEQP-GLES3.functional.negative_api.", 112 "vertex_array.draw_elements_instanced"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042165, 115 "dEQP-GLES3.functional.negative_api.vertex_a", 116 "rray.draw_elements_instanced_invalid_program"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042166, 119 "dEQP-GLES3.functional.negative_api.vertex_arra", 120 "y.draw_elements_instanced_incomplete_primitive"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042167, 123 "dEQP-GLES3.functional.negative_ap", 124 "i.vertex_array.draw_range_elements"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042168, 127 "dEQP-GLES3.functional.negative_api.vertex", 128 "_array.draw_range_elements_invalid_program"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042169, 131 "dEQP-GLES3.functional.negative_api.vertex_ar", 132 "ray.draw_range_elements_incomplete_primitive"); 133