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, TC000006, "dEQP-EGL.functional.create_con", 27 "text.rgb565_no_depth_no_stencil"); 28 29 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000007, "dEQP-EGL.functional.create_cont", 30 "ext.rgb565_no_depth_stencil"); 31 32 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000008, "dEQP-EGL.functional.create_cont", 33 "ext.rgb565_depth_no_stencil"); 34 35 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000009, "dEQP-EGL.functional.create_cont", 36 "ext.rgb565_depth_stencil"); 37 38 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000010, "dEQP-EGL.functional.create_con", 39 "text.rgb888_no_depth_no_stencil"); 40 41 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000011, "dEQP-EGL.functional.create_cont", 42 "ext.rgb888_no_depth_stencil"); 43 44 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000012, "dEQP-EGL.functional.create_cont", 45 "ext.rgb888_depth_no_stencil"); 46 47 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000013, "dEQP-EGL.functional.create_cont", 48 "ext.rgb888_depth_stencil"); 49 50 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000014, "dEQP-EGL.functional.create_cont", 51 "ext.rgba4444_no_depth_no_stencil"); 52 53 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000015, "dEQP-EGL.functional.create_con", 54 "text.rgba4444_no_depth_stencil"); 55 56 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000016, "dEQP-EGL.functional.create_con", 57 "text.rgba4444_depth_no_stencil"); 58 59 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000017, "dEQP-EGL.functional.create_cont", 60 "ext.rgba4444_depth_stencil"); 61 62 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000018, "dEQP-EGL.functional.create_cont", 63 "ext.rgba5551_no_depth_no_stencil"); 64 65 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000019, "dEQP-EGL.functional.create_con", 66 "text.rgba5551_no_depth_stencil"); 67 68 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000020, "dEQP-EGL.functional.create_con", 69 "text.rgba5551_depth_no_stencil"); 70 71 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000021, "dEQP-EGL.functional.create_cont", 72 "ext.rgba5551_depth_stencil"); 73 74 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000022, "dEQP-EGL.functional.create_cont", 75 "ext.rgba8888_no_depth_no_stencil"); 76 77 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000023, "dEQP-EGL.functional.create_con", 78 "text.rgba8888_no_depth_stencil"); 79 80 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000024, "dEQP-EGL.functional.create_con", 81 "text.rgba8888_depth_no_stencil"); 82 83 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000025, "dEQP-EGL.functional.create_cont", 84 "ext.rgba8888_depth_stencil"); 85 86 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000026, "dEQP-EGL.functional.create_cont", 87 "ext.other"); 88 89 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000027, "dEQP-EGL.functional.create_cont", 90 "ext.no_config"); 91