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_039981, 27 "dEQP-GLES3.functional.primitive_restart.bas", 28 "ic.triangle_fan.unsigned_byte.draw_elements"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039982, 31 "dEQP-GLES3.functional.primitive_restart.basic.tr", 32 "iangle_fan.unsigned_byte.draw_elements_instanced"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039983, 35 "dEQP-GLES3.functional.primitive_restart.basic.", 36 "triangle_fan.unsigned_byte.draw_range_elements"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040044, 39 "dEQP-GLES3.functional.primitive_restart.duplicate", 40 "_restarts.triangle_fan.unsigned_byte.draw_elements"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040045, 43 "dEQP-GLES3.functional.primitive_restart.duplicate_rest", 44 "arts.triangle_fan.unsigned_byte.draw_elements_instanced"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040046, 47 "dEQP-GLES3.functional.primitive_restart.duplicate_re", 48 "starts.triangle_fan.unsigned_byte.draw_range_elements"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040107, 51 "dEQP-GLES3.functional.primitive_restart.end_re", 52 "start.triangle_fan.unsigned_byte.draw_elements"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040108, 55 "dEQP-GLES3.functional.primitive_restart.end_restart", 56 ".triangle_fan.unsigned_byte.draw_elements_instanced"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040109, 59 "dEQP-GLES3.functional.primitive_restart.end_resta", 60 "rt.triangle_fan.unsigned_byte.draw_range_elements"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040170, 63 "dEQP-GLES3.functional.primitive_restart.end_restart_dup", 64 "licate_restarts.triangle_fan.unsigned_byte.draw_elements"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040171, 67 "dEQP-GLES3.functional.primitive_restart.end_restart_duplicat", 68 "e_restarts.triangle_fan.unsigned_byte.draw_elements_instanced"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040172, 71 "dEQP-GLES3.functional.primitive_restart.end_restart_duplic", 72 "ate_restarts.triangle_fan.unsigned_byte.draw_range_elements"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040233, 75 "dEQP-GLES3.functional.primitive_restart.begin_r", 76 "estart.triangle_fan.unsigned_byte.draw_elements"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040234, 79 "dEQP-GLES3.functional.primitive_restart.begin_restar", 80 "t.triangle_fan.unsigned_byte.draw_elements_instanced"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040235, 83 "dEQP-GLES3.functional.primitive_restart.begin_rest", 84 "art.triangle_fan.unsigned_byte.draw_range_elements"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040296, 87 "dEQP-GLES3.functional.primitive_restart.begin_restart_du", 88 "plicate_restarts.triangle_fan.unsigned_byte.draw_elements"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040297, 91 "dEQP-GLES3.functional.primitive_restart.begin_restart_duplica", 92 "te_restarts.triangle_fan.unsigned_byte.draw_elements_instanced"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040298, 95 "dEQP-GLES3.functional.primitive_restart.begin_restart_dupli", 96 "cate_restarts.triangle_fan.unsigned_byte.draw_range_elements"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040359, 99 "dEQP-GLES3.functional.primitive_restart.begin_restart", 100 "_end_restart.triangle_fan.unsigned_byte.draw_elements"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040360, 103 "dEQP-GLES3.functional.primitive_restart.begin_restart_end_", 104 "restart.triangle_fan.unsigned_byte.draw_elements_instanced"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040361, 107 "dEQP-GLES3.functional.primitive_restart.begin_restart_en", 108 "d_restart.triangle_fan.unsigned_byte.draw_range_elements"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040422, 111 "dEQP-GLES3.functional.primitive_restart.begin_restart_end_rest", 112 "art_duplicate_restarts.triangle_fan.unsigned_byte.draw_elements"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040423, 115 "dEQP-GLES3.functional.primitive_restart.begin_restart_end_restart_d", 116 "uplicate_restarts.triangle_fan.unsigned_byte.draw_elements_instanced"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_040424, 119 "dEQP-GLES3.functional.primitive_restart.begin_restart_end_restart", 120 "_duplicate_restarts.triangle_fan.unsigned_byte.draw_range_elements"); 121