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 "../Deqpgles2BaseFunc.h" 19 #include "../ActsDeqpgles20014TestSuite.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(ActsDeqpgles20014TestSuite, TestCase_013662, 27 "dEQP-GLES2.functional.negat", 28 "ive_api.shader.create_shader"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013663, 31 "dEQP-GLES2.functional.negat", 32 "ive_api.shader.shader_source"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013664, 35 "dEQP-GLES2.functional.negati", 36 "ve_api.shader.compile_shader"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013665, 39 "dEQP-GLES2.functional.negat", 40 "ive_api.shader.delete_shader"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013666, 43 "dEQP-GLES2.functional.negat", 44 "ive_api.shader.shader_binary"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013667, 47 "dEQP-GLES2.functional.negat", 48 "ive_api.shader.attach_shader"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013668, 51 "dEQP-GLES2.functional.negat", 52 "ive_api.shader.detach_shader"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013669, 55 "dEQP-GLES2.functional.negat", 56 "ive_api.shader.link_program"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013670, 59 "dEQP-GLES2.functional.nega", 60 "tive_api.shader.use_program"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013671, 63 "dEQP-GLES2.functional.negati", 64 "ve_api.shader.delete_program"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013672, 67 "dEQP-GLES2.functional.negativ", 68 "e_api.shader.get_active_attrib"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013673, 71 "dEQP-GLES2.functional.negative", 72 "_api.shader.get_attrib_location"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013674, 75 "dEQP-GLES2.functional.negative_", 76 "api.shader.get_uniform_location"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013675, 79 "dEQP-GLES2.functional.negative_", 80 "api.shader.bind_attrib_location"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013676, 83 "dEQP-GLES2.functional.negative", 84 "_api.shader.get_active_uniform"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013677, 87 "dEQP-GLES2.functional.negativ", 88 "e_api.shader.validate_program"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013678, 91 "dEQP-GLES2.functional.negative_a", 92 "pi.shader.release_shader_compiler"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013679, 95 "dEQP-GLES2.functional.negative_ap", 96 "i.shader.uniformf_invalid_program"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013680, 99 "dEQP-GLES2.functional.negative_api", 100 ".shader.uniformf_incompatible_type"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013681, 103 "dEQP-GLES2.functional.negative_ap", 104 "i.shader.uniformf_invalid_location"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013682, 107 "dEQP-GLES2.functional.negative_ap", 108 "i.shader.uniformfv_invalid_program"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013683, 111 "dEQP-GLES2.functional.negative_api", 112 ".shader.uniformfv_incompatible_type"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013684, 115 "dEQP-GLES2.functional.negative_api", 116 ".shader.uniformfv_invalid_location"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013685, 119 "dEQP-GLES2.functional.negative_a", 120 "pi.shader.uniformfv_invalid_count"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013686, 123 "dEQP-GLES2.functional.negative_ap", 124 "i.shader.uniformi_invalid_program"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013687, 127 "dEQP-GLES2.functional.negative_api", 128 ".shader.uniformi_incompatible_type"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013688, 131 "dEQP-GLES2.functional.negative_ap", 132 "i.shader.uniformi_invalid_location"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013689, 135 "dEQP-GLES2.functional.negative_ap", 136 "i.shader.uniformiv_invalid_program"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013690, 139 "dEQP-GLES2.functional.negative_api", 140 ".shader.uniformiv_incompatible_type"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013691, 143 "dEQP-GLES2.functional.negative_api", 144 ".shader.uniformiv_invalid_location"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013692, 147 "dEQP-GLES2.functional.negative_a", 148 "pi.shader.uniformiv_invalid_count"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013693, 151 "dEQP-GLES2.functional.negative_api.sh", 152 "ader.uniform_matrixfv_invalid_program"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013694, 155 "dEQP-GLES2.functional.negative_api.sha", 156 "der.uniform_matrixfv_incompatible_type"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013695, 159 "dEQP-GLES2.functional.negative_api.sh", 160 "ader.uniform_matrixfv_invalid_location"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013696, 163 "dEQP-GLES2.functional.negative_api.s", 164 "hader.uniform_matrixfv_invalid_count"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013697, 167 "dEQP-GLES2.functional.negative_api.sha", 168 "der.uniform_matrixfv_invalid_transpose"); 169