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 "../ActsDeqpgles310019TestSuite.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(ActsDeqpgles310019TestSuite, TestCase_018831,
27         "dEQP-GLES31.functional.debug.negative_cov",
28         "erage.callbacks.compute.program_not_active");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018832,
31         "dEQP-GLES31.functional.debug.negative_cover",
32         "age.callbacks.compute.invalid_program_query");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018833,
35         "dEQP-GLES31.functional.debug.negative_coverage.ca",
36         "llbacks.compute.invalid_dispatch_compute_indirect");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018834,
39         "dEQP-GLES31.functional.debug.negative_coverage.ca",
40         "llbacks.compute.invalid_maximum_work_group_counts");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018835,
43         "dEQP-GLES31.functional.debug.negative_coverage.c",
44         "allbacks.compute.invalid_maximum_work_group_sizes");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018836,
47         "dEQP-GLES31.functional.debug.negative_coverag",
48         "e.callbacks.compute.invalid_layout_qualifiers");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018837,
51         "dEQP-GLES31.functional.debug.negative_coverage.c",
52         "allbacks.compute.invalid_write_built_in_constants");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018838,
55         "dEQP-GLES31.functional.debug.negative_coverag",
56         "e.callbacks.compute.exceed_uniform_block_limit");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018839,
59         "dEQP-GLES31.functional.debug.negative_coverage.ca",
60         "llbacks.compute.exceed_shader_storage_block_limit");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018840,
63         "dEQP-GLES31.functional.debug.negative_coverage.c",
64         "allbacks.compute.exceed_texture_image_units_limit");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018841,
67         "dEQP-GLES31.functional.debug.negative_coverage",
68         ".callbacks.compute.exceed_image_uniforms_limit");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018842,
71         "dEQP-GLES31.functional.debug.negative_coverage.c",
72         "allbacks.compute.exceed_shared_memory_size_limit");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018843,
75         "dEQP-GLES31.functional.debug.negative_coverage.c",
76         "allbacks.compute.exceed_uniform_components_limit");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018844,
79         "dEQP-GLES31.functional.debug.negative_coverage.ca",
80         "llbacks.compute.exceed_atomic_counter_buffer_limit");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018845,
83         "dEQP-GLES31.functional.debug.negative_coverage",
84         ".callbacks.compute.exceed_atomic_counters_limit");
85