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_010785,
27         "dEQP-GLES2.functional.texture.specif",
28         "ication.texsubimage2d_empty_tex.a8_2d");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010786,
31         "dEQP-GLES2.functional.texture.specifi",
32         "cation.texsubimage2d_empty_tex.a8_cube");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010787,
35         "dEQP-GLES2.functional.texture.specif",
36         "ication.texsubimage2d_empty_tex.l8_2d");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010788,
39         "dEQP-GLES2.functional.texture.specifi",
40         "cation.texsubimage2d_empty_tex.l8_cube");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010789,
43         "dEQP-GLES2.functional.texture.specifi",
44         "cation.texsubimage2d_empty_tex.la88_2d");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010790,
47         "dEQP-GLES2.functional.texture.specific",
48         "ation.texsubimage2d_empty_tex.la88_cube");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010791,
51         "dEQP-GLES2.functional.texture.specific",
52         "ation.texsubimage2d_empty_tex.rgb565_2d");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010792,
55         "dEQP-GLES2.functional.texture.specifica",
56         "tion.texsubimage2d_empty_tex.rgb565_cube");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010793,
59         "dEQP-GLES2.functional.texture.specific",
60         "ation.texsubimage2d_empty_tex.rgb888_2d");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010794,
63         "dEQP-GLES2.functional.texture.specifica",
64         "tion.texsubimage2d_empty_tex.rgb888_cube");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010795,
67         "dEQP-GLES2.functional.texture.specifica",
68         "tion.texsubimage2d_empty_tex.rgba4444_2d");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010796,
71         "dEQP-GLES2.functional.texture.specificat",
72         "ion.texsubimage2d_empty_tex.rgba4444_cube");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010797,
75         "dEQP-GLES2.functional.texture.specifica",
76         "tion.texsubimage2d_empty_tex.rgba5551_2d");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010798,
79         "dEQP-GLES2.functional.texture.specificat",
80         "ion.texsubimage2d_empty_tex.rgba5551_cube");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010799,
83         "dEQP-GLES2.functional.texture.specifica",
84         "tion.texsubimage2d_empty_tex.rgba8888_2d");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010800,
87         "dEQP-GLES2.functional.texture.specificat",
88         "ion.texsubimage2d_empty_tex.rgba8888_cube");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010801,
91         "dEQP-GLES2.functional.texture.specifica",
92         "tion.texsubimage2d_empty_tex.rgba16f_2d");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010802,
95         "dEQP-GLES2.functional.texture.specificat",
96         "ion.texsubimage2d_empty_tex.rgba16f_cube");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010803,
99         "dEQP-GLES2.functional.texture.specific",
100         "ation.texsubimage2d_empty_tex.rgb16f_2d");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010804,
103         "dEQP-GLES2.functional.texture.specifica",
104         "tion.texsubimage2d_empty_tex.rgb16f_cube");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010805,
107         "dEQP-GLES2.functional.texture.specific",
108         "ation.texsubimage2d_empty_tex.la16f_2d");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010806,
111         "dEQP-GLES2.functional.texture.specifica",
112         "tion.texsubimage2d_empty_tex.la16f_cube");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010807,
115         "dEQP-GLES2.functional.texture.specifi",
116         "cation.texsubimage2d_empty_tex.l16f_2d");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010808,
119         "dEQP-GLES2.functional.texture.specific",
120         "ation.texsubimage2d_empty_tex.l16f_cube");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010809,
123         "dEQP-GLES2.functional.texture.specifi",
124         "cation.texsubimage2d_empty_tex.a16f_2d");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010810,
127         "dEQP-GLES2.functional.texture.specific",
128         "ation.texsubimage2d_empty_tex.a16f_cube");
129