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 "../ActsDeqpgles30043TestSuite.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(ActsDeqpgles30043TestSuite, TestCase_042120,
27         "dEQP-GLES3.functional.neg",
28         "ative_api.fragment.scissor");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042121,
31         "dEQP-GLES3.functional.negat",
32         "ive_api.fragment.depth_func");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042122,
35         "dEQP-GLES3.functional.nega",
36         "tive_api.fragment.viewport");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042123,
39         "dEQP-GLES3.functional.negati",
40         "ve_api.fragment.stencil_func");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042124,
43         "dEQP-GLES3.functional.negative_a",
44         "pi.fragment.stencil_func_separate");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042125,
47         "dEQP-GLES3.functional.negat",
48         "ive_api.fragment.stencil_op");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042126,
51         "dEQP-GLES3.functional.negative_",
52         "api.fragment.stencil_op_separate");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042127,
55         "dEQP-GLES3.functional.negative_a",
56         "pi.fragment.stencil_mask_separate");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042128,
59         "dEQP-GLES3.functional.negativ",
60         "e_api.fragment.blend_equation");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042129,
63         "dEQP-GLES3.functional.negative_ap",
64         "i.fragment.blend_equation_separate");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042130,
67         "dEQP-GLES3.functional.negat",
68         "ive_api.fragment.blend_func");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042131,
71         "dEQP-GLES3.functional.negative_",
72         "api.fragment.blend_func_separate");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042132,
75         "dEQP-GLES3.functional.nega",
76         "tive_api.fragment.cull_face");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042133,
79         "dEQP-GLES3.functional.negat",
80         "ive_api.fragment.front_face");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042134,
83         "dEQP-GLES3.functional.negat",
84         "ive_api.fragment.line_width");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042135,
87         "dEQP-GLES3.functional.negat",
88         "ive_api.fragment.gen_queries");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042136,
91         "dEQP-GLES3.functional.negat",
92         "ive_api.fragment.begin_query");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042137,
95         "dEQP-GLES3.functional.nega",
96         "tive_api.fragment.end_query");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042138,
99         "dEQP-GLES3.functional.negativ",
100         "e_api.fragment.delete_queries");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042139,
103         "dEQP-GLES3.functional.negat",
104         "ive_api.fragment.fence_sync");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042140,
107         "dEQP-GLES3.functional.nega",
108         "tive_api.fragment.wait_sync");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042141,
111         "dEQP-GLES3.functional.negative",
112         "_api.fragment.client_wait_sync");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042142,
115         "dEQP-GLES3.functional.negat",
116         "ive_api.fragment.delete_sync");
117