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 "../ActsDeqpgles20001TestSuite.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(ActsDeqpgles20001TestSuite, TestCase_000543, 27 "dEQP-GLES2.functional.shaders.preprocessor.i", 28 "nvalid_expressions.invalid_unary_expr_vertex"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000544, 31 "dEQP-GLES2.functional.shaders.preprocessor.in", 32 "valid_expressions.invalid_unary_expr_fragment"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000545, 35 "dEQP-GLES2.functional.shaders.preprocessor.i", 36 "nvalid_expressions.invalid_binary_expr_vertex"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000546, 39 "dEQP-GLES2.functional.shaders.preprocessor.in", 40 "valid_expressions.invalid_binary_expr_fragment"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000547, 43 "dEQP-GLES2.functional.shaders.preprocesso", 44 "r.invalid_expressions.missing_expr_vertex"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000548, 47 "dEQP-GLES2.functional.shaders.preprocessor", 48 ".invalid_expressions.missing_expr_fragment"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000549, 51 "dEQP-GLES2.functional.shaders.preprocessor", 52 ".invalid_expressions.invalid_expr_1_vertex"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000550, 55 "dEQP-GLES2.functional.shaders.preprocessor.", 56 "invalid_expressions.invalid_expr_1_fragment"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000551, 59 "dEQP-GLES2.functional.shaders.preprocessor", 60 ".invalid_expressions.invalid_expr_2_vertex"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000552, 63 "dEQP-GLES2.functional.shaders.preprocessor.", 64 "invalid_expressions.invalid_expr_2_fragment"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000553, 67 "dEQP-GLES2.functional.shaders.preprocessor", 68 ".invalid_expressions.invalid_expr_3_vertex"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000554, 71 "dEQP-GLES2.functional.shaders.preprocessor.", 72 "invalid_expressions.invalid_expr_3_fragment"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000555, 75 "dEQP-GLES2.functional.shaders.preprocessor.in", 76 "valid_expressions.unopened_parenthesis_vertex"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000556, 79 "dEQP-GLES2.functional.shaders.preprocessor.inv", 80 "alid_expressions.unopened_parenthesis_fragment"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000557, 83 "dEQP-GLES2.functional.shaders.preprocessor.in", 84 "valid_expressions.unclosed_parenthesis_vertex"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000558, 87 "dEQP-GLES2.functional.shaders.preprocessor.inv", 88 "alid_expressions.unclosed_parenthesis_fragment"); 89