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 "../ActsDeqpgles20014TestSuite.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(ActsDeqpgles20014TestSuite, TestCase_013698,
27         "dEQP-GLES2.functional.n",
28         "egative_api.state.enable");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013699,
31         "dEQP-GLES2.functional.ne",
32         "gative_api.state.disable");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013700,
35         "dEQP-GLES2.functional.nega",
36         "tive_api.state.get_booleanv");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013701,
39         "dEQP-GLES2.functional.neg",
40         "ative_api.state.get_floatv");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013702,
43         "dEQP-GLES2.functional.nega",
44         "tive_api.state.get_integerv");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013703,
47         "dEQP-GLES2.functional.neg",
48         "ative_api.state.get_string");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013704,
51         "dEQP-GLES2.functional.negative",
52         "_api.state.get_attached_shaders");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013705,
55         "dEQP-GLES2.functional.nega",
56         "tive_api.state.get_shaderiv");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013706,
59         "dEQP-GLES2.functional.negative",
60         "_api.state.get_shader_info_log");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013707,
63         "dEQP-GLES2.functional.negative_api",
64         ".state.get_shader_precision_format");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013708,
67         "dEQP-GLES2.functional.negativ",
68         "e_api.state.get_shader_source");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013709,
71         "dEQP-GLES2.functional.negat",
72         "ive_api.state.get_programiv");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013710,
75         "dEQP-GLES2.functional.negative",
76         "_api.state.get_program_info_log");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013711,
79         "dEQP-GLES2.functional.negative",
80         "_api.state.get_tex_parameterfv");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013712,
83         "dEQP-GLES2.functional.negative",
84         "_api.state.get_tex_parameteriv");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013713,
87         "dEQP-GLES2.functional.negat",
88         "ive_api.state.get_uniformfv");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013714,
91         "dEQP-GLES2.functional.negat",
92         "ive_api.state.get_uniformiv");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013715,
95         "dEQP-GLES2.functional.negative",
96         "_api.state.get_vertex_attribfv");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013716,
99         "dEQP-GLES2.functional.negative",
100         "_api.state.get_vertex_attribiv");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013717,
103         "dEQP-GLES2.functional.negative_ap",
104         "i.state.get_vertex_attrib_pointerv");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013718,
107         "dEQP-GLES2.functional.negative_",
108         "api.state.get_buffer_parameteriv");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013719,
111         "dEQP-GLES2.functional.negative_api.stat",
112         "e.get_framebuffer_attachment_parameteriv");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013720,
115         "dEQP-GLES2.functional.negative_api",
116         ".state.get_renderbuffer_parameteriv");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013721,
119         "dEQP-GLES2.functional.negat",
120         "ive_api.state.get_is_enabled");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013722,
123         "dEQP-GLES2.functional.",
124         "negative_api.state.hint");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013723,
127         "dEQP-GLES2.functional.neg",
128         "ative_api.state.is_buffer");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013724,
131         "dEQP-GLES2.functional.negat",
132         "ive_api.state.is_framebuffer");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013725,
135         "dEQP-GLES2.functional.neg",
136         "ative_api.state.is_program");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013726,
139         "dEQP-GLES2.functional.negati",
140         "ve_api.state.is_renderbuffer");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013727,
143         "dEQP-GLES2.functional.neg",
144         "ative_api.state.is_shader");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013728,
147         "dEQP-GLES2.functional.neg",
148         "ative_api.state.is_texture");
149