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 "../ActsDeqpgles30005TestSuite.h" 20#include "shrinkdefine.h" 21 22using namespace std; 23using namespace testing::ext; 24using namespace OHOS; 25 26static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004455, 27 "dEQP-GLES3.functional.shaders.arrays.", 28 "invalid.multidimensional_array1_vertex"); 29 30static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004456, 31 "dEQP-GLES3.functional.shaders.arrays.i", 32 "nvalid.multidimensional_array1_fragment"); 33 34static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004457, 35 "dEQP-GLES3.functional.shaders.arrays.", 36 "invalid.multidimensional_array2_vertex"); 37 38static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004458, 39 "dEQP-GLES3.functional.shaders.arrays.i", 40 "nvalid.multidimensional_array2_fragment"); 41 42static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004459, 43 "dEQP-GLES3.functional.shaders.arrays.inva", 44 "lid.multidimensional_uniform_array_vertex"); 45 46static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004460, 47 "dEQP-GLES3.functional.shaders.arrays.inval", 48 "id.multidimensional_uniform_array_fragment"); 49 50static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004461, 51 "dEQP-GLES3.functional.shaders.arrays.invalid.", 52 "multidimensional_array_in_uniform_block_vertex"); 53 54static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004462, 55 "dEQP-GLES3.functional.shaders.arrays.invalid.m", 56 "ultidimensional_array_in_uniform_block_fragment"); 57 58static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004463, 59 "dEQP-GLES3.functional.shaders.arrays.inv", 60 "alid.dynamic_expression_array_size_vertex"); 61 62static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004464, 63 "dEQP-GLES3.functional.shaders.arrays.inva", 64 "lid.dynamic_expression_array_size_fragment"); 65 66static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004465, 67 "dEQP-GLES3.functional.shaders.arrays.inva", 68 "lid.empty_declaration_with_var_name_vertex"); 69 70static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004466, 71 "dEQP-GLES3.functional.shaders.arrays.inval", 72 "id.empty_declaration_with_var_name_fragment"); 73 74static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004467, 75 "dEQP-GLES3.functional.shaders.arrays", 76 ".invalid.constructor_c_style1_vertex"); 77 78static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004468, 79 "dEQP-GLES3.functional.shaders.arrays.", 80 "invalid.constructor_c_style1_fragment"); 81 82static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004469, 83 "dEQP-GLES3.functional.shaders.arrays", 84 ".invalid.constructor_c_style2_vertex"); 85 86static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004470, 87 "dEQP-GLES3.functional.shaders.arrays.", 88 "invalid.constructor_c_style2_fragment"); 89 90static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004471, 91 "dEQP-GLES3.functional.shaders.arrays", 92 ".invalid.constructor_c_style3_vertex"); 93 94static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004472, 95 "dEQP-GLES3.functional.shaders.arrays.", 96 "invalid.constructor_c_style3_fragment"); 97 98static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004473, 99 "dEQP-GLES3.functional.shaders.arrays", 100 ".invalid.constructor_c_style4_vertex"); 101 102static SHRINK_HWTEST_F(ActsDeqpgles30005TestSuite, TestCase_004474, 103 "dEQP-GLES3.functional.shaders.arrays.", 104 "invalid.constructor_c_style4_fragment"); 105