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 "../ActsDeqpgles310023TestSuite.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(ActsDeqpgles310023TestSuite, TestCase_022384,
27         "dEQP-GLES31.functional.program_interface_query.program_outp",
28         "ut.resource_list.interface_blocks.patch_out.named_block.var");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022385,
31         "dEQP-GLES31.functional.program_interface_query.program_output.",
32         "resource_list.interface_blocks.patch_out.named_block.var_struct");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022386,
35         "dEQP-GLES31.functional.program_interface_query.program_output.",
36         "resource_list.interface_blocks.patch_out.named_block.var_array");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022425,
39         "dEQP-GLES31.functional.program_interface_query.program_ou",
40         "tput.array_size.interface_blocks.patch_out.named_block.var");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022426,
43         "dEQP-GLES31.functional.program_interface_query.program_output",
44         ".array_size.interface_blocks.patch_out.named_block.var_struct");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022427,
47         "dEQP-GLES31.functional.program_interface_query.program_outpu",
48         "t.array_size.interface_blocks.patch_out.named_block.var_array");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022492,
51         "dEQP-GLES31.functional.program_interface_query.program_o",
52         "utput.location.interface_blocks.patch_out.named_block.var");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022493,
55         "dEQP-GLES31.functional.program_interface_query.program_output.loc",
56         "ation.interface_blocks.patch_out.named_block.var_explicit_location");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022494,
59         "dEQP-GLES31.functional.program_interface_query.program_outpu",
60         "t.location.interface_blocks.patch_out.named_block.var_struct");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022495,
63         "dEQP-GLES31.functional.program_interface_query.program_output.locatio",
64         "n.interface_blocks.patch_out.named_block.var_struct_explicit_location");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022496,
67         "dEQP-GLES31.functional.program_interface_query.program_outp",
68         "ut.location.interface_blocks.patch_out.named_block.var_array");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022497,
71         "dEQP-GLES31.functional.program_interface_query.program_output.locati",
72         "on.interface_blocks.patch_out.named_block.var_array_explicit_location");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022542,
75         "dEQP-GLES31.functional.program_interface_query.program_out",
76         "put.name_length.interface_blocks.patch_out.named_block.var");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022543,
79         "dEQP-GLES31.functional.program_interface_query.program_output",
80         ".name_length.interface_blocks.patch_out.named_block.var_struct");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022544,
83         "dEQP-GLES31.functional.program_interface_query.program_output",
84         ".name_length.interface_blocks.patch_out.named_block.var_array");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022960,
87         "dEQP-GLES31.functional.program_interface_query.program_out",
88         "put.is_per_patch.interface_blocks.patch_out.named_block.var");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022961,
91         "dEQP-GLES31.functional.program_interface_query.program_output.",
92         "is_per_patch.interface_blocks.patch_out.named_block.var_struct");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022962,
95         "dEQP-GLES31.functional.program_interface_query.program_output",
96         ".is_per_patch.interface_blocks.patch_out.named_block.var_array");
97