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 "../ActsDeqpgles30033TestSuite.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(ActsDeqpgles30033TestSuite, TestCase_032909,
27         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
28         "e.strides.short.user_ptr_stride4_components2_quads1");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032910,
31         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
32         "e.strides.short.user_ptr_stride17_components2_quads1");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032911,
35         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
36         "e.strides.short.user_ptr_stride32_components2_quads1");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032912,
39         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
40         ".strides.short.user_ptr_stride4_components2_quads256");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032913,
43         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
44         ".strides.short.user_ptr_stride17_components2_quads256");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032914,
47         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
48         ".strides.short.user_ptr_stride32_components2_quads256");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032915,
51         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
52         "e.strides.short.user_ptr_stride6_components3_quads1");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032916,
55         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
56         "e.strides.short.user_ptr_stride17_components3_quads1");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032917,
59         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
60         "e.strides.short.user_ptr_stride32_components3_quads1");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032918,
63         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
64         ".strides.short.user_ptr_stride6_components3_quads256");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032919,
67         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
68         ".strides.short.user_ptr_stride17_components3_quads256");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032920,
71         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
72         ".strides.short.user_ptr_stride32_components3_quads256");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032921,
75         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
76         "e.strides.short.user_ptr_stride8_components4_quads1");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032922,
79         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
80         "e.strides.short.user_ptr_stride17_components4_quads1");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032923,
83         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
84         "e.strides.short.user_ptr_stride32_components4_quads1");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032924,
87         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
88         ".strides.short.user_ptr_stride8_components4_quads256");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032925,
91         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
92         ".strides.short.user_ptr_stride17_components4_quads256");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032926,
95         "dEQP-GLES3.functional.vertex_arrays.single_attribute",
96         ".strides.short.user_ptr_stride32_components4_quads256");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032927,
99         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
100         "te.strides.short.buffer_stride4_components2_quads1");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032928,
103         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
104         "te.strides.short.buffer_stride32_components2_quads1");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032929,
107         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
108         "e.strides.short.buffer_stride4_components2_quads256");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032930,
111         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
112         "e.strides.short.buffer_stride32_components2_quads256");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032931,
115         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
116         "te.strides.short.buffer_stride6_components3_quads1");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032932,
119         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
120         "te.strides.short.buffer_stride32_components3_quads1");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032933,
123         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
124         "e.strides.short.buffer_stride6_components3_quads256");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032934,
127         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
128         "e.strides.short.buffer_stride32_components3_quads256");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032935,
131         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
132         "te.strides.short.buffer_stride8_components4_quads1");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032936,
135         "dEQP-GLES3.functional.vertex_arrays.single_attribu",
136         "te.strides.short.buffer_stride32_components4_quads1");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032937,
139         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
140         "e.strides.short.buffer_stride8_components4_quads256");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032938,
143         "dEQP-GLES3.functional.vertex_arrays.single_attribut",
144         "e.strides.short.buffer_stride32_components4_quads256");
145