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, TC002352, "dEQP-EGL.functional.nega", 27 "tive_api.bind_api"); 28 29 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002353, "dEQP-EGL.functional.negat", 30 "ive_api.bind_tex_image"); 31 32 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002354, "dEQP-EGL.functional.negat", 33 "ive_api.copy_buffers"); 34 35 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002355, "dEQP-EGL.functional.negat", 36 "ive_api.choose_config"); 37 38 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002356, "dEQP-EGL.functional.negati", 39 "ve_api.create_context"); 40 41 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002357, "dEQP-EGL.functional.negative_api.", 42 "create_pbuffer_from_client_buffer"); 43 44 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002358, "dEQP-EGL.functional.negativ", 45 "e_api.create_pbuffer_sur""face"); 46 47 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002359, "dEQP-EGL.functional.negati", 48 "ve_api.create_pixmap_sur""face"); 49 50 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002360, "dEQP-EGL.functional.negativ", 51 "e_api.create_window_sur""face"); 52 53 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002361, "dEQP-EGL.functional.negativ", 54 "e_api.destroy_context"); 55 56 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002362, "dEQP-EGL.functional.negati", 57 "ve_api.destroy_sur""face"); 58 59 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002363, "dEQP-EGL.functional.negati", 60 "ve_api.get_config_attrib"); 61 62 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002364, "dEQP-EGL.functional.negativ", 63 "e_api.get_configs"); 64 65 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002365, "dEQP-EGL.functional.negati", 66 "ve_api.initialize"); 67 68 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002366, "dEQP-EGL.functional.negati", 69 "ve_api.make_current"); 70 71 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002367, "dEQP-EGL.functional.negati", 72 "ve_api.get_current_context"); 73 74 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002368, "dEQP-EGL.functional.negativ", 75 "e_api.get_current_sur""face"); 76 77 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002369, "dEQP-EGL.functional.negativ", 78 "e_api.query_context"); 79 80 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002370, "dEQP-EGL.functional.negativ", 81 "e_api.query_string"); 82 83 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002371, "dEQP-EGL.functional.negativ", 84 "e_api.query_sur""face"); 85 86 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002372, "dEQP-EGL.functional.negativ", 87 "e_api.release_tex_image"); 88 89 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002373, "dEQP-EGL.functional.negativ", 90 "e_api.sur""face_attrib"); 91 92 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002374, "dEQP-EGL.functional.negati", 93 "ve_api.swap_buffers"); 94 95 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002375, "dEQP-EGL.functional.negati", 96 "ve_api.swap_interval"); 97 98 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002376, "dEQP-EGL.functional.negati", 99 "ve_api.terminate"); 100 101 static SHRINK_HWTEST_F(ActsEgl0001TS, TC002377, "dEQP-EGL.functional.negativ", 102 "e_api.wait_native"); 103