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_010230,
27         "dEQP-GLES2.functional.t",
28         "exture.format.a8_2d_pot");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010231,
31         "dEQP-GLES2.functional.t",
32         "exture.format.a8_2d_npot");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010232,
35         "dEQP-GLES2.functional.te",
36         "xture.format.a8_cube_pot");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010233,
39         "dEQP-GLES2.functional.te",
40         "xture.format.a8_cube_npot");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010234,
43         "dEQP-GLES2.functional.t",
44         "exture.format.l8_2d_pot");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010235,
47         "dEQP-GLES2.functional.t",
48         "exture.format.l8_2d_npot");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010236,
51         "dEQP-GLES2.functional.te",
52         "xture.format.l8_cube_pot");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010237,
55         "dEQP-GLES2.functional.te",
56         "xture.format.l8_cube_npot");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010238,
59         "dEQP-GLES2.functional.te",
60         "xture.format.la88_2d_pot");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010239,
63         "dEQP-GLES2.functional.te",
64         "xture.format.la88_2d_npot");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010240,
67         "dEQP-GLES2.functional.tex",
68         "ture.format.la88_cube_pot");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010241,
71         "dEQP-GLES2.functional.tex",
72         "ture.format.la88_cube_npot");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010242,
75         "dEQP-GLES2.functional.tex",
76         "ture.format.rgb565_2d_pot");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010243,
79         "dEQP-GLES2.functional.tex",
80         "ture.format.rgb565_2d_npot");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010244,
83         "dEQP-GLES2.functional.text",
84         "ure.format.rgb565_cube_pot");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010245,
87         "dEQP-GLES2.functional.text",
88         "ure.format.rgb565_cube_npot");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010246,
91         "dEQP-GLES2.functional.tex",
92         "ture.format.rgb888_2d_pot");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010247,
95         "dEQP-GLES2.functional.tex",
96         "ture.format.rgb888_2d_npot");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010248,
99         "dEQP-GLES2.functional.text",
100         "ure.format.rgb888_cube_pot");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010249,
103         "dEQP-GLES2.functional.text",
104         "ure.format.rgb888_cube_npot");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010250,
107         "dEQP-GLES2.functional.text",
108         "ure.format.rgba4444_2d_pot");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010251,
111         "dEQP-GLES2.functional.text",
112         "ure.format.rgba4444_2d_npot");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010252,
115         "dEQP-GLES2.functional.textu",
116         "re.format.rgba4444_cube_pot");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010253,
119         "dEQP-GLES2.functional.textu",
120         "re.format.rgba4444_cube_npot");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010254,
123         "dEQP-GLES2.functional.text",
124         "ure.format.rgba5551_2d_pot");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010255,
127         "dEQP-GLES2.functional.text",
128         "ure.format.rgba5551_2d_npot");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010256,
131         "dEQP-GLES2.functional.textu",
132         "re.format.rgba5551_cube_pot");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010257,
135         "dEQP-GLES2.functional.textu",
136         "re.format.rgba5551_cube_npot");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010258,
139         "dEQP-GLES2.functional.text",
140         "ure.format.rgba8888_2d_pot");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010259,
143         "dEQP-GLES2.functional.text",
144         "ure.format.rgba8888_2d_npot");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010260,
147         "dEQP-GLES2.functional.textu",
148         "re.format.rgba8888_cube_pot");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010261,
151         "dEQP-GLES2.functional.textu",
152         "re.format.rgba8888_cube_npot");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010262,
155         "dEQP-GLES2.functional.te",
156         "xture.format.etc1_2d_pot");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010263,
159         "dEQP-GLES2.functional.te",
160         "xture.format.etc1_2d_npot");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010264,
163         "dEQP-GLES2.functional.tex",
164         "ture.format.etc1_cube_pot");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010265,
167         "dEQP-GLES2.functional.tex",
168         "ture.format.etc1_cube_npot");
169