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 "../Khrgles3BaseFunc.h" 19 #include "../ActsKhrgles30001TestSuite.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(ActsKhrgles30001TestSuite, TestCase_000996, 27 "KHR-GLES3.shaders.preprocessor.invalid_", 28 "function_definitions.arguments_1_vertex"); 29 30 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000997, 31 "KHR-GLES3.shaders.preprocessor.invalid_f", 32 "unction_definitions.arguments_1_fragment"); 33 34 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000998, 35 "KHR-GLES3.shaders.preprocessor.invalid_", 36 "function_definitions.arguments_2_vertex"); 37 38 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000999, 39 "KHR-GLES3.shaders.preprocessor.invalid_f", 40 "unction_definitions.arguments_2_fragment"); 41 42 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001000, 43 "KHR-GLES3.shaders.preprocessor.invalid_", 44 "function_definitions.arguments_3_vertex"); 45 46 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001001, 47 "KHR-GLES3.shaders.preprocessor.invalid_f", 48 "unction_definitions.arguments_3_fragment"); 49 50 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001002, 51 "KHR-GLES3.shaders.preprocessor.invalid_", 52 "function_definitions.arguments_4_vertex"); 53 54 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001003, 55 "KHR-GLES3.shaders.preprocessor.invalid_f", 56 "unction_definitions.arguments_4_fragment"); 57 58 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001004, 59 "KHR-GLES3.shaders.preprocessor.invalid_", 60 "function_definitions.arguments_5_vertex"); 61 62 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001005, 63 "KHR-GLES3.shaders.preprocessor.invalid_f", 64 "unction_definitions.arguments_5_fragment"); 65 66 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001006, 67 "KHR-GLES3.shaders.preprocessor.invalid_", 68 "function_definitions.arguments_6_vertex"); 69 70 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001007, 71 "KHR-GLES3.shaders.preprocessor.invalid_f", 72 "unction_definitions.arguments_6_fragment"); 73 74 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001008, 75 "KHR-GLES3.shaders.preprocessor.invalid_", 76 "function_definitions.arguments_7_vertex"); 77 78 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001009, 79 "KHR-GLES3.shaders.preprocessor.invalid_f", 80 "unction_definitions.arguments_7_fragment"); 81 82 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001010, 83 "KHR-GLES3.shaders.preprocessor.invalid_", 84 "function_definitions.arguments_8_vertex"); 85 86 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001011, 87 "KHR-GLES3.shaders.preprocessor.invalid_f", 88 "unction_definitions.arguments_8_fragment"); 89 90 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001012, 91 "KHR-GLES3.shaders.preprocessor.invalid_fun", 92 "ction_definitions.unique_param_name_vertex"); 93 94 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001013, 95 "KHR-GLES3.shaders.preprocessor.invalid_func", 96 "tion_definitions.unique_param_name_fragment"); 97 98 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001014, 99 "KHR-GLES3.shaders.preprocessor.invalid_fu", 100 "nction_definitions.argument_list_1_vertex"); 101 102 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001015, 103 "KHR-GLES3.shaders.preprocessor.invalid_fun", 104 "ction_definitions.argument_list_1_fragment"); 105 106 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001016, 107 "KHR-GLES3.shaders.preprocessor.invalid_fu", 108 "nction_definitions.argument_list_2_vertex"); 109 110 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001017, 111 "KHR-GLES3.shaders.preprocessor.invalid_fun", 112 "ction_definitions.argument_list_2_fragment"); 113 114 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001018, 115 "KHR-GLES3.shaders.preprocessor.invalid_fu", 116 "nction_definitions.argument_list_3_vertex"); 117 118 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001019, 119 "KHR-GLES3.shaders.preprocessor.invalid_fun", 120 "ction_definitions.argument_list_3_fragment"); 121 122 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001020, 123 "KHR-GLES3.shaders.preprocessor.invalid_functi", 124 "on_definitions.no_closing_parenthesis_1_vertex"); 125 126 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001021, 127 "KHR-GLES3.shaders.preprocessor.invalid_functio", 128 "n_definitions.no_closing_parenthesis_1_fragment"); 129 130 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001022, 131 "KHR-GLES3.shaders.preprocessor.invalid_functi", 132 "on_definitions.no_closing_parenthesis_2_vertex"); 133 134 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001023, 135 "KHR-GLES3.shaders.preprocessor.invalid_functio", 136 "n_definitions.no_closing_parenthesis_2_fragment"); 137 138 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001024, 139 "KHR-GLES3.shaders.preprocessor.invalid_functi", 140 "on_definitions.no_closing_parenthesis_3_vertex"); 141 142 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001025, 143 "KHR-GLES3.shaders.preprocessor.invalid_functio", 144 "n_definitions.no_closing_parenthesis_3_fragment"); 145 146 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001026, 147 "KHR-GLES3.shaders.preprocessor.invalid_functi", 148 "on_definitions.no_closing_parenthesis_4_vertex"); 149 150 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_001027, 151 "KHR-GLES3.shaders.preprocessor.invalid_functio", 152 "n_definitions.no_closing_parenthesis_4_fragment"); 153