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 "../ActsDeqpgles310022TestSuite.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(ActsDeqpgles310022TestSuite, TestCase_021794,
27         "dEQP-GLES31.functional.program_interface_query.program_i",
28         "nput.resource_list.interface_blocks.in.unnamed_block.var");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021795,
31         "dEQP-GLES31.functional.program_interface_query.program_inpu",
32         "t.resource_list.interface_blocks.in.unnamed_block.var_struct");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021796,
35         "dEQP-GLES31.functional.program_interface_query.program_inpu",
36         "t.resource_list.interface_blocks.in.unnamed_block.var_array");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021829,
39         "dEQP-GLES31.functional.program_interface_query.program",
40         "_input.array_size.interface_blocks.in.unnamed_block.var");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021830,
43         "dEQP-GLES31.functional.program_interface_query.program_inp",
44         "ut.array_size.interface_blocks.in.unnamed_block.var_struct");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021831,
47         "dEQP-GLES31.functional.program_interface_query.program_in",
48         "put.array_size.interface_blocks.in.unnamed_block.var_array");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021881,
51         "dEQP-GLES31.functional.program_interface_query.progra",
52         "m_input.location.interface_blocks.in.unnamed_block.var");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021882,
55         "dEQP-GLES31.functional.program_interface_query.program_input.l",
56         "ocation.interface_blocks.in.unnamed_block.var_explicit_location");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021883,
59         "dEQP-GLES31.functional.program_interface_query.program_in",
60         "put.location.interface_blocks.in.unnamed_block.var_struct");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021884,
63         "dEQP-GLES31.functional.program_interface_query.program_input.locat",
64         "ion.interface_blocks.in.unnamed_block.var_struct_explicit_location");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021885,
67         "dEQP-GLES31.functional.program_interface_query.program_i",
68         "nput.location.interface_blocks.in.unnamed_block.var_array");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021886,
71         "dEQP-GLES31.functional.program_interface_query.program_input.loca",
72         "tion.interface_blocks.in.unnamed_block.var_array_explicit_location");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021928,
75         "dEQP-GLES31.functional.program_interface_query.program_",
76         "input.name_length.interface_blocks.in.unnamed_block.var");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021929,
79         "dEQP-GLES31.functional.program_interface_query.program_inp",
80         "ut.name_length.interface_blocks.in.unnamed_block.var_struct");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021930,
83         "dEQP-GLES31.functional.program_interface_query.program_inp",
84         "ut.name_length.interface_blocks.in.unnamed_block.var_array");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_022330,
87         "dEQP-GLES31.functional.program_interface_query.program_",
88         "input.is_per_patch.interface_blocks.in.unnamed_block.var");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_022331,
91         "dEQP-GLES31.functional.program_interface_query.program_inpu",
92         "t.is_per_patch.interface_blocks.in.unnamed_block.var_struct");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_022332,
95         "dEQP-GLES31.functional.program_interface_query.program_inp",
96         "ut.is_per_patch.interface_blocks.in.unnamed_block.var_array");
97