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_042226,
27         "dEQP-GLES3.functional.multisample.de",
28         "fault_framebuffer.num_samples_polygon");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042227,
31         "dEQP-GLES3.functional.multisample.d",
32         "efault_framebuffer.num_samples_line");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042228,
35         "dEQP-GLES3.functional.multisample.defa",
36         "ult_framebuffer.common_edge_small_quads");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042229,
39         "dEQP-GLES3.functional.multisample.def",
40         "ault_framebuffer.common_edge_big_quad");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042230,
43         "dEQP-GLES3.functional.multisample.defau",
44         "lt_framebuffer.common_edge_viewport_quad");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042231,
47         "dEQP-GLES3.functional.multisa",
48         "mple.default_framebuffer.depth");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042232,
51         "dEQP-GLES3.functional.multisam",
52         "ple.default_framebuffer.stencil");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042233,
55         "dEQP-GLES3.functional.multisample.defa",
56         "ult_framebuffer.sample_coverage_invert");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042234,
59         "dEQP-GLES3.functional.multisample.default_f",
60         "ramebuffer.proportionality_alpha_to_coverage");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042235,
63         "dEQP-GLES3.functional.multisample.default_",
64         "framebuffer.proportionality_sample_coverage");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042236,
67         "dEQP-GLES3.functional.multisample.default_frame",
68         "buffer.proportionality_sample_coverage_inverted");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042237,
71         "dEQP-GLES3.functional.multisample.defaul",
72         "t_framebuffer.constancy_alpha_to_coverage");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042238,
75         "dEQP-GLES3.functional.multisample.defau",
76         "lt_framebuffer.constancy_sample_coverage");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042239,
79         "dEQP-GLES3.functional.multisample.default_fr",
80         "amebuffer.constancy_sample_coverage_inverted");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042240,
83         "dEQP-GLES3.functional.multisample.",
84         "default_framebuffer.constancy_both");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30043TestSuite, TestCase_042241,
87         "dEQP-GLES3.functional.multisample.defa",
88         "ult_framebuffer.constancy_both_inverted");
89