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_000369,
27         "dEQP-GLES3.functional.buffer.",
28         "map.write.map_read.array_full");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000370,
31         "dEQP-GLES3.functional.buffer.m",
32         "ap.write.map_read.array_partial");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000371,
35         "dEQP-GLES3.functional.buffer.ma",
36         "p.write.map_read.copy_read_full");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000372,
39         "dEQP-GLES3.functional.buffer.map",
40         ".write.map_read.copy_read_partial");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000373,
43         "dEQP-GLES3.functional.buffer.ma",
44         "p.write.map_read.copy_write_full");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000374,
47         "dEQP-GLES3.functional.buffer.map.",
48         "write.map_read.copy_write_partial");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000375,
51         "dEQP-GLES3.functional.buffer.map.",
52         "write.map_read.element_array_full");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000376,
55         "dEQP-GLES3.functional.buffer.map.w",
56         "rite.map_read.element_array_partial");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000377,
59         "dEQP-GLES3.functional.buffer.ma",
60         "p.write.map_read.pixel_pack_full");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000378,
63         "dEQP-GLES3.functional.buffer.map.",
64         "write.map_read.pixel_pack_partial");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000379,
67         "dEQP-GLES3.functional.buffer.map",
68         ".write.map_read.pixel_unpack_full");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000380,
71         "dEQP-GLES3.functional.buffer.map.w",
72         "rite.map_read.pixel_unpack_partial");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000381,
75         "dEQP-GLES3.functional.buffer.map.wr",
76         "ite.map_read.transform_feedback_full");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000382,
79         "dEQP-GLES3.functional.buffer.map.writ",
80         "e.map_read.transform_feedback_partial");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000383,
83         "dEQP-GLES3.functional.buffer.m",
84         "ap.write.map_read.uniform_full");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000384,
87         "dEQP-GLES3.functional.buffer.ma",
88         "p.write.map_read.uniform_partial");
89