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 "../ActsDeqpgles30024TestSuite.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(ActsDeqpgles30024TestSuite, TestCase_023779,
27         "dEQP-GLES3.functional.texture.wrap.astc_",
28         "10x10_srgb.clamp_clamp_nearest_divisible");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023780,
31         "dEQP-GLES3.functional.texture.wrap.astc",
32         "_10x10_srgb.clamp_clamp_linear_divisible");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023781,
35         "dEQP-GLES3.functional.texture.wrap.astc_",
36         "10x10_srgb.clamp_repeat_nearest_divisible");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023782,
39         "dEQP-GLES3.functional.texture.wrap.astc_",
40         "10x10_srgb.clamp_repeat_linear_divisible");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023783,
43         "dEQP-GLES3.functional.texture.wrap.astc_",
44         "10x10_srgb.clamp_mirror_nearest_divisible");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023784,
47         "dEQP-GLES3.functional.texture.wrap.astc_",
48         "10x10_srgb.clamp_mirror_linear_divisible");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023785,
51         "dEQP-GLES3.functional.texture.wrap.astc_",
52         "10x10_srgb.repeat_clamp_nearest_divisible");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023786,
55         "dEQP-GLES3.functional.texture.wrap.astc_",
56         "10x10_srgb.repeat_clamp_linear_divisible");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023787,
59         "dEQP-GLES3.functional.texture.wrap.astc_1",
60         "0x10_srgb.repeat_repeat_nearest_divisible");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023788,
63         "dEQP-GLES3.functional.texture.wrap.astc_",
64         "10x10_srgb.repeat_repeat_linear_divisible");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023789,
67         "dEQP-GLES3.functional.texture.wrap.astc_1",
68         "0x10_srgb.repeat_mirror_nearest_divisible");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023790,
71         "dEQP-GLES3.functional.texture.wrap.astc_",
72         "10x10_srgb.repeat_mirror_linear_divisible");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023791,
75         "dEQP-GLES3.functional.texture.wrap.astc_",
76         "10x10_srgb.mirror_clamp_nearest_divisible");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023792,
79         "dEQP-GLES3.functional.texture.wrap.astc_",
80         "10x10_srgb.mirror_clamp_linear_divisible");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023793,
83         "dEQP-GLES3.functional.texture.wrap.astc_1",
84         "0x10_srgb.mirror_repeat_nearest_divisible");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023794,
87         "dEQP-GLES3.functional.texture.wrap.astc_",
88         "10x10_srgb.mirror_repeat_linear_divisible");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023795,
91         "dEQP-GLES3.functional.texture.wrap.astc_1",
92         "0x10_srgb.mirror_mirror_nearest_divisible");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023796,
95         "dEQP-GLES3.functional.texture.wrap.astc_",
96         "10x10_srgb.mirror_mirror_linear_divisible");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023797,
99         "dEQP-GLES3.functional.texture.wrap.astc_10",
100         "x10_srgb.clamp_clamp_nearest_not_divisible");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023798,
103         "dEQP-GLES3.functional.texture.wrap.astc_1",
104         "0x10_srgb.clamp_clamp_linear_not_divisible");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023799,
107         "dEQP-GLES3.functional.texture.wrap.astc_10",
108         "x10_srgb.clamp_repeat_nearest_not_divisible");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023800,
111         "dEQP-GLES3.functional.texture.wrap.astc_10",
112         "x10_srgb.clamp_repeat_linear_not_divisible");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023801,
115         "dEQP-GLES3.functional.texture.wrap.astc_10",
116         "x10_srgb.clamp_mirror_nearest_not_divisible");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023802,
119         "dEQP-GLES3.functional.texture.wrap.astc_10",
120         "x10_srgb.clamp_mirror_linear_not_divisible");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023803,
123         "dEQP-GLES3.functional.texture.wrap.astc_10",
124         "x10_srgb.repeat_clamp_nearest_not_divisible");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023804,
127         "dEQP-GLES3.functional.texture.wrap.astc_10",
128         "x10_srgb.repeat_clamp_linear_not_divisible");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023805,
131         "dEQP-GLES3.functional.texture.wrap.astc_10x",
132         "10_srgb.repeat_repeat_nearest_not_divisible");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023806,
135         "dEQP-GLES3.functional.texture.wrap.astc_10",
136         "x10_srgb.repeat_repeat_linear_not_divisible");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023807,
139         "dEQP-GLES3.functional.texture.wrap.astc_10x",
140         "10_srgb.repeat_mirror_nearest_not_divisible");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023808,
143         "dEQP-GLES3.functional.texture.wrap.astc_10",
144         "x10_srgb.repeat_mirror_linear_not_divisible");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023809,
147         "dEQP-GLES3.functional.texture.wrap.astc_10",
148         "x10_srgb.mirror_clamp_nearest_not_divisible");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023810,
151         "dEQP-GLES3.functional.texture.wrap.astc_10",
152         "x10_srgb.mirror_clamp_linear_not_divisible");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023811,
155         "dEQP-GLES3.functional.texture.wrap.astc_10x",
156         "10_srgb.mirror_repeat_nearest_not_divisible");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023812,
159         "dEQP-GLES3.functional.texture.wrap.astc_10",
160         "x10_srgb.mirror_repeat_linear_not_divisible");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023813,
163         "dEQP-GLES3.functional.texture.wrap.astc_10x",
164         "10_srgb.mirror_mirror_nearest_not_divisible");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023814,
167         "dEQP-GLES3.functional.texture.wrap.astc_10",
168         "x10_srgb.mirror_mirror_linear_not_divisible");
169