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 "../Deqpgles3BaseFunc.h"
19 #include "../ActsDeqpgles30002TestSuite.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(ActsDeqpgles30002TestSuite, TestCase_001082,
27         "dEQP-GLES3.functional.shaders.prepr",
28         "ocessor.conditionals.ifdef_1_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001083,
31         "dEQP-GLES3.functional.shaders.prepro",
32         "cessor.conditionals.ifdef_1_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001084,
35         "dEQP-GLES3.functional.shaders.prepr",
36         "ocessor.conditionals.ifdef_2_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001085,
39         "dEQP-GLES3.functional.shaders.prepro",
40         "cessor.conditionals.ifdef_2_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001086,
43         "dEQP-GLES3.functional.shaders.prepr",
44         "ocessor.conditionals.ifdef_3_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001087,
47         "dEQP-GLES3.functional.shaders.prepro",
48         "cessor.conditionals.ifdef_3_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001088,
51         "dEQP-GLES3.functional.shaders.prepr",
52         "ocessor.conditionals.ifndef_1_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001089,
55         "dEQP-GLES3.functional.shaders.prepro",
56         "cessor.conditionals.ifndef_1_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001090,
59         "dEQP-GLES3.functional.shaders.prepr",
60         "ocessor.conditionals.ifndef_2_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001091,
63         "dEQP-GLES3.functional.shaders.prepro",
64         "cessor.conditionals.ifndef_2_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001092,
67         "dEQP-GLES3.functional.shaders.preprocessor.co",
68         "nditionals.mixed_conditional_inclusion_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001093,
71         "dEQP-GLES3.functional.shaders.preprocessor.con",
72         "ditionals.mixed_conditional_inclusion_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001094,
75         "dEQP-GLES3.functional.shaders.preproc",
76         "essor.conditionals.nested_if_1_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001095,
79         "dEQP-GLES3.functional.shaders.preproce",
80         "ssor.conditionals.nested_if_1_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001096,
83         "dEQP-GLES3.functional.shaders.preproc",
84         "essor.conditionals.nested_if_2_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001097,
87         "dEQP-GLES3.functional.shaders.preproce",
88         "ssor.conditionals.nested_if_2_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001098,
91         "dEQP-GLES3.functional.shaders.preproc",
92         "essor.conditionals.nested_if_3_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30002TestSuite, TestCase_001099,
95         "dEQP-GLES3.functional.shaders.preproce",
96         "ssor.conditionals.nested_if_3_fragment");
97