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_000894, 27 "KHR-GLES3.shaders.preprocessor.defini", 28 "tions.define_value_and_function_vertex"); 29 30 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000895, 31 "KHR-GLES3.shaders.preprocessor.definit", 32 "ions.define_value_and_function_fragment"); 33 34 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000896, 35 "KHR-GLES3.shaders.preprocessor.definitio", 36 "ns.undefine_object_invalid_syntax_vertex"); 37 38 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000897, 39 "KHR-GLES3.shaders.preprocessor.definition", 40 "s.undefine_object_invalid_syntax_fragment"); 41 42 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000898, 43 "KHR-GLES3.shaders.preprocessor.defini", 44 "tions.undefine_invalid_object_1_vertex"); 45 46 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000899, 47 "KHR-GLES3.shaders.preprocessor.definit", 48 "ions.undefine_invalid_object_1_fragment"); 49 50 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000900, 51 "KHR-GLES3.shaders.preprocessor.defini", 52 "tions.undefine_invalid_object_2_vertex"); 53 54 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000901, 55 "KHR-GLES3.shaders.preprocessor.definit", 56 "ions.undefine_invalid_object_2_fragment"); 57 58 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000902, 59 "KHR-GLES3.shaders.preprocessor.defini", 60 "tions.undefine_invalid_object_3_vertex"); 61 62 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000903, 63 "KHR-GLES3.shaders.preprocessor.definit", 64 "ions.undefine_invalid_object_3_fragment"); 65 66 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000904, 67 "KHR-GLES3.shaders.preprocessor.defini", 68 "tions.undefine_invalid_object_4_vertex"); 69 70 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000905, 71 "KHR-GLES3.shaders.preprocessor.definit", 72 "ions.undefine_invalid_object_4_fragment"); 73 74 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000906, 75 "KHR-GLES3.shaders.preprocessor.de", 76 "finitions.undefine_function_vertex"); 77 78 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000907, 79 "KHR-GLES3.shaders.preprocessor.def", 80 "initions.undefine_function_fragment"); 81