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 "../ActsDeqpgles20014TestSuite.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(ActsDeqpgles20014TestSuite, TestCase_013596, 27 "dEQP-GLES2.functional.shader_api.s", 28 "hader_source.replace_source_vertex"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013597, 31 "dEQP-GLES2.functional.shader_api.sh", 32 "ader_source.replace_source_fragment"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013598, 35 "dEQP-GLES2.functional.shader_api.shader_so", 36 "urce.split_source_2_null_terminated_vertex"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013599, 39 "dEQP-GLES2.functional.shader_api.shader_sou", 40 "rce.split_source_2_null_terminated_fragment"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013600, 43 "dEQP-GLES2.functional.shader_api.shader_so", 44 "urce.split_source_4_null_terminated_vertex"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013601, 47 "dEQP-GLES2.functional.shader_api.shader_sou", 48 "rce.split_source_4_null_terminated_fragment"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013602, 51 "dEQP-GLES2.functional.shader_api.shader_so", 52 "urce.split_source_8_null_terminated_vertex"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013603, 55 "dEQP-GLES2.functional.shader_api.shader_sou", 56 "rce.split_source_8_null_terminated_fragment"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013604, 59 "dEQP-GLES2.functional.shader_api.shader_so", 60 "urce.split_source_2_specify_lengths_vertex"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013605, 63 "dEQP-GLES2.functional.shader_api.shader_sou", 64 "rce.split_source_2_specify_lengths_fragment"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013606, 67 "dEQP-GLES2.functional.shader_api.shader_so", 68 "urce.split_source_4_specify_lengths_vertex"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013607, 71 "dEQP-GLES2.functional.shader_api.shader_sou", 72 "rce.split_source_4_specify_lengths_fragment"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013608, 75 "dEQP-GLES2.functional.shader_api.shader_so", 76 "urce.split_source_8_specify_lengths_vertex"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013609, 79 "dEQP-GLES2.functional.shader_api.shader_sou", 80 "rce.split_source_8_specify_lengths_fragment"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013610, 83 "dEQP-GLES2.functional.shader_api.shader_sourc", 84 "e.split_source_2_random_negative_length_vertex"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013611, 87 "dEQP-GLES2.functional.shader_api.shader_source", 88 ".split_source_2_random_negative_length_fragment"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013612, 91 "dEQP-GLES2.functional.shader_api.shader_sourc", 92 "e.split_source_4_random_negative_length_vertex"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013613, 95 "dEQP-GLES2.functional.shader_api.shader_source", 96 ".split_source_4_random_negative_length_fragment"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013614, 99 "dEQP-GLES2.functional.shader_api.shader_sourc", 100 "e.split_source_8_random_negative_length_vertex"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013615, 103 "dEQP-GLES2.functional.shader_api.shader_source", 104 ".split_source_8_random_negative_length_fragment"); 105