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_010759,
27         "dEQP-GLES2.functional.texture.spec",
28         "ification.basic_texsubimage2d.a8_2d");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010760,
31         "dEQP-GLES2.functional.texture.speci",
32         "fication.basic_texsubimage2d.a8_cube");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010761,
35         "dEQP-GLES2.functional.texture.spec",
36         "ification.basic_texsubimage2d.l8_2d");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010762,
39         "dEQP-GLES2.functional.texture.speci",
40         "fication.basic_texsubimage2d.l8_cube");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010763,
43         "dEQP-GLES2.functional.texture.speci",
44         "fication.basic_texsubimage2d.la88_2d");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010764,
47         "dEQP-GLES2.functional.texture.specif",
48         "ication.basic_texsubimage2d.la88_cube");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010765,
51         "dEQP-GLES2.functional.texture.specif",
52         "ication.basic_texsubimage2d.rgb565_2d");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010766,
55         "dEQP-GLES2.functional.texture.specifi",
56         "cation.basic_texsubimage2d.rgb565_cube");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010767,
59         "dEQP-GLES2.functional.texture.specif",
60         "ication.basic_texsubimage2d.rgb888_2d");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010768,
63         "dEQP-GLES2.functional.texture.specifi",
64         "cation.basic_texsubimage2d.rgb888_cube");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010769,
67         "dEQP-GLES2.functional.texture.specifi",
68         "cation.basic_texsubimage2d.rgba4444_2d");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010770,
71         "dEQP-GLES2.functional.texture.specific",
72         "ation.basic_texsubimage2d.rgba4444_cube");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010771,
75         "dEQP-GLES2.functional.texture.specifi",
76         "cation.basic_texsubimage2d.rgba5551_2d");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010772,
79         "dEQP-GLES2.functional.texture.specific",
80         "ation.basic_texsubimage2d.rgba5551_cube");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010773,
83         "dEQP-GLES2.functional.texture.specifi",
84         "cation.basic_texsubimage2d.rgba8888_2d");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010774,
87         "dEQP-GLES2.functional.texture.specific",
88         "ation.basic_texsubimage2d.rgba8888_cube");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010775,
91         "dEQP-GLES2.functional.texture.specifi",
92         "cation.basic_texsubimage2d.rgba16f_2d");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010776,
95         "dEQP-GLES2.functional.texture.specific",
96         "ation.basic_texsubimage2d.rgba16f_cube");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010777,
99         "dEQP-GLES2.functional.texture.specif",
100         "ication.basic_texsubimage2d.rgb16f_2d");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010778,
103         "dEQP-GLES2.functional.texture.specifi",
104         "cation.basic_texsubimage2d.rgb16f_cube");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010779,
107         "dEQP-GLES2.functional.texture.specif",
108         "ication.basic_texsubimage2d.la16f_2d");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010780,
111         "dEQP-GLES2.functional.texture.specifi",
112         "cation.basic_texsubimage2d.la16f_cube");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010781,
115         "dEQP-GLES2.functional.texture.speci",
116         "fication.basic_texsubimage2d.l16f_2d");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010782,
119         "dEQP-GLES2.functional.texture.specif",
120         "ication.basic_texsubimage2d.l16f_cube");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010783,
123         "dEQP-GLES2.functional.texture.speci",
124         "fication.basic_texsubimage2d.a16f_2d");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles20011TestSuite, TestCase_010784,
127         "dEQP-GLES2.functional.texture.specif",
128         "ication.basic_texsubimage2d.a16f_cube");
129