• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 "../Khrgles3BaseFunc.h"
19 #include "../ActsKhrgles30002TestSuite.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(ActsKhrgles30002TestSuite, TestCase_001282,
27         "KHR-GLES3.shaders.preprocessor.invalid",
28         "_expressions.invalid_unary_expr_vertex");
29 
30 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001283,
31         "KHR-GLES3.shaders.preprocessor.invalid_",
32         "expressions.invalid_unary_expr_fragment");
33 
34 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001284,
35         "KHR-GLES3.shaders.preprocessor.invalid",
36         "_expressions.invalid_binary_expr_vertex");
37 
38 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001285,
39         "KHR-GLES3.shaders.preprocessor.invalid_",
40         "expressions.invalid_binary_expr_fragment");
41 
42 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001286,
43         "KHR-GLES3.shaders.preprocessor.inva",
44         "lid_expressions.missing_expr_vertex");
45 
46 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001287,
47         "KHR-GLES3.shaders.preprocessor.inval",
48         "id_expressions.missing_expr_fragment");
49 
50 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001288,
51         "KHR-GLES3.shaders.preprocessor.inval",
52         "id_expressions.invalid_expr_1_vertex");
53 
54 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001289,
55         "KHR-GLES3.shaders.preprocessor.invali",
56         "d_expressions.invalid_expr_1_fragment");
57 
58 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001290,
59         "KHR-GLES3.shaders.preprocessor.inval",
60         "id_expressions.invalid_expr_2_vertex");
61 
62 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001291,
63         "KHR-GLES3.shaders.preprocessor.invali",
64         "d_expressions.invalid_expr_2_fragment");
65 
66 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001292,
67         "KHR-GLES3.shaders.preprocessor.inval",
68         "id_expressions.invalid_expr_3_vertex");
69 
70 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001293,
71         "KHR-GLES3.shaders.preprocessor.invali",
72         "d_expressions.invalid_expr_3_fragment");
73 
74 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001294,
75         "KHR-GLES3.shaders.preprocessor.invalid_",
76         "expressions.unopened_parenthesis_vertex");
77 
78 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001295,
79         "KHR-GLES3.shaders.preprocessor.invalid_e",
80         "xpressions.unopened_parenthesis_fragment");
81 
82 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001296,
83         "KHR-GLES3.shaders.preprocessor.invalid_",
84         "expressions.unclosed_parenthesis_vertex");
85 
86 static SHRINK_HWTEST_F(ActsKhrgles30002TestSuite, TestCase_001297,
87         "KHR-GLES3.shaders.preprocessor.invalid_e",
88         "xpressions.unclosed_parenthesis_fragment");
89