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 "../EglBaseFunc.h"
19 #include "../ActsEgl0001TestSuite.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(ActsEgl0001TS, TC003531, "dEQP-EGL.functional.partial_update",
27     ".odd_clear_even_none");
28 
29 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003532, "dEQP-EGL.functional.partial_update",
30     ".odd_render_even_none");
31 
32 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003533, "dEQP-EGL.functional.partial_up",
33     "date.odd_clear_clear_even_none");
34 
35 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003534, "dEQP-EGL.functional.partial_upd",
36     "ate.odd_render_render_even_none");
37 
38 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003535, "dEQP-EGL.functional.partial_up",
39     "date.odd_clear_render_even_none");
40 
41 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003536, "dEQP-EGL.functional.partial_up",
42     "date.odd_render_clear_even_none");
43 
44 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003537, "dEQP-EGL.functional.partial_upd",
45     "ate.odd_clear_even_clear");
46 
47 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003538, "dEQP-EGL.functional.partial_upd",
48     "ate.odd_render_even_clear");
49 
50 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003539, "dEQP-EGL.functional.partial_up",
51     "date.odd_clear_clear_even_clear");
52 
53 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003540, "dEQP-EGL.functional.partial_upd",
54     "ate.odd_render_render_even_clear");
55 
56 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003541, "dEQP-EGL.functional.partial_upd",
57     "ate.odd_clear_render_even_clear");
58 
59 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003542, "dEQP-EGL.functional.partial_upd",
60     "ate.odd_render_clear_even_clear");
61 
62 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003543, "dEQP-EGL.functional.partial_upda",
63     "te.odd_render_even_render");
64 
65 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003544, "dEQP-EGL.functional.partial_upd",
66     "ate.odd_clear_clear_even_render");
67 
68 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003545, "dEQP-EGL.functional.partial_upda",
69     "te.odd_render_render_even_render");
70 
71 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003546, "dEQP-EGL.functional.partial_upd",
72     "ate.odd_clear_render_even_render");
73 
74 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003547, "dEQP-EGL.functional.partial_upd",
75     "ate.odd_render_clear_even_render");
76 
77 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003548, "dEQP-EGL.functional.partial_updat",
78     "e.odd_clear_clear_even_clear_clear");
79 
80 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003549, "dEQP-EGL.functional.partial_update",
81     ".odd_render_render_even_clear_clear");
82 
83 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003550, "dEQP-EGL.functional.partial_update",
84     ".odd_clear_render_even_clear_clear");
85 
86 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003551, "dEQP-EGL.functional.partial_update",
87     ".odd_render_clear_even_clear_clear");
88 
89 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003552, "dEQP-EGL.functional.partial_update.",
90     "odd_render_render_even_render_render");
91 
92 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003553, "dEQP-EGL.functional.partial_update.",
93     "odd_clear_render_even_render_render");
94 
95 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003554, "dEQP-EGL.functional.partial_update.",
96     "odd_render_clear_even_render_render");
97 
98 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003555, "dEQP-EGL.functional.partial_update",
99     ".odd_clear_render_even_clear_render");
100 
101 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003556, "dEQP-EGL.functional.partial_update",
102     ".odd_render_clear_even_clear_render");
103 
104 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003557, "dEQP-EGL.functional.partial_update",
105     ".odd_render_clear_even_render_clear");
106 
107 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003558, "dEQP-EGL.functional.partial_upd",
108     "ate.render_outside_damage_region");
109 
110 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003559, "dEQP-EGL.functional.partial_updat",
111     "e.render_before_set_damage_region");
112