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_022807,
27         "dEQP-GLES3.functional.texture.wrap.e",
28         "tc2_eac_rgba8.clamp_clamp_nearest_pot");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022808,
31         "dEQP-GLES3.functional.texture.wrap.e",
32         "tc2_eac_rgba8.clamp_clamp_linear_pot");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022809,
35         "dEQP-GLES3.functional.texture.wrap.et",
36         "c2_eac_rgba8.clamp_repeat_nearest_pot");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022810,
39         "dEQP-GLES3.functional.texture.wrap.e",
40         "tc2_eac_rgba8.clamp_repeat_linear_pot");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022811,
43         "dEQP-GLES3.functional.texture.wrap.et",
44         "c2_eac_rgba8.clamp_mirror_nearest_pot");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022812,
47         "dEQP-GLES3.functional.texture.wrap.e",
48         "tc2_eac_rgba8.clamp_mirror_linear_pot");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022813,
51         "dEQP-GLES3.functional.texture.wrap.et",
52         "c2_eac_rgba8.repeat_clamp_nearest_pot");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022814,
55         "dEQP-GLES3.functional.texture.wrap.e",
56         "tc2_eac_rgba8.repeat_clamp_linear_pot");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022815,
59         "dEQP-GLES3.functional.texture.wrap.et",
60         "c2_eac_rgba8.repeat_repeat_nearest_pot");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022816,
63         "dEQP-GLES3.functional.texture.wrap.et",
64         "c2_eac_rgba8.repeat_repeat_linear_pot");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022817,
67         "dEQP-GLES3.functional.texture.wrap.et",
68         "c2_eac_rgba8.repeat_mirror_nearest_pot");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022818,
71         "dEQP-GLES3.functional.texture.wrap.et",
72         "c2_eac_rgba8.repeat_mirror_linear_pot");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022819,
75         "dEQP-GLES3.functional.texture.wrap.et",
76         "c2_eac_rgba8.mirror_clamp_nearest_pot");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022820,
79         "dEQP-GLES3.functional.texture.wrap.e",
80         "tc2_eac_rgba8.mirror_clamp_linear_pot");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022821,
83         "dEQP-GLES3.functional.texture.wrap.et",
84         "c2_eac_rgba8.mirror_repeat_nearest_pot");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022822,
87         "dEQP-GLES3.functional.texture.wrap.et",
88         "c2_eac_rgba8.mirror_repeat_linear_pot");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022823,
91         "dEQP-GLES3.functional.texture.wrap.et",
92         "c2_eac_rgba8.mirror_mirror_nearest_pot");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022824,
95         "dEQP-GLES3.functional.texture.wrap.et",
96         "c2_eac_rgba8.mirror_mirror_linear_pot");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022825,
99         "dEQP-GLES3.functional.texture.wrap.et",
100         "c2_eac_rgba8.clamp_clamp_nearest_npot");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022826,
103         "dEQP-GLES3.functional.texture.wrap.e",
104         "tc2_eac_rgba8.clamp_clamp_linear_npot");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022827,
107         "dEQP-GLES3.functional.texture.wrap.et",
108         "c2_eac_rgba8.clamp_repeat_nearest_npot");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022828,
111         "dEQP-GLES3.functional.texture.wrap.et",
112         "c2_eac_rgba8.clamp_repeat_linear_npot");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022829,
115         "dEQP-GLES3.functional.texture.wrap.et",
116         "c2_eac_rgba8.clamp_mirror_nearest_npot");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022830,
119         "dEQP-GLES3.functional.texture.wrap.et",
120         "c2_eac_rgba8.clamp_mirror_linear_npot");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022831,
123         "dEQP-GLES3.functional.texture.wrap.et",
124         "c2_eac_rgba8.repeat_clamp_nearest_npot");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022832,
127         "dEQP-GLES3.functional.texture.wrap.et",
128         "c2_eac_rgba8.repeat_clamp_linear_npot");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022833,
131         "dEQP-GLES3.functional.texture.wrap.etc",
132         "2_eac_rgba8.repeat_repeat_nearest_npot");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022834,
135         "dEQP-GLES3.functional.texture.wrap.et",
136         "c2_eac_rgba8.repeat_repeat_linear_npot");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022835,
139         "dEQP-GLES3.functional.texture.wrap.etc",
140         "2_eac_rgba8.repeat_mirror_nearest_npot");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022836,
143         "dEQP-GLES3.functional.texture.wrap.et",
144         "c2_eac_rgba8.repeat_mirror_linear_npot");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022837,
147         "dEQP-GLES3.functional.texture.wrap.et",
148         "c2_eac_rgba8.mirror_clamp_nearest_npot");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022838,
151         "dEQP-GLES3.functional.texture.wrap.et",
152         "c2_eac_rgba8.mirror_clamp_linear_npot");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022839,
155         "dEQP-GLES3.functional.texture.wrap.etc",
156         "2_eac_rgba8.mirror_repeat_nearest_npot");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022840,
159         "dEQP-GLES3.functional.texture.wrap.et",
160         "c2_eac_rgba8.mirror_repeat_linear_npot");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022841,
163         "dEQP-GLES3.functional.texture.wrap.etc",
164         "2_eac_rgba8.mirror_mirror_nearest_npot");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022842,
167         "dEQP-GLES3.functional.texture.wrap.et",
168         "c2_eac_rgba8.mirror_mirror_linear_npot");
169