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_010725,
27         "dEQP-GLES2.functional.texture.speci",
28         "fication.teximage2d_align.2d_l8_4_8");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010726,
31         "dEQP-GLES2.functional.texture.speci",
32         "fication.teximage2d_align.2d_l8_63_1");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010727,
35         "dEQP-GLES2.functional.texture.speci",
36         "fication.teximage2d_align.2d_l8_63_2");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010728,
39         "dEQP-GLES2.functional.texture.speci",
40         "fication.teximage2d_align.2d_l8_63_4");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010729,
43         "dEQP-GLES2.functional.texture.speci",
44         "fication.teximage2d_align.2d_l8_63_8");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010730,
47         "dEQP-GLES2.functional.texture.specific",
48         "ation.teximage2d_align.2d_rgba4444_51_1");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010731,
51         "dEQP-GLES2.functional.texture.specific",
52         "ation.teximage2d_align.2d_rgba4444_51_2");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010732,
55         "dEQP-GLES2.functional.texture.specific",
56         "ation.teximage2d_align.2d_rgba4444_51_4");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010733,
59         "dEQP-GLES2.functional.texture.specific",
60         "ation.teximage2d_align.2d_rgba4444_51_8");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010734,
63         "dEQP-GLES2.functional.texture.specifi",
64         "cation.teximage2d_align.2d_rgb888_39_1");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010735,
67         "dEQP-GLES2.functional.texture.specifi",
68         "cation.teximage2d_align.2d_rgb888_39_2");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010736,
71         "dEQP-GLES2.functional.texture.specifi",
72         "cation.teximage2d_align.2d_rgb888_39_4");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010737,
75         "dEQP-GLES2.functional.texture.specifi",
76         "cation.teximage2d_align.2d_rgb888_39_8");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010738,
79         "dEQP-GLES2.functional.texture.specific",
80         "ation.teximage2d_align.2d_rgba8888_47_1");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010739,
83         "dEQP-GLES2.functional.texture.specific",
84         "ation.teximage2d_align.2d_rgba8888_47_2");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010740,
87         "dEQP-GLES2.functional.texture.specific",
88         "ation.teximage2d_align.2d_rgba8888_47_4");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010741,
91         "dEQP-GLES2.functional.texture.specific",
92         "ation.teximage2d_align.2d_rgba8888_47_8");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010742,
95         "dEQP-GLES2.functional.texture.specif",
96         "ication.teximage2d_align.cube_l8_4_8");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010743,
99         "dEQP-GLES2.functional.texture.specif",
100         "ication.teximage2d_align.cube_l8_63_1");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010744,
103         "dEQP-GLES2.functional.texture.specif",
104         "ication.teximage2d_align.cube_l8_63_2");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010745,
107         "dEQP-GLES2.functional.texture.specif",
108         "ication.teximage2d_align.cube_l8_63_4");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010746,
111         "dEQP-GLES2.functional.texture.specif",
112         "ication.teximage2d_align.cube_l8_63_8");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010747,
115         "dEQP-GLES2.functional.texture.specifica",
116         "tion.teximage2d_align.cube_rgba4444_51_1");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010748,
119         "dEQP-GLES2.functional.texture.specifica",
120         "tion.teximage2d_align.cube_rgba4444_51_2");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010749,
123         "dEQP-GLES2.functional.texture.specifica",
124         "tion.teximage2d_align.cube_rgba4444_51_4");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010750,
127         "dEQP-GLES2.functional.texture.specifica",
128         "tion.teximage2d_align.cube_rgba4444_51_8");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010751,
131         "dEQP-GLES2.functional.texture.specific",
132         "ation.teximage2d_align.cube_rgb888_39_1");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010752,
135         "dEQP-GLES2.functional.texture.specific",
136         "ation.teximage2d_align.cube_rgb888_39_2");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010753,
139         "dEQP-GLES2.functional.texture.specific",
140         "ation.teximage2d_align.cube_rgb888_39_4");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010754,
143         "dEQP-GLES2.functional.texture.specific",
144         "ation.teximage2d_align.cube_rgb888_39_8");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010755,
147         "dEQP-GLES2.functional.texture.specifica",
148         "tion.teximage2d_align.cube_rgba8888_47_1");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010756,
151         "dEQP-GLES2.functional.texture.specifica",
152         "tion.teximage2d_align.cube_rgba8888_47_2");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010757,
155         "dEQP-GLES2.functional.texture.specifica",
156         "tion.teximage2d_align.cube_rgba8888_47_4");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010758,
159         "dEQP-GLES2.functional.texture.specifica",
160         "tion.teximage2d_align.cube_rgba8888_47_8");
161