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 "../ActsDeqpgles310008TestSuite.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(ActsDeqpgles310008TestSuite, TestCase_007913,
27         "dEQP-GLES31.functional.draw_indire",
28         "ct.negative.command_bad_alignment_1");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007914,
31         "dEQP-GLES31.functional.draw_indire",
32         "ct.negative.command_bad_alignment_2");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007915,
35         "dEQP-GLES31.functional.draw_indire",
36         "ct.negative.command_bad_alignment_3");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007916,
39         "dEQP-GLES31.functional.draw_indirect.neg",
40         "ative.command_offset_partially_in_buffer");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007917,
43         "dEQP-GLES31.functional.draw_indirect.",
44         "negative.command_offset_not_in_buffer");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007918,
47         "dEQP-GLES31.functional.draw_indirect.negative",
48         ".command_offset_not_in_buffer_unsigned32_wrap");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007919,
51         "dEQP-GLES31.functional.draw_indirect.negativ",
52         "e.command_offset_not_in_buffer_signed32_wrap");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007920,
55         "dEQP-GLES31.functional.draw_indirect",
56         ".negative.client_vertex_attrib_array");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007921,
59         "dEQP-GLES31.functional.draw_indir",
60         "ect.negative.client_command_array");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007922,
63         "dEQP-GLES31.functional.draw_",
64         "indirect.negative.default_vao");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007923,
67         "dEQP-GLES31.functional.draw_indirec",
68         "t.negative.invalid_mode_draw_arrays");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007924,
71         "dEQP-GLES31.functional.draw_indirect",
72         ".negative.invalid_mode_draw_elements");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310008TestSuite, TestCase_007925,
75         "dEQP-GLES31.functional.draw_indirect",
76         ".negative.invalid_type_draw_elements");
77