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_021800,
27         "dEQP-GLES31.functional.program_interface_query.program_inp",
28         "ut.resource_list.interface_blocks.patch_in.named_block.var");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021801,
31         "dEQP-GLES31.functional.program_interface_query.program_input.",
32         "resource_list.interface_blocks.patch_in.named_block.var_struct");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021802,
35         "dEQP-GLES31.functional.program_interface_query.program_input.",
36         "resource_list.interface_blocks.patch_in.named_block.var_array");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021835,
39         "dEQP-GLES31.functional.program_interface_query.program_i",
40         "nput.array_size.interface_blocks.patch_in.named_block.var");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021836,
43         "dEQP-GLES31.functional.program_interface_query.program_input",
44         ".array_size.interface_blocks.patch_in.named_block.var_struct");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021837,
47         "dEQP-GLES31.functional.program_interface_query.program_inpu",
48         "t.array_size.interface_blocks.patch_in.named_block.var_array");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021890,
51         "dEQP-GLES31.functional.program_interface_query.program_",
52         "input.location.interface_blocks.patch_in.named_block.var");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021891,
55         "dEQP-GLES31.functional.program_interface_query.program_input.loc",
56         "ation.interface_blocks.patch_in.named_block.var_explicit_location");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021892,
59         "dEQP-GLES31.functional.program_interface_query.program_inpu",
60         "t.location.interface_blocks.patch_in.named_block.var_struct");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021893,
63         "dEQP-GLES31.functional.program_interface_query.program_input.locatio",
64         "n.interface_blocks.patch_in.named_block.var_struct_explicit_location");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021894,
67         "dEQP-GLES31.functional.program_interface_query.program_inp",
68         "ut.location.interface_blocks.patch_in.named_block.var_array");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021895,
71         "dEQP-GLES31.functional.program_interface_query.program_input.locati",
72         "on.interface_blocks.patch_in.named_block.var_array_explicit_location");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021934,
75         "dEQP-GLES31.functional.program_interface_query.program_in",
76         "put.name_length.interface_blocks.patch_in.named_block.var");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021935,
79         "dEQP-GLES31.functional.program_interface_query.program_input",
80         ".name_length.interface_blocks.patch_in.named_block.var_struct");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_021936,
83         "dEQP-GLES31.functional.program_interface_query.program_input",
84         ".name_length.interface_blocks.patch_in.named_block.var_array");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_022336,
87         "dEQP-GLES31.functional.program_interface_query.program_in",
88         "put.is_per_patch.interface_blocks.patch_in.named_block.var");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_022337,
91         "dEQP-GLES31.functional.program_interface_query.program_input.",
92         "is_per_patch.interface_blocks.patch_in.named_block.var_struct");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310022TestSuite, TestCase_022338,
95         "dEQP-GLES31.functional.program_interface_query.program_input",
96         ".is_per_patch.interface_blocks.patch_in.named_block.var_array");
97