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 "../Deqpgles3BaseFunc.h"
19 #include "../ActsDeqpgles30027TestSuite.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(ActsDeqpgles30027TestSuite, TestCase_026093,
27         "dEQP-GLES3.functional.texture.specification.t",
28         "exsubimage2d_empty_tex.alpha_unsigned_byte_2d");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026094,
31         "dEQP-GLES3.functional.texture.specification.te",
32         "xsubimage2d_empty_tex.alpha_unsigned_byte_cube");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026095,
35         "dEQP-GLES3.functional.texture.specification.tex",
36         "subimage2d_empty_tex.luminance_unsigned_byte_2d");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026096,
39         "dEQP-GLES3.functional.texture.specification.texs",
40         "ubimage2d_empty_tex.luminance_unsigned_byte_cube");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026097,
43         "dEQP-GLES3.functional.texture.specification.texsub",
44         "image2d_empty_tex.luminance_alpha_unsigned_byte_2d");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026098,
47         "dEQP-GLES3.functional.texture.specification.texsubi",
48         "mage2d_empty_tex.luminance_alpha_unsigned_byte_cube");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026099,
51         "dEQP-GLES3.functional.texture.specification.tex",
52         "subimage2d_empty_tex.rgb_unsigned_short_5_6_5_2d");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026100,
55         "dEQP-GLES3.functional.texture.specification.texs",
56         "ubimage2d_empty_tex.rgb_unsigned_short_5_6_5_cube");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026101,
59         "dEQP-GLES3.functional.texture.specification.",
60         "texsubimage2d_empty_tex.rgb_unsigned_byte_2d");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026102,
63         "dEQP-GLES3.functional.texture.specification.t",
64         "exsubimage2d_empty_tex.rgb_unsigned_byte_cube");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026103,
67         "dEQP-GLES3.functional.texture.specification.texsu",
68         "bimage2d_empty_tex.rgba_unsigned_short_4_4_4_4_2d");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026104,
71         "dEQP-GLES3.functional.texture.specification.texsub",
72         "image2d_empty_tex.rgba_unsigned_short_4_4_4_4_cube");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026105,
75         "dEQP-GLES3.functional.texture.specification.texsu",
76         "bimage2d_empty_tex.rgba_unsigned_short_5_5_5_1_2d");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026106,
79         "dEQP-GLES3.functional.texture.specification.texsub",
80         "image2d_empty_tex.rgba_unsigned_short_5_5_5_1_cube");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026107,
83         "dEQP-GLES3.functional.texture.specification.",
84         "texsubimage2d_empty_tex.rgba_unsigned_byte_2d");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026108,
87         "dEQP-GLES3.functional.texture.specification.t",
88         "exsubimage2d_empty_tex.rgba_unsigned_byte_cube");
89