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_022372,
27         "dEQP-GLES31.functional.program_interface_query.program_o",
28         "utput.resource_list.interface_blocks.out.named_block.var");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022373,
31         "dEQP-GLES31.functional.program_interface_query.program_outp",
32         "ut.resource_list.interface_blocks.out.named_block.var_struct");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022374,
35         "dEQP-GLES31.functional.program_interface_query.program_outp",
36         "ut.resource_list.interface_blocks.out.named_block.var_array");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022413,
39         "dEQP-GLES31.functional.program_interface_query.program",
40         "_output.array_size.interface_blocks.out.named_block.var");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022414,
43         "dEQP-GLES31.functional.program_interface_query.program_out",
44         "put.array_size.interface_blocks.out.named_block.var_struct");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022415,
47         "dEQP-GLES31.functional.program_interface_query.program_ou",
48         "tput.array_size.interface_blocks.out.named_block.var_array");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022471,
51         "dEQP-GLES31.functional.program_interface_query.progra",
52         "m_output.location.interface_blocks.out.named_block.var");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022472,
55         "dEQP-GLES31.functional.program_interface_query.program_output.",
56         "location.interface_blocks.out.named_block.var_explicit_location");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022473,
59         "dEQP-GLES31.functional.program_interface_query.program_ou",
60         "tput.location.interface_blocks.out.named_block.var_struct");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022474,
63         "dEQP-GLES31.functional.program_interface_query.program_output.loca",
64         "tion.interface_blocks.out.named_block.var_struct_explicit_location");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022475,
67         "dEQP-GLES31.functional.program_interface_query.program_o",
68         "utput.location.interface_blocks.out.named_block.var_array");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022476,
71         "dEQP-GLES31.functional.program_interface_query.program_output.loc",
72         "ation.interface_blocks.out.named_block.var_array_explicit_location");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022530,
75         "dEQP-GLES31.functional.program_interface_query.program_",
76         "output.name_length.interface_blocks.out.named_block.var");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022531,
79         "dEQP-GLES31.functional.program_interface_query.program_out",
80         "put.name_length.interface_blocks.out.named_block.var_struct");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022532,
83         "dEQP-GLES31.functional.program_interface_query.program_out",
84         "put.name_length.interface_blocks.out.named_block.var_array");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022948,
87         "dEQP-GLES31.functional.program_interface_query.program_",
88         "output.is_per_patch.interface_blocks.out.named_block.var");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022949,
91         "dEQP-GLES31.functional.program_interface_query.program_outp",
92         "ut.is_per_patch.interface_blocks.out.named_block.var_struct");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310023TestSuite, TestCase_022950,
95         "dEQP-GLES31.functional.program_interface_query.program_out",
96         "put.is_per_patch.interface_blocks.out.named_block.var_array");
97