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 "../ActsDeqpgles20014TestSuite.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(ActsDeqpgles20014TestSuite, TestCase_013628,
27         "dEQP-GLES2.functional.nega",
28         "tive_api.buffer.bind_buffer");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013629,
31         "dEQP-GLES2.functional.negati",
32         "ve_api.buffer.delete_buffers");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013630,
35         "dEQP-GLES2.functional.nega",
36         "tive_api.buffer.gen_buffers");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013631,
39         "dEQP-GLES2.functional.nega",
40         "tive_api.buffer.buffer_data");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013632,
43         "dEQP-GLES2.functional.negati",
44         "ve_api.buffer.buffer_sub_data");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013633,
47         "dEQP-GLES2.functional.negative_api",
48         ".buffer.buffer_sub_data_size_offset");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013634,
51         "dEQP-GLES2.functional.n",
52         "egative_api.buffer.clear");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013635,
55         "dEQP-GLES2.functional.nega",
56         "tive_api.buffer.read_pixels");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013636,
59         "dEQP-GLES2.functional.negative_api",
60         ".buffer.read_pixels_format_mismatch");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013637,
63         "dEQP-GLES2.functional.negativ",
64         "e_api.buffer.bind_framebuffer");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013638,
67         "dEQP-GLES2.functional.negativ",
68         "e_api.buffer.bind_renderbuffer");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013639,
71         "dEQP-GLES2.functional.negative_ap",
72         "i.buffer.check_framebuffer_status");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013640,
75         "dEQP-GLES2.functional.negativ",
76         "e_api.buffer.gen_framebuffers");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013641,
79         "dEQP-GLES2.functional.negativ",
80         "e_api.buffer.gen_renderbuffers");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013642,
83         "dEQP-GLES2.functional.negative",
84         "_api.buffer.delete_framebuffers");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013643,
87         "dEQP-GLES2.functional.negative_",
88         "api.buffer.delete_renderbuffers");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013644,
91         "dEQP-GLES2.functional.negative_ap",
92         "i.buffer.framebuffer_renderbuffer");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013645,
95         "dEQP-GLES2.functional.negative_",
96         "api.buffer.framebuffer_texture2d");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20014TestSuite, TestCase_013646,
99         "dEQP-GLES2.functional.negative_",
100         "api.buffer.renderbuffer_storage");
101