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 "../Deqpgles31BaseFunc.h"
19 #include "../ActsDeqpgles310009TestSuite.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(ActsDeqpgles310009TestSuite, TestCase_008326,
27         "dEQP-GLES31.functional.tessellation.user_defin",
28         "ed_io.negative.es32.per_patch_array_of_structs");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008327,
31         "dEQP-GLES31.functional.tessellation.user_defined_i",
32         "o.negative.es32.per_patch_structs_containing_arrays");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008328,
35         "dEQP-GLES31.functional.tessellation.user_defined_io.negative.",
36         "es32.per_vertex_incorrect_control_explicit_output_array_size_1");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008329,
39         "dEQP-GLES31.functional.tessellation.user_defined_io.negative.",
40         "es32.per_vertex_incorrect_control_explicit_output_array_size_2");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008330,
43         "dEQP-GLES31.functional.tessellation.user_defined_io.negative.",
44         "es32.per_vertex_incorrect_control_explicit_output_array_size_3");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_008331,
47         "dEQP-GLES31.functional.tessellation.user_defined_io.negati",
48         "ve.es32.per_vertex_incorrect_eval_explicit_input_array_size");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_018263,
51         "dEQP-GLES31.functional.uniform_location",
52         ".negative.es32.duplicate_location_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_018264,
55         "dEQP-GLES31.functional.uniform_location.",
56         "negative.es32.duplicate_location_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_018265,
59         "dEQP-GLES31.functional.uniform_location.neg",
60         "ative.es32.duplicate_location_unused_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_018266,
63         "dEQP-GLES31.functional.uniform_location.nega",
64         "tive.es32.duplicate_location_unused_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_018267,
67         "dEQP-GLES31.functional.uniform_location",
68         ".negative.es32.duplicate_location_split");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_018268,
71         "dEQP-GLES31.functional.uniform_locati",
72         "on.negative.es32.array_overlap_vertex");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_018269,
75         "dEQP-GLES31.functional.uniform_locatio",
76         "n.negative.es32.array_overlap_fragment");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_018270,
79         "dEQP-GLES31.functional.uniform_location.",
80         "negative.es32.array_overlap_unused_vertex");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_018271,
83         "dEQP-GLES31.functional.uniform_location.n",
84         "egative.es32.array_overlap_unused_fragment");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_018272,
87         "dEQP-GLES31.functional.uniform_locat",
88         "ion.negative.es32.array_overlap_split");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_018273,
91         "dEQP-GLES31.functional.uniform_locati",
92         "on.negative.es32.struct_overlap_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_018274,
95         "dEQP-GLES31.functional.uniform_locatio",
96         "n.negative.es32.struct_overlap_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_018275,
99         "dEQP-GLES31.functional.uniform_location.n",
100         "egative.es32.struct_overlap_unused_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_018276,
103         "dEQP-GLES31.functional.uniform_location.ne",
104         "gative.es32.struct_overlap_unused_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_018277,
107         "dEQP-GLES31.functional.uniform_locati",
108         "on.negative.es32.struct_overlap_split");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_018278,
111         "dEQP-GLES31.functional.uniform_locatio",
112         "n.negative.es32.complex_overlap_vertex");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_018279,
115         "dEQP-GLES31.functional.uniform_location",
116         ".negative.es32.complex_overlap_fragment");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_018280,
119         "dEQP-GLES31.functional.uniform_lo",
120         "cation.negative.es32.atomic_vertex");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles310009TestSuite, TestCase_018281,
123         "dEQP-GLES31.functional.uniform_loc",
124         "ation.negative.es32.atomic_fragment");
125