• 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 "../ActsKhrgles30001TestSuite.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(ActsKhrgles30001TestSuite, TestCase_000001,
27         "KHR-GLES3.shaders.declarations.decla",
28         "rations.missing_variable_name_vertex");
29 
30 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000002,
31         "KHR-GLES3.shaders.declarations.declar",
32         "ations.missing_variable_name_fragment");
33 
34 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000003,
35         "KHR-GLES3.shaders.declarations.declar",
36         "ations.comma_preceding_variable_vertex");
37 
38 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000004,
39         "KHR-GLES3.shaders.declarations.declara",
40         "tions.comma_preceding_variable_fragment");
41 
42 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000005,
43         "KHR-GLES3.shaders.declarations.declar",
44         "ations.comma_following_variable_vertex");
45 
46 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000006,
47         "KHR-GLES3.shaders.declarations.declara",
48         "tions.comma_following_variable_fragment");
49 
50 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000007,
51         "KHR-GLES3.shaders.declarations.declarati",
52         "ons.struct_missing_attribute_name_vertex");
53 
54 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000008,
55         "KHR-GLES3.shaders.declarations.declaratio",
56         "ns.struct_missing_attribute_name_fragment");
57 
58 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000009,
59         "KHR-GLES3.shaders.declarations.declaratio",
60         "ns.struct_comma_preceding_attribute_vertex");
61 
62 static SHRINK_HWTEST_F(ActsKhrgles30001TestSuite, TestCase_000010,
63         "KHR-GLES3.shaders.declarations.declaration",
64         "s.struct_comma_preceding_attribute_fragment");
65