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 "../ActsDeqpgles20013TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012412,
27        "dEQP-GLES2.functional.fbo.",
28        "api.valid_tex2d_attachments");
29
30static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012413,
31        "dEQP-GLES2.functional.fbo.a",
32        "pi.valid_texcube_attachments");
33
34static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012414,
35        "dEQP-GLES2.functional.fbo",
36        ".api.valid_rbo_attachments");
37
38static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012415,
39        "dEQP-GLES2.functional.fbo",
40        ".api.attach_to_default_fbo");
41
42static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012416,
43        "dEQP-GLES2.functional.fbo.a",
44        "pi.invalid_tex2d_attachments");
45
46static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012417,
47        "dEQP-GLES2.functional.fbo.ap",
48        "i.invalid_texcube_attachments");
49
50static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012418,
51        "dEQP-GLES2.functional.fbo.",
52        "api.invalid_rbo_attachments");
53
54static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012419,
55        "dEQP-GLES2.functional",
56        ".fbo.api.attach_names");
57
58static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012420,
59        "dEQP-GLES2.functional.",
60        "fbo.api.texture_levels");
61
62static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012421,
63        "dEQP-GLES2.functional.fbo.api",
64        ".attachment_query_default_fbo");
65
66static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012422,
67        "dEQP-GLES2.functional.fbo.ap",
68        "i.attachment_query_empty_fbo");
69
70static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012423,
71        "dEQP-GLES2.functional.fbo.",
72        "api.attachment_query_tex2d");
73
74static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012424,
75        "dEQP-GLES2.functional.fbo.a",
76        "pi.attachment_query_texcube");
77
78static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012425,
79        "dEQP-GLES2.functional.fbo",
80        ".api.attachment_query_rbo");
81
82static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012426,
83        "dEQP-GLES2.functional.fbo.api.de",
84        "lete_tex_2d_attached_to_bound_fbo");
85
86static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012427,
87        "dEQP-GLES2.functional.fbo.api.del",
88        "ete_tex_cube_attached_to_bound_fbo");
89
90static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012428,
91        "dEQP-GLES2.functional.fbo.api.d",
92        "elete_rbo_attached_to_bound_fbo");
93
94static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012429,
95        "dEQP-GLES2.functional.fbo.api.dele",
96        "te_tex_2d_attached_to_not_bound_fbo");
97
98static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012430,
99        "dEQP-GLES2.functional.fbo.api.delet",
100        "e_tex_cube_attached_to_not_bound_fbo");
101
102static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012431,
103        "dEQP-GLES2.functional.fbo.api.del",
104        "ete_rbo_attached_to_not_bound_fbo");
105