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 "../ActsDeqpgles310013TestSuite.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(ActsDeqpgles310013TestSuite, TestCase_012071,
27         "dEQP-GLES31.functional.atomic_count",
28         "er.get_inc.1_counter_1_call_1_thread");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012072,
31         "dEQP-GLES31.functional.atomic_counte",
32         "r.get_inc.1_counter_1_call_10_threads");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012073,
35         "dEQP-GLES31.functional.atomic_counter",
36         ".get_inc.1_counter_1_call_5000_threads");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012074,
39         "dEQP-GLES31.functional.atomic_counte",
40         "r.get_inc.1_counter_5_calls_1_thread");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012075,
43         "dEQP-GLES31.functional.atomic_counter",
44         ".get_inc.1_counter_5_calls_10_threads");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012076,
47         "dEQP-GLES31.functional.atomic_counter",
48         ".get_inc.1_counter_100_calls_1_thread");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012077,
51         "dEQP-GLES31.functional.atomic_counter.",
52         "get_inc.1_counter_100_calls_10_threads");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012078,
55         "dEQP-GLES31.functional.atomic_counte",
56         "r.get_inc.4_counters_1_call_1_thread");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012079,
59         "dEQP-GLES31.functional.atomic_counter",
60         ".get_inc.4_counters_1_call_10_threads");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012080,
63         "dEQP-GLES31.functional.atomic_counte",
64         "r.get_inc.4_counters_5_calls_1_thread");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012081,
67         "dEQP-GLES31.functional.atomic_counter",
68         ".get_inc.4_counters_5_calls_10_threads");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012082,
71         "dEQP-GLES31.functional.atomic_counter",
72         ".get_inc.4_counters_100_calls_1_thread");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012083,
75         "dEQP-GLES31.functional.atomic_counter.",
76         "get_inc.4_counters_100_calls_10_threads");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012084,
79         "dEQP-GLES31.functional.atomic_counte",
80         "r.get_inc.8_counters_1_call_1_thread");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012085,
83         "dEQP-GLES31.functional.atomic_counter",
84         ".get_inc.8_counters_1_call_10_threads");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012086,
87         "dEQP-GLES31.functional.atomic_counte",
88         "r.get_inc.8_counters_5_calls_1_thread");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012087,
91         "dEQP-GLES31.functional.atomic_counter",
92         ".get_inc.8_counters_5_calls_10_threads");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012088,
95         "dEQP-GLES31.functional.atomic_counter",
96         ".get_inc.8_counters_100_calls_1_thread");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles310013TestSuite, TestCase_012089,
99         "dEQP-GLES31.functional.atomic_counter.",
100         "get_inc.8_counters_100_calls_10_threads");
101