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 "../ActsDeqpgles30001TestSuite.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(ActsDeqpgles30001TestSuite, TestCase_000545,
27         "dEQP-GLES3.functional.buffer.ma",
28         "p.read_write.map_read.array_full");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000546,
31         "dEQP-GLES3.functional.buffer.map.",
32         "read_write.map_read.array_partial");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000547,
35         "dEQP-GLES3.functional.buffer.map.",
36         "read_write.map_read.copy_read_full");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000548,
39         "dEQP-GLES3.functional.buffer.map.re",
40         "ad_write.map_read.copy_read_partial");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000549,
43         "dEQP-GLES3.functional.buffer.map.r",
44         "ead_write.map_read.copy_write_full");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000550,
47         "dEQP-GLES3.functional.buffer.map.re",
48         "ad_write.map_read.copy_write_partial");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000551,
51         "dEQP-GLES3.functional.buffer.map.re",
52         "ad_write.map_read.element_array_full");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000552,
55         "dEQP-GLES3.functional.buffer.map.read",
56         "_write.map_read.element_array_partial");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000553,
59         "dEQP-GLES3.functional.buffer.map.r",
60         "ead_write.map_read.pixel_pack_full");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000554,
63         "dEQP-GLES3.functional.buffer.map.re",
64         "ad_write.map_read.pixel_pack_partial");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000555,
67         "dEQP-GLES3.functional.buffer.map.re",
68         "ad_write.map_read.pixel_unpack_full");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000556,
71         "dEQP-GLES3.functional.buffer.map.rea",
72         "d_write.map_read.pixel_unpack_partial");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000557,
75         "dEQP-GLES3.functional.buffer.map.read_",
76         "write.map_read.transform_feedback_full");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000558,
79         "dEQP-GLES3.functional.buffer.map.read_w",
80         "rite.map_read.transform_feedback_partial");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000559,
83         "dEQP-GLES3.functional.buffer.map",
84         ".read_write.map_read.uniform_full");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000560,
87         "dEQP-GLES3.functional.buffer.map.r",
88         "ead_write.map_read.uniform_partial");
89