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
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000489,
27        "dEQP-GLES3.functional.buffer.map",
28        ".write.invalidate.array_write_all");
29
30static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000490,
31        "dEQP-GLES3.functional.buffer.map.w",
32        "rite.invalidate.array_write_partial");
33
34static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000491,
35        "dEQP-GLES3.functional.buffer.map.w",
36        "rite.invalidate.copy_read_write_all");
37
38static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000492,
39        "dEQP-GLES3.functional.buffer.map.wri",
40        "te.invalidate.copy_read_write_partial");
41
42static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000493,
43        "dEQP-GLES3.functional.buffer.map.wr",
44        "ite.invalidate.copy_write_write_all");
45
46static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000494,
47        "dEQP-GLES3.functional.buffer.map.writ",
48        "e.invalidate.copy_write_write_partial");
49
50static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000495,
51        "dEQP-GLES3.functional.buffer.map.wri",
52        "te.invalidate.element_array_write_all");
53
54static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000496,
55        "dEQP-GLES3.functional.buffer.map.write",
56        ".invalidate.element_array_write_partial");
57
58static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000497,
59        "dEQP-GLES3.functional.buffer.map.wr",
60        "ite.invalidate.pixel_pack_write_all");
61
62static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000498,
63        "dEQP-GLES3.functional.buffer.map.writ",
64        "e.invalidate.pixel_pack_write_partial");
65
66static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000499,
67        "dEQP-GLES3.functional.buffer.map.wri",
68        "te.invalidate.pixel_unpack_write_all");
69
70static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000500,
71        "dEQP-GLES3.functional.buffer.map.write",
72        ".invalidate.pixel_unpack_write_partial");
73
74static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000501,
75        "dEQP-GLES3.functional.buffer.map.write.",
76        "invalidate.transform_feedback_write_all");
77
78static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000502,
79        "dEQP-GLES3.functional.buffer.map.write.in",
80        "validate.transform_feedback_write_partial");
81
82static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000503,
83        "dEQP-GLES3.functional.buffer.map.",
84        "write.invalidate.uniform_write_all");
85
86static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000504,
87        "dEQP-GLES3.functional.buffer.map.wr",
88        "ite.invalidate.uniform_write_partial");
89