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 "../Deqpgles2BaseFunc.h"
19 #include "../ActsDeqpgles20001TestSuite.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(ActsDeqpgles20001TestSuite, TestCase_000319,
27         "dEQP-GLES2.functional.shaders.preprocessor.undefin",
28         "ed_identifiers.valid_undefined_identifier_1_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000320,
31         "dEQP-GLES2.functional.shaders.preprocessor.undefine",
32         "d_identifiers.valid_undefined_identifier_1_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000321,
35         "dEQP-GLES2.functional.shaders.preprocessor.undefin",
36         "ed_identifiers.valid_undefined_identifier_2_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000322,
39         "dEQP-GLES2.functional.shaders.preprocessor.undefine",
40         "d_identifiers.valid_undefined_identifier_2_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000323,
43         "dEQP-GLES2.functional.shaders.preprocessor.unde",
44         "fined_identifiers.undefined_identifier_1_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000324,
47         "dEQP-GLES2.functional.shaders.preprocessor.undef",
48         "ined_identifiers.undefined_identifier_1_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000325,
51         "dEQP-GLES2.functional.shaders.preprocessor.unde",
52         "fined_identifiers.undefined_identifier_2_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000326,
55         "dEQP-GLES2.functional.shaders.preprocessor.undef",
56         "ined_identifiers.undefined_identifier_2_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000327,
59         "dEQP-GLES2.functional.shaders.preprocessor.unde",
60         "fined_identifiers.undefined_identifier_3_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000328,
63         "dEQP-GLES2.functional.shaders.preprocessor.undef",
64         "ined_identifiers.undefined_identifier_3_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000329,
67         "dEQP-GLES2.functional.shaders.preprocessor.unde",
68         "fined_identifiers.undefined_identifier_4_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000330,
71         "dEQP-GLES2.functional.shaders.preprocessor.undef",
72         "ined_identifiers.undefined_identifier_4_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000331,
75         "dEQP-GLES2.functional.shaders.preprocessor.unde",
76         "fined_identifiers.undefined_identifier_5_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000332,
79         "dEQP-GLES2.functional.shaders.preprocessor.undef",
80         "ined_identifiers.undefined_identifier_5_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000333,
83         "dEQP-GLES2.functional.shaders.preprocessor.unde",
84         "fined_identifiers.undefined_identifier_6_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000334,
87         "dEQP-GLES2.functional.shaders.preprocessor.undef",
88         "ined_identifiers.undefined_identifier_6_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000335,
91         "dEQP-GLES2.functional.shaders.preprocessor.unde",
92         "fined_identifiers.undefined_identifier_7_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000336,
95         "dEQP-GLES2.functional.shaders.preprocessor.undef",
96         "ined_identifiers.undefined_identifier_7_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000337,
99         "dEQP-GLES2.functional.shaders.preprocessor.unde",
100         "fined_identifiers.undefined_identifier_8_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000338,
103         "dEQP-GLES2.functional.shaders.preprocessor.undef",
104         "ined_identifiers.undefined_identifier_8_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000339,
107         "dEQP-GLES2.functional.shaders.preprocessor.unde",
108         "fined_identifiers.undefined_identifier_9_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000340,
111         "dEQP-GLES2.functional.shaders.preprocessor.undef",
112         "ined_identifiers.undefined_identifier_9_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000341,
115         "dEQP-GLES2.functional.shaders.preprocessor.unde",
116         "fined_identifiers.undefined_identifier_10_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000342,
119         "dEQP-GLES2.functional.shaders.preprocessor.undef",
120         "ined_identifiers.undefined_identifier_10_fragment");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000343,
123         "dEQP-GLES2.functional.shaders.preprocessor.unde",
124         "fined_identifiers.undefined_identifier_11_vertex");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000344,
127         "dEQP-GLES2.functional.shaders.preprocessor.undef",
128         "ined_identifiers.undefined_identifier_11_fragment");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000345,
131         "dEQP-GLES2.functional.shaders.preprocessor.unde",
132         "fined_identifiers.undefined_identifier_12_vertex");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000346,
135         "dEQP-GLES2.functional.shaders.preprocessor.undef",
136         "ined_identifiers.undefined_identifier_12_fragment");
137