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 "../ActsDeqpgles310021TestSuite.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(ActsDeqpgles310021TestSuite, TestCase_020542,
27         "dEQP-GLES31.functional.program_interface_query.",
28         "uniform.location.default_block.array.array.float");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310021TestSuite, TestCase_020543,
31         "dEQP-GLES31.functional.program_interface_query",
32         ".uniform.location.default_block.array.array.int");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310021TestSuite, TestCase_020544,
35         "dEQP-GLES31.functional.program_interface_query.",
36         "uniform.location.default_block.array.array.uint");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310021TestSuite, TestCase_020545,
39         "dEQP-GLES31.functional.program_interface_query.",
40         "uniform.location.default_block.array.array.bool");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310021TestSuite, TestCase_020546,
43         "dEQP-GLES31.functional.program_interface_query.",
44         "uniform.location.default_block.array.array.vec3");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310021TestSuite, TestCase_020547,
47         "dEQP-GLES31.functional.program_interface_query.",
48         "uniform.location.default_block.array.array.vec4");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310021TestSuite, TestCase_020548,
51         "dEQP-GLES31.functional.program_interface_query.uni",
52         "form.location.default_block.array.array.sampler_2d");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310021TestSuite, TestCase_020549,
55         "dEQP-GLES31.functional.program_interface_query.unifor",
56         "m.location.default_block.array.array.sampler_2d_array");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310021TestSuite, TestCase_020550,
59         "dEQP-GLES31.functional.program_interface_query.uni",
60         "form.location.default_block.array.array.sampler_3d");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310021TestSuite, TestCase_020551,
63         "dEQP-GLES31.functional.program_interface_query.uni",
64         "form.location.default_block.array.array.isampler_2d");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310021TestSuite, TestCase_020552,
67         "dEQP-GLES31.functional.program_interface_query.un",
68         "iform.location.default_block.array.array.image_2d");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310021TestSuite, TestCase_020553,
71         "dEQP-GLES31.functional.program_interface_query.unifo",
72         "rm.location.default_block.array.array.iimage_2d_array");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310021TestSuite, TestCase_020554,
75         "dEQP-GLES31.functional.program_interface_query.uni",
76         "form.location.default_block.array.array.atomic_uint");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310021TestSuite, TestCase_024585,
79         "dEQP-GLES31.functional.program_interface_quer",
80         "y.buffer_variable.type.array.array.array.float");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310021TestSuite, TestCase_024615,
83         "dEQP-GLES31.functional.program_interface_query",
84         ".buffer_variable.type.struct.array.array.float");
85