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 "../ActsDeqpgles310025TestSuite.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(ActsDeqpgles310025TestSuite, TestCase_024970, 27 "dEQP-GLES31.functional.primitive_bounding_box.triangles.g", 28 "lobal_state.vertex_fragment.default_framebuffer_bbox_equal"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024971, 31 "dEQP-GLES31.functional.primitive_bounding_box.triangles.gl", 32 "obal_state.vertex_fragment.default_framebuffer_bbox_larger"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024972, 35 "dEQP-GLES31.functional.primitive_bounding_box.triangles.gl", 36 "obal_state.vertex_fragment.default_framebuffer_bbox_smaller"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024973, 39 "dEQP-GLES31.functional.primitive_bounding_box.tri", 40 "angles.global_state.vertex_fragment.fbo_bbox_equal"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024974, 43 "dEQP-GLES31.functional.primitive_bounding_box.tria", 44 "ngles.global_state.vertex_fragment.fbo_bbox_larger"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_024975, 47 "dEQP-GLES31.functional.primitive_bounding_box.tria", 48 "ngles.global_state.vertex_fragment.fbo_bbox_smaller"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025010, 51 "dEQP-GLES31.functional.primitive_bounding_box.lines.glo", 52 "bal_state.vertex_fragment.default_framebuffer_bbox_equal"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025011, 55 "dEQP-GLES31.functional.primitive_bounding_box.lines.glob", 56 "al_state.vertex_fragment.default_framebuffer_bbox_larger"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025012, 59 "dEQP-GLES31.functional.primitive_bounding_box.lines.glob", 60 "al_state.vertex_fragment.default_framebuffer_bbox_smaller"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025013, 63 "dEQP-GLES31.functional.primitive_bounding_box.l", 64 "ines.global_state.vertex_fragment.fbo_bbox_equal"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025014, 67 "dEQP-GLES31.functional.primitive_bounding_box.li", 68 "nes.global_state.vertex_fragment.fbo_bbox_larger"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025015, 71 "dEQP-GLES31.functional.primitive_bounding_box.li", 72 "nes.global_state.vertex_fragment.fbo_bbox_smaller"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025050, 75 "dEQP-GLES31.functional.primitive_bounding_box.points.glo", 76 "bal_state.vertex_fragment.default_framebuffer_bbox_equal"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025051, 79 "dEQP-GLES31.functional.primitive_bounding_box.points.glo", 80 "bal_state.vertex_fragment.default_framebuffer_bbox_larger"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025052, 83 "dEQP-GLES31.functional.primitive_bounding_box.points.glob", 84 "al_state.vertex_fragment.default_framebuffer_bbox_smaller"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025053, 87 "dEQP-GLES31.functional.primitive_bounding_box.po", 88 "ints.global_state.vertex_fragment.fbo_bbox_equal"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025054, 91 "dEQP-GLES31.functional.primitive_bounding_box.po", 92 "ints.global_state.vertex_fragment.fbo_bbox_larger"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025055, 95 "dEQP-GLES31.functional.primitive_bounding_box.poi", 96 "nts.global_state.vertex_fragment.fbo_bbox_smaller"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025090, 99 "dEQP-GLES31.functional.primitive_bounding_box.wide_lines.g", 100 "lobal_state.vertex_fragment.default_framebuffer_bbox_equal"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025091, 103 "dEQP-GLES31.functional.primitive_bounding_box.wide_lines.g", 104 "lobal_state.vertex_fragment.default_framebuffer_bbox_larger"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025092, 107 "dEQP-GLES31.functional.primitive_bounding_box.wide_lines.gl", 108 "obal_state.vertex_fragment.default_framebuffer_bbox_smaller"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025093, 111 "dEQP-GLES31.functional.primitive_bounding_box.wide", 112 "_lines.global_state.vertex_fragment.fbo_bbox_equal"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025094, 115 "dEQP-GLES31.functional.primitive_bounding_box.wide", 116 "_lines.global_state.vertex_fragment.fbo_bbox_larger"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025095, 119 "dEQP-GLES31.functional.primitive_bounding_box.wide_", 120 "lines.global_state.vertex_fragment.fbo_bbox_smaller"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025130, 123 "dEQP-GLES31.functional.primitive_bounding_box.wide_points.", 124 "global_state.vertex_fragment.default_framebuffer_bbox_equal"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025131, 127 "dEQP-GLES31.functional.primitive_bounding_box.wide_points.g", 128 "lobal_state.vertex_fragment.default_framebuffer_bbox_larger"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025132, 131 "dEQP-GLES31.functional.primitive_bounding_box.wide_points.g", 132 "lobal_state.vertex_fragment.default_framebuffer_bbox_smaller"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025133, 135 "dEQP-GLES31.functional.primitive_bounding_box.wide", 136 "_points.global_state.vertex_fragment.fbo_bbox_equal"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025134, 139 "dEQP-GLES31.functional.primitive_bounding_box.wide_", 140 "points.global_state.vertex_fragment.fbo_bbox_larger"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles310025TestSuite, TestCase_025135, 143 "dEQP-GLES31.functional.primitive_bounding_box.wide_", 144 "points.global_state.vertex_fragment.fbo_bbox_smaller"); 145