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 "../ActsDeqpgles310016TestSuite.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(ActsDeqpgles310016TestSuite, TestCase_015939,
27         "dEQP-GLES31.functional.state_query.sampl",
28         "er.set_value.texture_srgb_decode_integer");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015940,
31         "dEQP-GLES31.functional.state_query.samp",
32         "ler.set_value.texture_srgb_decode_float");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015941,
35         "dEQP-GLES31.functional.state_query.sampl",
36         "er.set_value.texture_srgb_decode_pure_int");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015942,
39         "dEQP-GLES31.functional.state_query.sample",
40         "r.set_value.texture_srgb_decode_pure_uint");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015943,
43         "dEQP-GLES31.functional.state_query.sampl",
44         "er.set_value.texture_border_color_integer");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015944,
47         "dEQP-GLES31.functional.state_query.samp",
48         "ler.set_value.texture_border_color_float");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015945,
51         "dEQP-GLES31.functional.state_query.sample",
52         "r.set_value.texture_border_color_pure_int");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015946,
55         "dEQP-GLES31.functional.state_query.sample",
56         "r.set_value.texture_border_color_pure_uint");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015947,
59         "dEQP-GLES31.functional.state_query.sampler.se",
60         "t_value.texture_wrap_s_clamp_to_border_integer");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015948,
63         "dEQP-GLES31.functional.state_query.sampler.s",
64         "et_value.texture_wrap_s_clamp_to_border_float");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015949,
67         "dEQP-GLES31.functional.state_query.sampler.se",
68         "t_value.texture_wrap_t_clamp_to_border_integer");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015950,
71         "dEQP-GLES31.functional.state_query.sampler.s",
72         "et_value.texture_wrap_t_clamp_to_border_float");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015951,
75         "dEQP-GLES31.functional.state_query.sampler.se",
76         "t_value.texture_wrap_r_clamp_to_border_integer");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015952,
79         "dEQP-GLES31.functional.state_query.sampler.s",
80         "et_value.texture_wrap_r_clamp_to_border_float");
81