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_010266,
27         "dEQP-GLES2.functional.t",
28         "exture.size.2d.64x64_l8");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010267,
31         "dEQP-GLES2.functional.text",
32         "ure.size.2d.64x64_l8_mipmap");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010268,
35         "dEQP-GLES2.functional.text",
36         "ure.size.2d.64x64_rgba4444");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010269,
39         "dEQP-GLES2.functional.texture",
40         ".size.2d.64x64_rgba4444_mipmap");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010270,
43         "dEQP-GLES2.functional.tex",
44         "ture.size.2d.64x64_rgb888");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010271,
47         "dEQP-GLES2.functional.textur",
48         "e.size.2d.64x64_rgb888_mipmap");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010272,
51         "dEQP-GLES2.functional.text",
52         "ure.size.2d.64x64_rgba8888");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010273,
55         "dEQP-GLES2.functional.texture",
56         ".size.2d.64x64_rgba8888_mipmap");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010274,
59         "dEQP-GLES2.functional.t",
60         "exture.size.2d.65x63_l8");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010275,
63         "dEQP-GLES2.functional.tex",
64         "ture.size.2d.65x63_rgb888");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010276,
67         "dEQP-GLES2.functional.text",
68         "ure.size.2d.65x63_rgba8888");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010277,
71         "dEQP-GLES2.functional.te",
72         "xture.size.2d.512x512_l8");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010278,
75         "dEQP-GLES2.functional.textu",
76         "re.size.2d.512x512_l8_mipmap");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010279,
79         "dEQP-GLES2.functional.texture.",
80         "size.2d.512x512_rgba4444_mipmap");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010280,
83         "dEQP-GLES2.functional.text",
84         "ure.size.2d.512x512_rgb888");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010281,
87         "dEQP-GLES2.functional.texture",
88         ".size.2d.512x512_rgb888_mipmap");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010282,
91         "dEQP-GLES2.functional.textu",
92         "re.size.2d.512x512_rgba8888");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010283,
95         "dEQP-GLES2.functional.texture.",
96         "size.2d.512x512_rgba8888_mipmap");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010284,
99         "dEQP-GLES2.functional.tex",
100         "ture.size.2d.1024x1024_l8");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010285,
103         "dEQP-GLES2.functional.textur",
104         "e.size.2d.1024x1024_l8_mipmap");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010286,
107         "dEQP-GLES2.functional.texture.s",
108         "ize.2d.1024x1024_rgba4444_mipmap");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010287,
111         "dEQP-GLES2.functional.textu",
112         "re.size.2d.1024x1024_rgb888");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010288,
115         "dEQP-GLES2.functional.texture.",
116         "size.2d.1024x1024_rgb888_mipmap");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010289,
119         "dEQP-GLES2.functional.textur",
120         "e.size.2d.1024x1024_rgba8888");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010290,
123         "dEQP-GLES2.functional.texture.s",
124         "ize.2d.1024x1024_rgba8888_mipmap");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010291,
127         "dEQP-GLES2.functional.tex",
128         "ture.size.2d.2048x2048_l8");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010292,
131         "dEQP-GLES2.functional.textur",
132         "e.size.2d.2048x2048_l8_mipmap");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010293,
135         "dEQP-GLES2.functional.texture.s",
136         "ize.2d.2048x2048_rgba4444_mipmap");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010294,
139         "dEQP-GLES2.functional.textu",
140         "re.size.2d.2048x2048_rgb888");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010295,
143         "dEQP-GLES2.functional.texture.",
144         "size.2d.2048x2048_rgb888_mipmap");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010296,
147         "dEQP-GLES2.functional.textur",
148         "e.size.2d.2048x2048_rgba8888");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010297,
151         "dEQP-GLES2.functional.texture.s",
152         "ize.2d.2048x2048_rgba8888_mipmap");
153