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 "../Deqpgles3BaseFunc.h"
19 #include "../ActsDeqpgles30042TestSuite.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(ActsDeqpgles30042TestSuite, TestCase_041872,
27         "dEQP-GLES3.functional.shader_api.s",
28         "hader_source.replace_source_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30042TestSuite, TestCase_041873,
31         "dEQP-GLES3.functional.shader_api.sh",
32         "ader_source.replace_source_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30042TestSuite, TestCase_041874,
35         "dEQP-GLES3.functional.shader_api.shader_so",
36         "urce.split_source_2_null_terminated_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30042TestSuite, TestCase_041875,
39         "dEQP-GLES3.functional.shader_api.shader_sou",
40         "rce.split_source_2_null_terminated_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30042TestSuite, TestCase_041876,
43         "dEQP-GLES3.functional.shader_api.shader_so",
44         "urce.split_source_4_null_terminated_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30042TestSuite, TestCase_041877,
47         "dEQP-GLES3.functional.shader_api.shader_sou",
48         "rce.split_source_4_null_terminated_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30042TestSuite, TestCase_041878,
51         "dEQP-GLES3.functional.shader_api.shader_so",
52         "urce.split_source_8_null_terminated_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30042TestSuite, TestCase_041879,
55         "dEQP-GLES3.functional.shader_api.shader_sou",
56         "rce.split_source_8_null_terminated_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30042TestSuite, TestCase_041880,
59         "dEQP-GLES3.functional.shader_api.shader_so",
60         "urce.split_source_2_specify_lengths_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30042TestSuite, TestCase_041881,
63         "dEQP-GLES3.functional.shader_api.shader_sou",
64         "rce.split_source_2_specify_lengths_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30042TestSuite, TestCase_041882,
67         "dEQP-GLES3.functional.shader_api.shader_so",
68         "urce.split_source_4_specify_lengths_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30042TestSuite, TestCase_041883,
71         "dEQP-GLES3.functional.shader_api.shader_sou",
72         "rce.split_source_4_specify_lengths_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30042TestSuite, TestCase_041884,
75         "dEQP-GLES3.functional.shader_api.shader_so",
76         "urce.split_source_8_specify_lengths_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30042TestSuite, TestCase_041885,
79         "dEQP-GLES3.functional.shader_api.shader_sou",
80         "rce.split_source_8_specify_lengths_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30042TestSuite, TestCase_041886,
83         "dEQP-GLES3.functional.shader_api.shader_sourc",
84         "e.split_source_2_random_negative_length_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30042TestSuite, TestCase_041887,
87         "dEQP-GLES3.functional.shader_api.shader_source",
88         ".split_source_2_random_negative_length_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30042TestSuite, TestCase_041888,
91         "dEQP-GLES3.functional.shader_api.shader_sourc",
92         "e.split_source_4_random_negative_length_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30042TestSuite, TestCase_041889,
95         "dEQP-GLES3.functional.shader_api.shader_source",
96         ".split_source_4_random_negative_length_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30042TestSuite, TestCase_041890,
99         "dEQP-GLES3.functional.shader_api.shader_sourc",
100         "e.split_source_8_random_negative_length_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30042TestSuite, TestCase_041891,
103         "dEQP-GLES3.functional.shader_api.shader_source",
104         ".split_source_8_random_negative_length_fragment");
105