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 "../Deqpgles31BaseFunc.h"
19#include "../ActsDeqpgles310020TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019329,
27        "dEQP-GLES31.functional.debug.negative_",
28        "coverage.log.compute.program_not_active");
29
30static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019330,
31        "dEQP-GLES31.functional.debug.negative_co",
32        "verage.log.compute.invalid_program_query");
33
34static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019331,
35        "dEQP-GLES31.functional.debug.negative_coverage",
36        ".log.compute.invalid_dispatch_compute_indirect");
37
38static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019332,
39        "dEQP-GLES31.functional.debug.negative_coverage",
40        ".log.compute.invalid_maximum_work_group_counts");
41
42static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019333,
43        "dEQP-GLES31.functional.debug.negative_coverag",
44        "e.log.compute.invalid_maximum_work_group_sizes");
45
46static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019334,
47        "dEQP-GLES31.functional.debug.negative_cove",
48        "rage.log.compute.invalid_layout_qualifiers");
49
50static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019335,
51        "dEQP-GLES31.functional.debug.negative_coverag",
52        "e.log.compute.invalid_write_built_in_constants");
53
54static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019336,
55        "dEQP-GLES31.functional.debug.negative_cove",
56        "rage.log.compute.exceed_uniform_block_limit");
57
58static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019337,
59        "dEQP-GLES31.functional.debug.negative_coverage",
60        ".log.compute.exceed_shader_storage_block_limit");
61
62static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019338,
63        "dEQP-GLES31.functional.debug.negative_coverag",
64        "e.log.compute.exceed_texture_image_units_limit");
65
66static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019339,
67        "dEQP-GLES31.functional.debug.negative_cover",
68        "age.log.compute.exceed_image_uniforms_limit");
69
70static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019340,
71        "dEQP-GLES31.functional.debug.negative_coverag",
72        "e.log.compute.exceed_shared_memory_size_limit");
73
74static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019341,
75        "dEQP-GLES31.functional.debug.negative_coverag",
76        "e.log.compute.exceed_uniform_components_limit");
77
78static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019342,
79        "dEQP-GLES31.functional.debug.negative_coverage",
80        ".log.compute.exceed_atomic_counter_buffer_limit");
81
82static SHRINK_HWTEST_F(ActsDeqpgles310020TestSuite, TestCase_019343,
83        "dEQP-GLES31.functional.debug.negative_cover",
84        "age.log.compute.exceed_atomic_counters_limit");
85