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 "../ActsDeqpgles20011TestSuite.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(ActsDeqpgles20011TestSuite, TestCase_010811,
27         "dEQP-GLES2.functional.texture.specif",
28         "ication.texsubimage2d_align.2d_l8_1_1");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010812,
31         "dEQP-GLES2.functional.texture.specif",
32         "ication.texsubimage2d_align.2d_l8_1_2");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010813,
35         "dEQP-GLES2.functional.texture.specif",
36         "ication.texsubimage2d_align.2d_l8_1_4");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010814,
39         "dEQP-GLES2.functional.texture.specif",
40         "ication.texsubimage2d_align.2d_l8_1_8");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010815,
43         "dEQP-GLES2.functional.texture.specifi",
44         "cation.texsubimage2d_align.2d_l8_63_1");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010816,
47         "dEQP-GLES2.functional.texture.specifi",
48         "cation.texsubimage2d_align.2d_l8_63_2");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010817,
51         "dEQP-GLES2.functional.texture.specifi",
52         "cation.texsubimage2d_align.2d_l8_63_4");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010818,
55         "dEQP-GLES2.functional.texture.specifi",
56         "cation.texsubimage2d_align.2d_l8_63_8");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010819,
59         "dEQP-GLES2.functional.texture.specificat",
60         "ion.texsubimage2d_align.2d_rgba4444_51_1");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010820,
63         "dEQP-GLES2.functional.texture.specificat",
64         "ion.texsubimage2d_align.2d_rgba4444_51_2");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010821,
67         "dEQP-GLES2.functional.texture.specificat",
68         "ion.texsubimage2d_align.2d_rgba4444_51_4");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010822,
71         "dEQP-GLES2.functional.texture.specificat",
72         "ion.texsubimage2d_align.2d_rgba4444_51_8");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010823,
75         "dEQP-GLES2.functional.texture.specifica",
76         "tion.texsubimage2d_align.2d_rgb888_39_1");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010824,
79         "dEQP-GLES2.functional.texture.specifica",
80         "tion.texsubimage2d_align.2d_rgb888_39_2");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010825,
83         "dEQP-GLES2.functional.texture.specifica",
84         "tion.texsubimage2d_align.2d_rgb888_39_4");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010826,
87         "dEQP-GLES2.functional.texture.specifica",
88         "tion.texsubimage2d_align.2d_rgb888_39_8");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010827,
91         "dEQP-GLES2.functional.texture.specificat",
92         "ion.texsubimage2d_align.2d_rgba8888_47_1");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010828,
95         "dEQP-GLES2.functional.texture.specificat",
96         "ion.texsubimage2d_align.2d_rgba8888_47_2");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010829,
99         "dEQP-GLES2.functional.texture.specificat",
100         "ion.texsubimage2d_align.2d_rgba8888_47_4");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010830,
103         "dEQP-GLES2.functional.texture.specificat",
104         "ion.texsubimage2d_align.2d_rgba8888_47_8");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010831,
107         "dEQP-GLES2.functional.texture.specifi",
108         "cation.texsubimage2d_align.cube_l8_1_1");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010832,
111         "dEQP-GLES2.functional.texture.specifi",
112         "cation.texsubimage2d_align.cube_l8_1_2");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010833,
115         "dEQP-GLES2.functional.texture.specifi",
116         "cation.texsubimage2d_align.cube_l8_1_4");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010834,
119         "dEQP-GLES2.functional.texture.specifi",
120         "cation.texsubimage2d_align.cube_l8_1_8");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010835,
123         "dEQP-GLES2.functional.texture.specific",
124         "ation.texsubimage2d_align.cube_l8_63_1");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010836,
127         "dEQP-GLES2.functional.texture.specific",
128         "ation.texsubimage2d_align.cube_l8_63_2");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010837,
131         "dEQP-GLES2.functional.texture.specific",
132         "ation.texsubimage2d_align.cube_l8_63_4");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010838,
135         "dEQP-GLES2.functional.texture.specific",
136         "ation.texsubimage2d_align.cube_l8_63_8");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010839,
139         "dEQP-GLES2.functional.texture.specificati",
140         "on.texsubimage2d_align.cube_rgba4444_51_1");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010840,
143         "dEQP-GLES2.functional.texture.specificati",
144         "on.texsubimage2d_align.cube_rgba4444_51_2");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010841,
147         "dEQP-GLES2.functional.texture.specificati",
148         "on.texsubimage2d_align.cube_rgba4444_51_4");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010842,
151         "dEQP-GLES2.functional.texture.specificati",
152         "on.texsubimage2d_align.cube_rgba4444_51_8");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010843,
155         "dEQP-GLES2.functional.texture.specificat",
156         "ion.texsubimage2d_align.cube_rgb888_39_1");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010844,
159         "dEQP-GLES2.functional.texture.specificat",
160         "ion.texsubimage2d_align.cube_rgb888_39_2");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010845,
163         "dEQP-GLES2.functional.texture.specificat",
164         "ion.texsubimage2d_align.cube_rgb888_39_4");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010846,
167         "dEQP-GLES2.functional.texture.specificat",
168         "ion.texsubimage2d_align.cube_rgb888_39_8");
169 
170 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010847,
171         "dEQP-GLES2.functional.texture.specificati",
172         "on.texsubimage2d_align.cube_rgba8888_47_1");
173 
174 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010848,
175         "dEQP-GLES2.functional.texture.specificati",
176         "on.texsubimage2d_align.cube_rgba8888_47_2");
177 
178 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010849,
179         "dEQP-GLES2.functional.texture.specificati",
180         "on.texsubimage2d_align.cube_rgba8888_47_4");
181 
182 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010850,
183         "dEQP-GLES2.functional.texture.specificati",
184         "on.texsubimage2d_align.cube_rgba8888_47_8");
185