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_022378,
27         "dEQP-GLES31.functional.program_interface_query.program_ou",
28         "tput.resource_list.interface_blocks.out.unnamed_block.var");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022379,
31         "dEQP-GLES31.functional.program_interface_query.program_outpu",
32         "t.resource_list.interface_blocks.out.unnamed_block.var_struct");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022380,
35         "dEQP-GLES31.functional.program_interface_query.program_outpu",
36         "t.resource_list.interface_blocks.out.unnamed_block.var_array");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022419,
39         "dEQP-GLES31.functional.program_interface_query.program_",
40         "output.array_size.interface_blocks.out.unnamed_block.var");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022420,
43         "dEQP-GLES31.functional.program_interface_query.program_outp",
44         "ut.array_size.interface_blocks.out.unnamed_block.var_struct");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022421,
47         "dEQP-GLES31.functional.program_interface_query.program_out",
48         "put.array_size.interface_blocks.out.unnamed_block.var_array");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022483,
51         "dEQP-GLES31.functional.program_interface_query.program",
52         "_output.location.interface_blocks.out.unnamed_block.var");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022484,
55         "dEQP-GLES31.functional.program_interface_query.program_output.l",
56         "ocation.interface_blocks.out.unnamed_block.var_explicit_location");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022485,
59         "dEQP-GLES31.functional.program_interface_query.program_out",
60         "put.location.interface_blocks.out.unnamed_block.var_struct");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022486,
63         "dEQP-GLES31.functional.program_interface_query.program_output.locat",
64         "ion.interface_blocks.out.unnamed_block.var_struct_explicit_location");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022487,
67         "dEQP-GLES31.functional.program_interface_query.program_ou",
68         "tput.location.interface_blocks.out.unnamed_block.var_array");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022488,
71         "dEQP-GLES31.functional.program_interface_query.program_output.loca",
72         "tion.interface_blocks.out.unnamed_block.var_array_explicit_location");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022536,
75         "dEQP-GLES31.functional.program_interface_query.program_o",
76         "utput.name_length.interface_blocks.out.unnamed_block.var");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022537,
79         "dEQP-GLES31.functional.program_interface_query.program_outp",
80         "ut.name_length.interface_blocks.out.unnamed_block.var_struct");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022538,
83         "dEQP-GLES31.functional.program_interface_query.program_outp",
84         "ut.name_length.interface_blocks.out.unnamed_block.var_array");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022954,
87         "dEQP-GLES31.functional.program_interface_query.program_o",
88         "utput.is_per_patch.interface_blocks.out.unnamed_block.var");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022955,
91         "dEQP-GLES31.functional.program_interface_query.program_outpu",
92         "t.is_per_patch.interface_blocks.out.unnamed_block.var_struct");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022956,
95         "dEQP-GLES31.functional.program_interface_query.program_outp",
96         "ut.is_per_patch.interface_blocks.out.unnamed_block.var_array");
97