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 "../Deqpgles31BaseFunc.h"
19 #include "../ActsDeqpgles310017TestSuite.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(ActsDeqpgles310017TestSuite, TestCase_016150,
27         "dEQP-GLES31.functional.state_query.pr",
28         "ogram.program_separable_get_programiv");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016151,
31         "dEQP-GLES31.functional.state_query.progr",
32         "am.compute_work_group_size_get_programiv");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016152,
35         "dEQP-GLES31.functional.state_query.program.",
36         "active_atomic_counter_buffers_get_programiv");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016153,
39         "dEQP-GLES31.functional.state_query.prog",
40         "ram.geometry_shader_state_get_programiv");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016154,
43         "dEQP-GLES31.functional.state_query.progr",
44         "am.tesselation_shader_state_get_programiv");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016155,
47         "dEQP-GLES31.functional.state_query.pro",
48         "gram.info_log_vertex_fragment_link_fail");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016156,
51         "dEQP-GLES31.functional.state_query",
52         ".program.info_log_compute_link_fail");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016157,
55         "dEQP-GLES31.functional.state_query.",
56         "program.info_log_geometry_link_fail");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310017TestSuite, TestCase_016158,
59         "dEQP-GLES31.functional.state_query.pr",
60         "ogram.info_log_tessellation_link_fail");
61