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 "../EglBaseFunc.h" 19 #include "../ActsEgl0001TestSuite.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(ActsEgl0001TS, TC003560, "dEQP-EGL.functional.negative_par", 27 "tial_update.not_postable_sur""face"); 28 29 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003561, "dEQP-EGL.functional.negative_pa", 30 "rtial_update.not_current_sur""face"); 31 32 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003562, "dEQP-EGL.functional.negative_p", 33 "artial_update.buffer_preserved"); 34 35 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003563, "dEQP-EGL.functional.negative_part", 36 "ial_update.set_damage_region_twice"); 37 38 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003564, "dEQP-EGL.functional.negative_partial_up", 39 "date.set_damage_region_before_query_age"); 40 41 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003565, "dEQP-EGL.functional.negative_par", 42 "tial_update.pass_null_0_as_params"); 43 44 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003566, "dEQP-EGL.functional.negative_par", 45 "tial_update.not_current_sur""face2"); 46