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_000467,
27         "dEQP-GLES2.functional.shaders.pre",
28         "processor.extensions.basic_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000468,
31         "dEQP-GLES2.functional.shaders.prep",
32         "rocessor.extensions.basic_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000469,
35         "dEQP-GLES2.functional.shaders.prepr",
36         "ocessor.extensions.macro_exp_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000470,
39         "dEQP-GLES2.functional.shaders.prepro",
40         "cessor.extensions.macro_exp_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000471,
43         "dEQP-GLES2.functional.shaders.preprocesso",
44         "r.extensions.missing_extension_name_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000472,
47         "dEQP-GLES2.functional.shaders.preprocessor",
48         ".extensions.missing_extension_name_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000473,
51         "dEQP-GLES2.functional.shaders.preprocesso",
52         "r.extensions.invalid_extension_name_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000474,
55         "dEQP-GLES2.functional.shaders.preprocessor",
56         ".extensions.invalid_extension_name_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000475,
59         "dEQP-GLES2.functional.shaders.preproc",
60         "essor.extensions.missing_colon_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000476,
63         "dEQP-GLES2.functional.shaders.preproce",
64         "ssor.extensions.missing_colon_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000477,
67         "dEQP-GLES2.functional.shaders.preproc",
68         "essor.extensions.expected_colon_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000478,
71         "dEQP-GLES2.functional.shaders.preproce",
72         "ssor.extensions.expected_colon_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000479,
75         "dEQP-GLES2.functional.shaders.preproce",
76         "ssor.extensions.missing_behavior_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000480,
79         "dEQP-GLES2.functional.shaders.preproces",
80         "sor.extensions.missing_behavior_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000481,
83         "dEQP-GLES2.functional.shaders.preproces",
84         "sor.extensions.invalid_behavior_1_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000482,
87         "dEQP-GLES2.functional.shaders.preprocess",
88         "or.extensions.invalid_behavior_1_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000483,
91         "dEQP-GLES2.functional.shaders.preproces",
92         "sor.extensions.invalid_behavior_2_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000484,
95         "dEQP-GLES2.functional.shaders.preprocess",
96         "or.extensions.invalid_behavior_2_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000485,
99         "dEQP-GLES2.functional.shaders.preprocess",
100         "or.extensions.invalid_char_in_name_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000486,
103         "dEQP-GLES2.functional.shaders.preprocesso",
104         "r.extensions.invalid_char_in_name_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000487,
107         "dEQP-GLES2.functional.shaders.preprocessor",
108         ".extensions.invalid_char_in_behavior_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000488,
111         "dEQP-GLES2.functional.shaders.preprocessor.",
112         "extensions.invalid_char_in_behavior_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000489,
115         "dEQP-GLES2.functional.shaders.preprocess",
116         "or.extensions.unterminated_comment_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles20001TestSuite, TestCase_000490,
119         "dEQP-GLES2.functional.shaders.preprocesso",
120         "r.extensions.unterminated_comment_fragment");
121