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_000878, 27 "KHR-GLES3.shaders.preprocesso", 28 "r.basic.correct_phases_vertex"); 29 30 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000879, 31 "KHR-GLES3.shaders.preprocessor", 32 ".basic.correct_phases_fragment"); 33 34 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000880, 35 "KHR-GLES3.shaders.preprocessor.", 36 "basic.invalid_identifier_vertex"); 37 38 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000881, 39 "KHR-GLES3.shaders.preprocessor.b", 40 "asic.invalid_identifier_fragment"); 41 42 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000882, 43 "KHR-GLES3.shaders.preprocesso", 44 "r.basic.null_directive_vertex"); 45 46 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000883, 47 "KHR-GLES3.shaders.preprocessor", 48 ".basic.null_directive_fragment"); 49 50 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000884, 51 "KHR-GLES3.shaders.preprocessor", 52 ".basic.invalid_directive_vertex"); 53 54 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000885, 55 "KHR-GLES3.shaders.preprocessor.", 56 "basic.invalid_directive_fragment"); 57 58 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000886, 59 "KHR-GLES3.shaders.preprocessor.", 60 "basic.missing_identifier_vertex"); 61 62 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000887, 63 "KHR-GLES3.shaders.preprocessor.b", 64 "asic.missing_identifier_fragment"); 65 66 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000888, 67 "KHR-GLES3.shaders.preprocess", 68 "or.basic.empty_object_vertex"); 69 70 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000889, 71 "KHR-GLES3.shaders.preprocesso", 72 "r.basic.empty_object_fragment"); 73 74 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000890, 75 "KHR-GLES3.shaders.preprocesso", 76 "r.basic.empty_function_vertex"); 77 78 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000891, 79 "KHR-GLES3.shaders.preprocessor", 80 ".basic.empty_function_fragment"); 81 82 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000892, 83 "KHR-GLES3.shaders.preprocesso", 84 "r.basic.empty_directive_vertex"); 85 86 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000893, 87 "KHR-GLES3.shaders.preprocessor", 88 ".basic.empty_directive_fragment"); 89