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_039993,
27         "dEQP-GLES3.functional.primitive_restart.ba",
28         "sic.triangles.unsigned_short.draw_elements");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039994,
31         "dEQP-GLES3.functional.primitive_restart.basic.t",
32         "riangles.unsigned_short.draw_elements_instanced");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039995,
35         "dEQP-GLES3.functional.primitive_restart.basic",
36         ".triangles.unsigned_short.draw_range_elements");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040056,
39         "dEQP-GLES3.functional.primitive_restart.duplicat",
40         "e_restarts.triangles.unsigned_short.draw_elements");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040057,
43         "dEQP-GLES3.functional.primitive_restart.duplicate_res",
44         "tarts.triangles.unsigned_short.draw_elements_instanced");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040058,
47         "dEQP-GLES3.functional.primitive_restart.duplicate_r",
48         "estarts.triangles.unsigned_short.draw_range_elements");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040119,
51         "dEQP-GLES3.functional.primitive_restart.end_r",
52         "estart.triangles.unsigned_short.draw_elements");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040120,
55         "dEQP-GLES3.functional.primitive_restart.end_restar",
56         "t.triangles.unsigned_short.draw_elements_instanced");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040121,
59         "dEQP-GLES3.functional.primitive_restart.end_rest",
60         "art.triangles.unsigned_short.draw_range_elements");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040182,
63         "dEQP-GLES3.functional.primitive_restart.end_restart_du",
64         "plicate_restarts.triangles.unsigned_short.draw_elements");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040183,
67         "dEQP-GLES3.functional.primitive_restart.end_restart_duplica",
68         "te_restarts.triangles.unsigned_short.draw_elements_instanced");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040184,
71         "dEQP-GLES3.functional.primitive_restart.end_restart_dupli",
72         "cate_restarts.triangles.unsigned_short.draw_range_elements");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040245,
75         "dEQP-GLES3.functional.primitive_restart.begin_",
76         "restart.triangles.unsigned_short.draw_elements");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040246,
79         "dEQP-GLES3.functional.primitive_restart.begin_resta",
80         "rt.triangles.unsigned_short.draw_elements_instanced");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040247,
83         "dEQP-GLES3.functional.primitive_restart.begin_res",
84         "tart.triangles.unsigned_short.draw_range_elements");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040308,
87         "dEQP-GLES3.functional.primitive_restart.begin_restart_d",
88         "uplicate_restarts.triangles.unsigned_short.draw_elements");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040309,
91         "dEQP-GLES3.functional.primitive_restart.begin_restart_duplic",
92         "ate_restarts.triangles.unsigned_short.draw_elements_instanced");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040310,
95         "dEQP-GLES3.functional.primitive_restart.begin_restart_dupl",
96         "icate_restarts.triangles.unsigned_short.draw_range_elements");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040371,
99         "dEQP-GLES3.functional.primitive_restart.begin_restar",
100         "t_end_restart.triangles.unsigned_short.draw_elements");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040372,
103         "dEQP-GLES3.functional.primitive_restart.begin_restart_end",
104         "_restart.triangles.unsigned_short.draw_elements_instanced");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040373,
107         "dEQP-GLES3.functional.primitive_restart.begin_restart_e",
108         "nd_restart.triangles.unsigned_short.draw_range_elements");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040434,
111         "dEQP-GLES3.functional.primitive_restart.begin_restart_end_res",
112         "tart_duplicate_restarts.triangles.unsigned_short.draw_elements");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040435,
115         "dEQP-GLES3.functional.primitive_restart.begin_restart_end_restart_",
116         "duplicate_restarts.triangles.unsigned_short.draw_elements_instanced");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040436,
119         "dEQP-GLES3.functional.primitive_restart.begin_restart_end_restar",
120         "t_duplicate_restarts.triangles.unsigned_short.draw_range_elements");
121