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_039972, 27 "dEQP-GLES3.functional.primitive_restart.basi", 28 "c.triangle_strip.unsigned_byte.draw_elements"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039973, 31 "dEQP-GLES3.functional.primitive_restart.basic.tri", 32 "angle_strip.unsigned_byte.draw_elements_instanced"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039974, 35 "dEQP-GLES3.functional.primitive_restart.basic.t", 36 "riangle_strip.unsigned_byte.draw_range_elements"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040035, 39 "dEQP-GLES3.functional.primitive_restart.duplicate_", 40 "restarts.triangle_strip.unsigned_byte.draw_elements"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040036, 43 "dEQP-GLES3.functional.primitive_restart.duplicate_resta", 44 "rts.triangle_strip.unsigned_byte.draw_elements_instanced"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040037, 47 "dEQP-GLES3.functional.primitive_restart.duplicate_res", 48 "tarts.triangle_strip.unsigned_byte.draw_range_elements"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040098, 51 "dEQP-GLES3.functional.primitive_restart.end_res", 52 "tart.triangle_strip.unsigned_byte.draw_elements"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040099, 55 "dEQP-GLES3.functional.primitive_restart.end_restart.", 56 "triangle_strip.unsigned_byte.draw_elements_instanced"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040100, 59 "dEQP-GLES3.functional.primitive_restart.end_restar", 60 "t.triangle_strip.unsigned_byte.draw_range_elements"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040161, 63 "dEQP-GLES3.functional.primitive_restart.end_restart_dupl", 64 "icate_restarts.triangle_strip.unsigned_byte.draw_elements"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040162, 67 "dEQP-GLES3.functional.primitive_restart.end_restart_duplicate", 68 "_restarts.triangle_strip.unsigned_byte.draw_elements_instanced"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040163, 71 "dEQP-GLES3.functional.primitive_restart.end_restart_duplica", 72 "te_restarts.triangle_strip.unsigned_byte.draw_range_elements"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040224, 75 "dEQP-GLES3.functional.primitive_restart.begin_re", 76 "start.triangle_strip.unsigned_byte.draw_elements"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040225, 79 "dEQP-GLES3.functional.primitive_restart.begin_restart", 80 ".triangle_strip.unsigned_byte.draw_elements_instanced"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040226, 83 "dEQP-GLES3.functional.primitive_restart.begin_resta", 84 "rt.triangle_strip.unsigned_byte.draw_range_elements"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040287, 87 "dEQP-GLES3.functional.primitive_restart.begin_restart_dup", 88 "licate_restarts.triangle_strip.unsigned_byte.draw_elements"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040288, 91 "dEQP-GLES3.functional.primitive_restart.begin_restart_duplicat", 92 "e_restarts.triangle_strip.unsigned_byte.draw_elements_instanced"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040289, 95 "dEQP-GLES3.functional.primitive_restart.begin_restart_duplic", 96 "ate_restarts.triangle_strip.unsigned_byte.draw_range_elements"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040350, 99 "dEQP-GLES3.functional.primitive_restart.begin_restart_", 100 "end_restart.triangle_strip.unsigned_byte.draw_elements"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040351, 103 "dEQP-GLES3.functional.primitive_restart.begin_restart_end_r", 104 "estart.triangle_strip.unsigned_byte.draw_elements_instanced"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040352, 107 "dEQP-GLES3.functional.primitive_restart.begin_restart_end", 108 "_restart.triangle_strip.unsigned_byte.draw_range_elements"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040413, 111 "dEQP-GLES3.functional.primitive_restart.begin_restart_end_resta", 112 "rt_duplicate_restarts.triangle_strip.unsigned_byte.draw_elements"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040414, 115 "dEQP-GLES3.functional.primitive_restart.begin_restart_end_restart_du", 116 "plicate_restarts.triangle_strip.unsigned_byte.draw_elements_instanced"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040415, 119 "dEQP-GLES3.functional.primitive_restart.begin_restart_end_restart_", 120 "duplicate_restarts.triangle_strip.unsigned_byte.draw_range_elements"); 121