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 "../ActsDeqpgles30023TestSuite.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(ActsDeqpgles30023TestSuite, TestCase_022369,
27         "dEQP-GLES3.functional.t",
28         "exture.size.2d.64x64_l8");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022370,
31         "dEQP-GLES3.functional.text",
32         "ure.size.2d.64x64_l8_mipmap");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022371,
35         "dEQP-GLES3.functional.text",
36         "ure.size.2d.64x64_rgba4444");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022372,
39         "dEQP-GLES3.functional.texture",
40         ".size.2d.64x64_rgba4444_mipmap");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022373,
43         "dEQP-GLES3.functional.tex",
44         "ture.size.2d.64x64_rgb888");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022374,
47         "dEQP-GLES3.functional.textur",
48         "e.size.2d.64x64_rgb888_mipmap");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022375,
51         "dEQP-GLES3.functional.text",
52         "ure.size.2d.64x64_rgba8888");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022376,
55         "dEQP-GLES3.functional.texture",
56         ".size.2d.64x64_rgba8888_mipmap");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022377,
59         "dEQP-GLES3.functional.t",
60         "exture.size.2d.65x63_l8");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022378,
63         "dEQP-GLES3.functional.text",
64         "ure.size.2d.65x63_rgba4444");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022379,
67         "dEQP-GLES3.functional.tex",
68         "ture.size.2d.65x63_rgb888");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022380,
71         "dEQP-GLES3.functional.text",
72         "ure.size.2d.65x63_rgba8888");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022381,
75         "dEQP-GLES3.functional.te",
76         "xture.size.2d.512x512_l8");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022382,
79         "dEQP-GLES3.functional.textu",
80         "re.size.2d.512x512_l8_mipmap");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022383,
83         "dEQP-GLES3.functional.textu",
84         "re.size.2d.512x512_rgba4444");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022384,
87         "dEQP-GLES3.functional.texture.",
88         "size.2d.512x512_rgba4444_mipmap");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022385,
91         "dEQP-GLES3.functional.text",
92         "ure.size.2d.512x512_rgb888");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022386,
95         "dEQP-GLES3.functional.texture",
96         ".size.2d.512x512_rgb888_mipmap");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022387,
99         "dEQP-GLES3.functional.textu",
100         "re.size.2d.512x512_rgba8888");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022388,
103         "dEQP-GLES3.functional.texture.",
104         "size.2d.512x512_rgba8888_mipmap");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022389,
107         "dEQP-GLES3.functional.tex",
108         "ture.size.2d.1024x1024_l8");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022390,
111         "dEQP-GLES3.functional.textur",
112         "e.size.2d.1024x1024_l8_mipmap");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022391,
115         "dEQP-GLES3.functional.textur",
116         "e.size.2d.1024x1024_rgba4444");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022392,
119         "dEQP-GLES3.functional.texture.s",
120         "ize.2d.1024x1024_rgba4444_mipmap");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022393,
123         "dEQP-GLES3.functional.textu",
124         "re.size.2d.1024x1024_rgb888");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022394,
127         "dEQP-GLES3.functional.texture.",
128         "size.2d.1024x1024_rgb888_mipmap");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022395,
131         "dEQP-GLES3.functional.textur",
132         "e.size.2d.1024x1024_rgba8888");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022396,
135         "dEQP-GLES3.functional.texture.s",
136         "ize.2d.1024x1024_rgba8888_mipmap");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022397,
139         "dEQP-GLES3.functional.tex",
140         "ture.size.2d.2048x2048_l8");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022398,
143         "dEQP-GLES3.functional.textur",
144         "e.size.2d.2048x2048_l8_mipmap");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022399,
147         "dEQP-GLES3.functional.textur",
148         "e.size.2d.2048x2048_rgba4444");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022400,
151         "dEQP-GLES3.functional.texture.s",
152         "ize.2d.2048x2048_rgba4444_mipmap");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022401,
155         "dEQP-GLES3.functional.textu",
156         "re.size.2d.2048x2048_rgb888");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022402,
159         "dEQP-GLES3.functional.texture.",
160         "size.2d.2048x2048_rgb888_mipmap");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022403,
163         "dEQP-GLES3.functional.textur",
164         "e.size.2d.2048x2048_rgba8888");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022404,
167         "dEQP-GLES3.functional.texture.s",
168         "ize.2d.2048x2048_rgba8888_mipmap");
169