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 "../ActsDeqpgles30026TestSuite.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(ActsDeqpgles30026TestSuite, TestCase_025830,
27         "dEQP-GLES3.functional.texture.speci",
28         "fication.teximage2d_align.2d_r8_4_8");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025831,
31         "dEQP-GLES3.functional.texture.speci",
32         "fication.teximage2d_align.2d_r8_63_1");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025832,
35         "dEQP-GLES3.functional.texture.speci",
36         "fication.teximage2d_align.2d_r8_63_2");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025833,
39         "dEQP-GLES3.functional.texture.speci",
40         "fication.teximage2d_align.2d_r8_63_4");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025834,
43         "dEQP-GLES3.functional.texture.speci",
44         "fication.teximage2d_align.2d_r8_63_8");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025835,
47         "dEQP-GLES3.functional.texture.specifi",
48         "cation.teximage2d_align.2d_rgba4_51_1");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025836,
51         "dEQP-GLES3.functional.texture.specifi",
52         "cation.teximage2d_align.2d_rgba4_51_2");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025837,
55         "dEQP-GLES3.functional.texture.specifi",
56         "cation.teximage2d_align.2d_rgba4_51_4");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025838,
59         "dEQP-GLES3.functional.texture.specifi",
60         "cation.teximage2d_align.2d_rgba4_51_8");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025839,
63         "dEQP-GLES3.functional.texture.specif",
64         "ication.teximage2d_align.2d_rgb8_39_1");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025840,
67         "dEQP-GLES3.functional.texture.specif",
68         "ication.teximage2d_align.2d_rgb8_39_2");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025841,
71         "dEQP-GLES3.functional.texture.specif",
72         "ication.teximage2d_align.2d_rgb8_39_4");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025842,
75         "dEQP-GLES3.functional.texture.specif",
76         "ication.teximage2d_align.2d_rgb8_39_8");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025843,
79         "dEQP-GLES3.functional.texture.specifi",
80         "cation.teximage2d_align.2d_rgba8_47_1");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025844,
83         "dEQP-GLES3.functional.texture.specifi",
84         "cation.teximage2d_align.2d_rgba8_47_2");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025845,
87         "dEQP-GLES3.functional.texture.specifi",
88         "cation.teximage2d_align.2d_rgba8_47_4");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025846,
91         "dEQP-GLES3.functional.texture.specifi",
92         "cation.teximage2d_align.2d_rgba8_47_8");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025847,
95         "dEQP-GLES3.functional.texture.specif",
96         "ication.teximage2d_align.cube_r8_4_8");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025848,
99         "dEQP-GLES3.functional.texture.specif",
100         "ication.teximage2d_align.cube_r8_63_1");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025849,
103         "dEQP-GLES3.functional.texture.specif",
104         "ication.teximage2d_align.cube_r8_63_2");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025850,
107         "dEQP-GLES3.functional.texture.specif",
108         "ication.teximage2d_align.cube_r8_63_4");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025851,
111         "dEQP-GLES3.functional.texture.specif",
112         "ication.teximage2d_align.cube_r8_63_8");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025852,
115         "dEQP-GLES3.functional.texture.specific",
116         "ation.teximage2d_align.cube_rgba4_51_1");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025853,
119         "dEQP-GLES3.functional.texture.specific",
120         "ation.teximage2d_align.cube_rgba4_51_2");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025854,
123         "dEQP-GLES3.functional.texture.specific",
124         "ation.teximage2d_align.cube_rgba4_51_4");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025855,
127         "dEQP-GLES3.functional.texture.specific",
128         "ation.teximage2d_align.cube_rgba4_51_8");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025856,
131         "dEQP-GLES3.functional.texture.specifi",
132         "cation.teximage2d_align.cube_rgb8_39_1");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025857,
135         "dEQP-GLES3.functional.texture.specifi",
136         "cation.teximage2d_align.cube_rgb8_39_2");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025858,
139         "dEQP-GLES3.functional.texture.specifi",
140         "cation.teximage2d_align.cube_rgb8_39_4");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025859,
143         "dEQP-GLES3.functional.texture.specifi",
144         "cation.teximage2d_align.cube_rgb8_39_8");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025860,
147         "dEQP-GLES3.functional.texture.specific",
148         "ation.teximage2d_align.cube_rgba8_47_1");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025861,
151         "dEQP-GLES3.functional.texture.specific",
152         "ation.teximage2d_align.cube_rgba8_47_2");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025862,
155         "dEQP-GLES3.functional.texture.specific",
156         "ation.teximage2d_align.cube_rgba8_47_4");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025863,
159         "dEQP-GLES3.functional.texture.specific",
160         "ation.teximage2d_align.cube_rgba8_47_8");
161