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 "../ActsDeqpgles30033TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032748,
27        "dEQP-GLES3.functional.fbo.in",
28        "validate.default.render_none");
29
30static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032749,
31        "dEQP-GLES3.functional.fbo.in",
32        "validate.default.render_color");
33
34static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032750,
35        "dEQP-GLES3.functional.fbo.in",
36        "validate.default.render_depth");
37
38static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032751,
39        "dEQP-GLES3.functional.fbo.inv",
40        "alidate.default.render_stencil");
41
42static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032752,
43        "dEQP-GLES3.functional.fbo.invali",
44        "date.default.render_depth_stencil");
45
46static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032753,
47        "dEQP-GLES3.functional.fbo.i",
48        "nvalidate.default.render_all");
49
50static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032754,
51        "dEQP-GLES3.functional.fbo.i",
52        "nvalidate.default.bind_color");
53
54static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032755,
55        "dEQP-GLES3.functional.fbo.i",
56        "nvalidate.default.bind_depth");
57
58static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032756,
59        "dEQP-GLES3.functional.fbo.in",
60        "validate.default.bind_stencil");
61
62static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032757,
63        "dEQP-GLES3.functional.fbo.inval",
64        "idate.default.bind_depth_stencil");
65
66static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032758,
67        "dEQP-GLES3.functional.fbo.",
68        "invalidate.default.bind_all");
69
70static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032759,
71        "dEQP-GLES3.functional.fbo.inva",
72        "lidate.default.sub_render_color");
73
74static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032760,
75        "dEQP-GLES3.functional.fbo.inva",
76        "lidate.default.sub_render_depth");
77
78static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032761,
79        "dEQP-GLES3.functional.fbo.inval",
80        "idate.default.sub_render_stencil");
81
82static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032762,
83        "dEQP-GLES3.functional.fbo.invalida",
84        "te.default.sub_render_depth_stencil");
85
86static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032763,
87        "dEQP-GLES3.functional.fbo.inv",
88        "alidate.default.sub_render_all");
89
90static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032764,
91        "dEQP-GLES3.functional.fbo.inv",
92        "alidate.default.sub_bind_color");
93
94static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032765,
95        "dEQP-GLES3.functional.fbo.inv",
96        "alidate.default.sub_bind_depth");
97
98static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032766,
99        "dEQP-GLES3.functional.fbo.inva",
100        "lidate.default.sub_bind_stencil");
101
102static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032767,
103        "dEQP-GLES3.functional.fbo.invalid",
104        "ate.default.sub_bind_depth_stencil");
105
106static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032768,
107        "dEQP-GLES3.functional.fbo.in",
108        "validate.default.sub_bind_all");
109
110static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032769,
111        "dEQP-GLES3.functional.fbo.invalid",
112        "ate.default.draw_framebuffer_color");
113
114static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032770,
115        "dEQP-GLES3.functional.fbo.invali",
116        "date.default.draw_framebuffer_all");
117
118static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032771,
119        "dEQP-GLES3.functional.fbo.invalid",
120        "ate.default.read_framebuffer_color");
121
122static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032772,
123        "dEQP-GLES3.functional.fbo.invali",
124        "date.default.read_framebuffer_all");
125