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 "../ActsDeqpgles30031TestSuite.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(ActsDeqpgles30031TestSuite, TestCase_030842,
27         "dEQP-GLES3.functional.fbo.",
28         "api.valid_tex2d_attachments");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30031TestSuite, TestCase_030843,
31         "dEQP-GLES3.functional.fbo.a",
32         "pi.valid_texcube_attachments");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30031TestSuite, TestCase_030844,
35         "dEQP-GLES3.functional.fbo",
36         ".api.valid_rbo_attachments");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30031TestSuite, TestCase_030845,
39         "dEQP-GLES3.functional.fbo",
40         ".api.attach_to_default_fbo");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30031TestSuite, TestCase_030846,
43         "dEQP-GLES3.functional.fbo.a",
44         "pi.invalid_tex2d_attachments");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30031TestSuite, TestCase_030847,
47         "dEQP-GLES3.functional.fbo.ap",
48         "i.invalid_texcube_attachments");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30031TestSuite, TestCase_030848,
51         "dEQP-GLES3.functional.fbo.",
52         "api.invalid_rbo_attachments");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30031TestSuite, TestCase_030849,
55         "dEQP-GLES3.functional",
56         ".fbo.api.attach_names");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30031TestSuite, TestCase_030850,
59         "dEQP-GLES3.functional.",
60         "fbo.api.texture_levels");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30031TestSuite, TestCase_030851,
63         "dEQP-GLES3.functional.fbo.api",
64         ".attachment_query_default_fbo");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30031TestSuite, TestCase_030852,
67         "dEQP-GLES3.functional.fbo.ap",
68         "i.attachment_query_empty_fbo");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30031TestSuite, TestCase_030853,
71         "dEQP-GLES3.functional.fbo.",
72         "api.attachment_query_tex2d");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30031TestSuite, TestCase_030854,
75         "dEQP-GLES3.functional.fbo.a",
76         "pi.attachment_query_texcube");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30031TestSuite, TestCase_030855,
79         "dEQP-GLES3.functional.fbo",
80         ".api.attachment_query_rbo");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30031TestSuite, TestCase_030856,
83         "dEQP-GLES3.functional.fbo.api.de",
84         "lete_tex_2d_attached_to_bound_fbo");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30031TestSuite, TestCase_030857,
87         "dEQP-GLES3.functional.fbo.api.del",
88         "ete_tex_cube_attached_to_bound_fbo");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30031TestSuite, TestCase_030858,
91         "dEQP-GLES3.functional.fbo.api.d",
92         "elete_rbo_attached_to_bound_fbo");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30031TestSuite, TestCase_030859,
95         "dEQP-GLES3.functional.fbo.api.dele",
96         "te_tex_2d_attached_to_not_bound_fbo");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30031TestSuite, TestCase_030860,
99         "dEQP-GLES3.functional.fbo.api.delet",
100         "e_tex_cube_attached_to_not_bound_fbo");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30031TestSuite, TestCase_030861,
103         "dEQP-GLES3.functional.fbo.api.del",
104         "ete_rbo_attached_to_not_bound_fbo");
105