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 "../ActsDeqpgles310019TestSuite.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(ActsDeqpgles310019TestSuite, TestCase_018819, 27 "dEQP-GLES31.functional.debug.negative_coverage.", 28 "callbacks.tessellation.single_tessellation_stage"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018820, 31 "dEQP-GLES31.functional.debug.negative_coverage", 32 ".callbacks.tessellation.invalid_primitive_mode"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018821, 35 "dEQP-GLES31.functional.debug.negative_coverage", 36 ".callbacks.tessellation.tessellation_not_active"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018822, 39 "dEQP-GLES31.functional.debug.negative_coverag", 40 "e.callbacks.tessellation.invalid_program_state"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018823, 43 "dEQP-GLES31.functional.debug.negative_cov", 44 "erage.callbacks.tessellation.get_programiv"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018824, 47 "dEQP-GLES31.functional.debug.negative_coverage", 48 ".callbacks.tessellation.invalid_program_queries"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles310019TestSuite, TestCase_018825, 51 "dEQP-GLES31.functional.debug.negative_coverage.callback", 52 "s.tessellation.tessellation_control_invalid_vertex_count"); 53