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 "../ActsDeqpgles30040TestSuite.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(ActsDeqpgles30040TestSuite, TestCase_039966,
27         "dEQP-GLES3.functional.primitive_restart.",
28         "basic.lines.unsigned_short.draw_elements");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039967,
31         "dEQP-GLES3.functional.primitive_restart.basic",
32         ".lines.unsigned_short.draw_elements_instanced");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039968,
35         "dEQP-GLES3.functional.primitive_restart.bas",
36         "ic.lines.unsigned_short.draw_range_elements");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040029,
39         "dEQP-GLES3.functional.primitive_restart.duplic",
40         "ate_restarts.lines.unsigned_short.draw_elements");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040030,
43         "dEQP-GLES3.functional.primitive_restart.duplicate_r",
44         "estarts.lines.unsigned_short.draw_elements_instanced");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040031,
47         "dEQP-GLES3.functional.primitive_restart.duplicate",
48         "_restarts.lines.unsigned_short.draw_range_elements");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040092,
51         "dEQP-GLES3.functional.primitive_restart.end",
52         "_restart.lines.unsigned_short.draw_elements");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040093,
55         "dEQP-GLES3.functional.primitive_restart.end_rest",
56         "art.lines.unsigned_short.draw_elements_instanced");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040094,
59         "dEQP-GLES3.functional.primitive_restart.end_re",
60         "start.lines.unsigned_short.draw_range_elements");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040155,
63         "dEQP-GLES3.functional.primitive_restart.end_restart_",
64         "duplicate_restarts.lines.unsigned_short.draw_elements");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040156,
67         "dEQP-GLES3.functional.primitive_restart.end_restart_dupli",
68         "cate_restarts.lines.unsigned_short.draw_elements_instanced");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040157,
71         "dEQP-GLES3.functional.primitive_restart.end_restart_dup",
72         "licate_restarts.lines.unsigned_short.draw_range_elements");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040218,
75         "dEQP-GLES3.functional.primitive_restart.begi",
76         "n_restart.lines.unsigned_short.draw_elements");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040219,
79         "dEQP-GLES3.functional.primitive_restart.begin_res",
80         "tart.lines.unsigned_short.draw_elements_instanced");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040220,
83         "dEQP-GLES3.functional.primitive_restart.begin_r",
84         "estart.lines.unsigned_short.draw_range_elements");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040281,
87         "dEQP-GLES3.functional.primitive_restart.begin_restart",
88         "_duplicate_restarts.lines.unsigned_short.draw_elements");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040282,
91         "dEQP-GLES3.functional.primitive_restart.begin_restart_dupl",
92         "icate_restarts.lines.unsigned_short.draw_elements_instanced");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040283,
95         "dEQP-GLES3.functional.primitive_restart.begin_restart_du",
96         "plicate_restarts.lines.unsigned_short.draw_range_elements");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040344,
99         "dEQP-GLES3.functional.primitive_restart.begin_rest",
100         "art_end_restart.lines.unsigned_short.draw_elements");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040345,
103         "dEQP-GLES3.functional.primitive_restart.begin_restart_e",
104         "nd_restart.lines.unsigned_short.draw_elements_instanced");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040346,
107         "dEQP-GLES3.functional.primitive_restart.begin_restart",
108         "_end_restart.lines.unsigned_short.draw_range_elements");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040407,
111         "dEQP-GLES3.functional.primitive_restart.begin_restart_end_r",
112         "estart_duplicate_restarts.lines.unsigned_short.draw_elements");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040408,
115         "dEQP-GLES3.functional.primitive_restart.begin_restart_end_restar",
116         "t_duplicate_restarts.lines.unsigned_short.draw_elements_instanced");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040409,
119         "dEQP-GLES3.functional.primitive_restart.begin_restart_end_rest",
120         "art_duplicate_restarts.lines.unsigned_short.draw_range_elements");
121