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 "../Deqpgles2BaseFunc.h"
19 #include "../ActsDeqpgles20012TestSuite.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(ActsDeqpgles20012TestSuite, TestCase_011009,
27         "dEQP-GLES2.functional.fr",
28         "agment_ops.stencil.clear");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011010,
31         "dEQP-GLES2.functional.fragment_",
32         "ops.stencil.stencil_fail_replace");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011011,
35         "dEQP-GLES2.functional.fragment",
36         "_ops.stencil.depth_fail_replace");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011012,
39         "dEQP-GLES2.functional.fragment",
40         "_ops.stencil.depth_pass_replace");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011013,
43         "dEQP-GLES2.functional.fragment",
44         "_ops.stencil.incr_stencil_fail");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011014,
47         "dEQP-GLES2.functional.fragment",
48         "_ops.stencil.decr_stencil_fail");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011015,
51         "dEQP-GLES2.functional.fragment_o",
52         "ps.stencil.incr_wrap_stencil_fail");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011016,
55         "dEQP-GLES2.functional.fragment_o",
56         "ps.stencil.decr_wrap_stencil_fail");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011017,
59         "dEQP-GLES2.functional.fragment",
60         "_ops.stencil.zero_stencil_fail");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011018,
63         "dEQP-GLES2.functional.fragment_",
64         "ops.stencil.invert_stencil_fail");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011019,
67         "dEQP-GLES2.functional.frag",
68         "ment_ops.stencil.cmp_equal");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011020,
71         "dEQP-GLES2.functional.fragme",
72         "nt_ops.stencil.cmp_not_equal");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011021,
75         "dEQP-GLES2.functional.fragme",
76         "nt_ops.stencil.cmp_less_than");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011022,
79         "dEQP-GLES2.functional.fragment",
80         "_ops.stencil.cmp_less_or_equal");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011023,
83         "dEQP-GLES2.functional.fragmen",
84         "t_ops.stencil.cmp_greater_than");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011024,
87         "dEQP-GLES2.functional.fragment_",
88         "ops.stencil.cmp_greater_or_equal");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20012TestSuite, TestCase_011025,
91         "dEQP-GLES2.functional.fragme",
92         "nt_ops.stencil.cmp_mask_equal");
93